Шаблон:Account unlocks list
Материал из Guild Wars 2 wiki
Содержание
Description
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
{{Account unlocks list|<type>|<list of items>|sep = <separator>|query=<query>|columns=<1-6>}}
Parameters
- 1 (unnamed parameter)
- Type. Possible values: "dye(s)", "finisher(s)", "glider(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)", "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.
- 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::{{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]]
- "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]]
- "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
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
Dyes
{{Account unlocks list|dyes|query=[[Has dye set::Exclusive]]|columns=6|intro=;Exclusive dyes}}
- Exclusive dyes
- No results found.
Gliders
{{Account unlocks list|gliders|columns=3}}
- No results found.
Finishers
{{Account unlocks list|finisher|columns=3}}
- No results found.
Miniatures
{{Account unlocks list|minis|query=[[Category:Set 1 miniatures]]|columns=4}}
- No results found.
Mounts
{{Account unlocks list|mounts|query=[[Category:Raptor skins]]}} {{Account unlocks list|mount|query=[[Category:Springer skins]]}}
- No results found.
- No results found.
Novelties
{{Account unlocks list|novelties|query=[[Category:Chairs]]}}
- No results found.
{{Account unlocks list|novelties|query=[[Category:Musical instruments]]}}Шаблон:Account novelties widget
Recipes
{{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
{{Account unlocks list|outfits|columns=3}}
- No results found.
Skins
{{Account unlocks list|skins|query=[[Has skin set::Krytan weapons]]}}
- No results found.
{{Account unlocks list|skins|Seraph Axe (skin),Seraph Sword (skin),Seraph Staff (skin)}}
Items
{{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
- No results found.
- Manual seraph weapons list