Template:Account unlocks list
From Guild Wars 2 Wiki
Jump to navigationJump to search
Description[edit]
This template is used to create and check for the following types of account unlocks. Format using {{Account unlocks list result format}}.
- See also
- {{Account unlocks table}} — table with trading post prices
- {{Account unlocks header}} — API box only for container pages, used together with {{contains}}.
Usage[edit]
{{Account unlocks list|<type>|<list of items>|sep = <separator>|query=<query>|columns=<1-6>}}
Parameters[edit]
- 1 (unnamed parameter)
- Type. Possible values: "dye(s)", "finisher(s)", "glider(s)", "jade bot(s)", "miniature(s)" ("mini(s)"), "mount(s)", "novelty" ("novelties", also "chair(s)", "musical instrument(s)", "held item(s)", "toy(s)", "tonic(s)"), "recipe(s)", "outfit(s)", "skiff(s)", "skin(s)", "item(s)".
- 2 (unnamed parameter)
- Optional. List of items. Either unnamed parameter 2 or query is used.
- sep
- Optional, separator for the unnamed parameter 2 list, on default "," is used.
- query
- Optional. Query. Either query or unnamed parameter 2 is used.
- sort
- Optional. How to sort query. Default is alphabetic.
- limit
- Optional. Query limit, default is 250.
- columns
- Optional. Amount of columns, suggested range: 1-6 columns.
- intro
- Optional. Intro text, suggested to use either with "*", ";" or headings tags.
- outro
- Optional. Outro text, supported only by query. Separated by "*".
- indent
- Optional. Indent level, positive integer.
- contains
- Optional. Setting this parameter will use Template:Contains instead of Template:Item icon.
- chance
- Optional. Setting this parameter feeds the chance parameter of Template:Contains. Defaults to "Choice" on the assumption this template will only be used on selection-type containers.
- debug
- Optional. Can be set to "true" to show the ids as visible suffix. Use this to make sure that your query properly return ids.
Query[edit]
- default queries for specific unnamed parameter 1:
- "contains item(s)", "contains recipe(s)", "contains skin(s)":
query = [[-Contains item::{{PAGENAME}}]]
. - "vendor item(s)", "vendor recipe(s)", "vendor skin(s)":
query = [[-Sells item.Has vendor::{{PAGENAME}}]]
. - "achievement item(s)", "achievement skin(s)", "achievement novelty" ("achievement novelties"):
[[Is part of collection::{{PAGENAME}}]]
— see also {{Collection table}} or {{Collection table row}} for a complete check (here it checks only for skins/novelties due to the missing in-game order). - "finisher(s)":
[[Category:Finishers]]
- "glider(s)":
[[Category:Glider skins]]
- "jade bot(s)":
[[Category:Jade Bot skins]]
- "outfit(s)":
[[Category:Outfits]]
- "chair(s)":
[[Has novelty type::Chair]]
- "musical instrument(s)":
[[Has novelty type::Musical instrument]]
- "held item(s)":
[[Has novelty type::Held item]]
- "skiff(s)":
[[Category:Skiff skins]]
- "toy(s)":
[[Has novelty type::Toy]]
- "tonic(s)":
[[Has novelty type::Tonic]]
- "contains item(s)", "contains recipe(s)", "contains skin(s)":
Tips[edit]
- Category: in order to use a specific category set
query = [[Category:<category name>]]
. - Contained in a container:
query = [[-Contains item::<container name>]]
. - Sold by vendor:
query = [[-Sells item.Has vendor::<vendor name>]]
. - Note that all items should have the specified type, namely unnamed parameter 1.
- Sets:
- Armor sets: set the unnamed parameter 1 to
item
and usequery = [[Has armor set::<armor set>]]
orquery = [[Category:<armor set>]]
.- Armor class:
[[Has armor weight class::<Light/Medium/Heavy>]]
- Sorting: set
sort=Has armor weight class number,Has armor type number
to sort by class: light < medium < heavy and then by type: head < shoulder < chest < gloves < leggings < boots.
- Armor class:
- Weapon sets: set the unnamed parameter 1 to
item
and usequery = [[Has weapon set::<weapon set>]]
orquery = [[Category:<weapon set>]]
.- Sorting:
sort=Has weapon type number
- Sorting:
- Skin sets: set the unnamed parameter 1 to
skin
and usequery = [[Has skin set::<skin set>]]
. - In order to exclude subobjects add
[[Has subobject::+]]
or[[Has skin::+]]
to the query where the "+" indicates the search for havint this property set.
- Armor sets: set the unnamed parameter 1 to
- Collections:
query = [[Is part of collection::<collection name>]]
Examples[edit]
Dyes[edit]
{{Account unlocks list|dyes|query=[[Has dye set::Exclusive]]|columns=6|intro=;Exclusive dyes}}
- Exclusive dyes
Gliders[edit]
{{Account unlocks list|gliders|columns=3}}
(*) The gliders in the marked rows either don't appear in API:2/account/gliders and API:2/gliders and/or don't have an ID set. Therefore it cannot be checked if they have been unlocked.
Finishers[edit]
{{Account unlocks list|finisher|columns=3}}
Jade Bots[edit]
{{Account unlocks list|jade bot|columns=3}}
Miniatures[edit]
{{Account unlocks list|minis|query=[[Category:Set 1 miniatures]]|columns=4}}
Mounts[edit]
{{Account unlocks list|mounts|query=[[Category:Raptor skins]]}} {{Account unlocks list|mount|query=[[Category:Springer skins]]}}
Novelties[edit]
{{Account unlocks list|novelties|query=[[Category:Chairs]]}}
(*) The novelties in the marked rows either don't appear in API:2/account/novelties and API:2/novelties and/or don't have an ID set. Therefore it cannot be checked if they have been unlocked.
{{Account unlocks list|novelties|query=[[Category:Musical instruments]]}}
Recipes[edit]
{{Account unlocks list|recipes|Recipe: Bowl of Garlic Kale Sautee; Recipe: Bowl of Refugee's Beet Soup; Recipe: Bowl of Sweet and Spicy Butternut Squash Soup; Recipe: Bowl of Zesty Turnip Soup; Recipe: Carrot Soufflé; Recipe: Marjory's Experimental Chili; Recipe: Mushroom Loaf; Recipe: Plate of Spicy Herbed Chicken; Recipe: Plate of Frostgorge Clams; Recipe: Potent Superior Sharpening Stones; Recipe: Potent Master Maintenance Oil; Recipe: Potent Master Tuning Crystals; Recipe: Spicy Marinated Mushroom; Recipe: Toxic Maintenance Oil; Recipe: Toxic Focusing Crystal; Recipe: Toxic Sharpening Stone|sep=;|columns=3}}
Outfits[edit]
{{Account unlocks list|outfits|columns=3}}
Skiffs[edit]
{{Account unlocks list|skiff|columns=3}}
(*) The skiffs in the marked rows either don't appear in API:2/account/skiffs and API:2/skiffs and/or don't have an ID set. Therefore it cannot be checked if they have been unlocked.
Skins[edit]
{{Account unlocks list|skins|query=[[Has skin set::Krytan weapons]]}}
{{Account unlocks list|skins|Seraph Axe (skin),Seraph Sword (skin),Seraph Staff (skin)}}
Items[edit]
{{Account unlocks list|items|query=[[Category:Seraph weapons]] [[Is historical::N]]|intro=* Weapons ** Automated seraph weapon list|indent = 2}} {{Account unlocks list|items|Seraph Axe,Seraph Sword,Seraph Staff|intro=* Manual seraph weapons list|indent = 1}}
- Weapons
- Automated seraph weapon list
- Automated seraph weapon list
- Manual seraph weapons list