Template:Account unlocks table
From GW2 Wiki English Mirror
Jump to navigationJump to search
Description
This template is used to create and check for the following types of account unlocks. Format using {{Account unlocks table header}}, {{Account unlocks table result format}} and {{Account unlocks table footer}}.
For a simple list see {{Account unlocks list}}.
Usage
{{Account unlocks table|<type>|<list of items>}}
{{Account unlocks table|<type>|query=<query>}}
Parameters
- 1 (unnamed parameter)
- Required. Type. Possible values: "dye(s)", "finisher(s)", "glider(s)", "jade bot(s)", "miniature(s)" ("mini(s)"), "mount(s)", "novelty" ("novelties"), "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. Semantic query condition. Either query or unnamed parameter 2 is used.
- sort
- Optional. How to sort query. Default is alphabetic.
- class
- Optional. Table class.
- columns
- Optional. Amount of columns, suggested range: 1-6 columns.
- title
- Optional. Column 1 title. Default is type.
- intro
- Optional. Intro text, suggested to use either with "*", ";" or headings tags.
- hide tp
- Optional. If set, hides tp price and total tp price.
- hide total
- Optional. If set, hides total tp price.
- vendor
- Optional. If set to a vendor, then an additional vendor column will be displayed using the specified vendor as reference. Multiple vendors allowed, separated by ";".
- page
- Optional. For debugging use, defaults to "PAGENAME".
- 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
- default queries for specific unnamed parameter 1:
- "contain item(s)", "contains recipe(s)", "contains skin(s)":
query = [[-Contains item::{{{page|{{PAGENAME}}}}}]]. - "vendor item(s)", "vendor recipe(s)", "vendor skin(s)":
query = [[-Sells item.Has vendor::{{{page|{{PAGENAME}}}}}]]. - "achievement item(s)", "achievement skin(s)" "achievement novelty" ("achievement novelties"):
[[Is part of collection::{{{page|{{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]] - "outfit(s)":
[[Category:Outfits]] - "jade bot(s)":
[[Category:Jade Bot skins]] - "skiff(s)":
[[Category:Skiff skins]] - "chair(s)":
[[Has novelty type::Chair]] - "musical instrument(s)":
[[Has novelty type::Musical instrument]] - "held item(s)":
[[Has novelty type::Held item]] - "toy(s)":
[[Has novelty type::Toy]] - "tonic(s)":
[[Has novelty type::Tonic]]
- "contain item(s)", "contains recipe(s)", "contains skin(s)":
Tips
- 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
itemand 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 numberto 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
itemand 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
skinand 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
Only the first two example are displayed here by default, because the page exceeded the template include size.
Dyes
{{Account unlocks table|dyes|query=[[Has dye set::Rare]]|intro=;Rare dyes}}
- Rare dyes
Gliders
{{Account unlocks table|gliders|columns=3|hide tp=yes}}
Jade Bots
{{Account unlocks table|jade bots|columns=3|hide tp=yes}}
Miniatures
{{Account unlocks table|minis|query=[[Category:Set 1 miniatures]]|columns=4}}
Mounts
{{Account unlocks table|mounts|query=[[Category:Raptor skins]]|hide tp=y}}
Novelties
{{Account unlocks table|novelties|query=[[Category:Chairs]]|hide tp=y}}
Recipes
{{Account unlocks table|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
{{Account unlocks table|outfits|columns=3|hide tp=yes}}
Skiffs
{{Account unlocks table|skiffs|columns=3|hide tp=yes}}
Skins
{{Account unlocks table|skins|query=[[Has skin set::Krytan weapons]]|intro=* Automated Krytan weapon skins table|title=Krytan weapon skins |hide tp=y}}
{{Account unlocks table|skins|Seraph Axe (skin),Seraph Sword (skin),Seraph Staff (skin)|intro=* Manual Searph weapon skins table|title=Krytan weapon skins| hide tp=y}}
Items
{{Account unlocks table|items|query=[[Category:Awakened weapons]]}}
























































































































































