Template:Collection table

From Guild Wars 2 Wiki
Jump to navigationJump to search

Description[edit]

Achievement collection table that matches in-game order, states whether an item or a skin is required, lists the related item as well as the trading post and vendor price. This template uses the property Has achievement collection (set in {{achievement table row}}) to get the achievement collection in the correct order and the property Is part of collection (set in {{item infobox}}) to get the related item.

Usage[edit]

{{Collection table}}

Parameters[edit]

1 (unnamed parameter)
Required. Achievement collection page name, defaults to PAGENAME. Requires the parameter page to be set in {{achievement table row}}.
id
Optional. Select the achievement by its id instead of using unnamed parameter 1.
api
Optional. Achievement api check box, enabled on default. Set to either "true" or "false" to enable/disable the box.
rarity
Optional. Collectible rarity, hidden on default. Set to either "true" or "false" to show/hide the column.
related item
Optional. Related item column, shown on default if at least one collection item has a related item. Set to either "true" or "false" to show/hide the column.
related item query
Optional. Additional query to select the related items.
trading post
Optional. Trading post columns (buy and sell price), shown on default if at least one collection item has a trading post price. Set to either "true" or "false" to show/hide the columns.
vendor price
Optional. Vendor price column, hidden on default. Set to either "true" or "false" to show/hide the column.
vendor
Optional. Reference vendor if needed.
map
Optional. Map screenshot column, disabled on default. Set to either "true" or "false" to enable/disable the column. The file requires to have the following name scheme: "<item name> map.jpg", alternatively the map image can be set manually with the parameter "<item name> map"
<item name> map
Optional. Overrides the default map image. Requires to set "map = true". Can be set to "none" to disable the image.
map size
Optional. Map image size, defaults to 150px.
location
Optional. Location screenshot column, disabled on default. Set to either "true" or "false" to enable/disable the column. The file requires to have the following name scheme: "<item name> location.jpg", alternatively the location image can be set manually with the parameter <item name> location.
<item name> location
Optional. Overrides the default location image. Requires to set "location = true". Can be set to "none" to disable the image.
location size
Optional. Location image size, defaults to 150px.
notes
Optional. Notes column, shown by default if at least one item has a hint/description or if any <item name> notes is set. Set to "true" to always show column, "custom" to only show any provided <item name> notes, "hint"/"description" to only show that value, "all" to show all three, or "false" to force the column to be hidden.
<item name> notes
Optional. Adds additional notes to the automatically obtained hint from the related item. Can be set to "none" to disable the hint/description.
collectible width
Optional. Minimum width of the column "Collectible".
notes width
Optional. Width of the column "Notes".
indent
Optional. List of positive integers describing the indent levels, e.g. 0 0 0 1 2 2 2 2 ....
large
Optional. If set the collectible icon size is doubled. Ideally, this parameter should be only used if the rows in the notes column already use several lines in order to keep the table compact.
custombits
Optional. A comma separated list of custom bits if the API order does not match the collection output.

Examples[edit]

Citadel of Flame Collector
{{Collection table|Citadel of Flame Collector|vendor price=true}}

Collectible Type Subtype Related item Vendor price
Total 10,290 Tale of Dungeon Delving

Master of the Ancestral Forge
{{Collection table|Master of the Ancestral Forge}}

Collectible Type Subtype Related item Trading post (buy) Trading post (sell) Notes
Total

Relics—Secrets of the Obscure Set 2

Use notes=custom to add notes without displaying the items' hints/descriptions.

{{collection table|Relics—Secrets of the Obscure Set 2|vendor price=true|notes=custom
|Relic of the Midnight King notes=Reward for [[Secrets of the Obscure: Through the Veil Mastery]].
|Relic of Febe notes=Reward for [[Behind Demon Lines]] (Tier 3).
|Relic of Karakosa notes=etc...
}}

Collectible Type Subtype Vendor price Notes
Total 1,500 Calcified Gasp + 1,200 Research Note

Beetle Juice
{{Collection table|Beetle Juice|map=true}}

Collectible Type Subtype Map Notes

Jade vault
{{Collection table|The Jade Vault}}

Collectible Type Subtype Trading post (buy) Trading post (sell) Notes
Total

The Glitched Adventure (hide notes)
{{Collection table|The Glitched Adventure|notes=false}}

Collectible Type Subtype Related item Trading post (buy) Trading post (sell)
Total

Relics—Visions of Eternity Set 1 (show all notes)
{{Collection table|Relics—Visions of Eternity Set 1|notes=all
|Relic of the Mist Stranger notes=Example additional note.}}

Collectible Type Subtype Notes

Relics—Visions of Eternity Set 2 (only show description)
{{Collection table|Relics—Visions of Eternity Set 2|notes=description}}

Collectible Type Subtype Notes

See also[edit]