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 on default if at least one item has a hint. Set to either "true" or "false" to show/hide the column.
<item name> notes
Optional. Adds additional notes to the automatically obtained hint from the related item. Can be set to "none" to disable the 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.

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

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

Collectible Type Subtype Map Notes

See also[edit]