Template:Armor gallery image
From Guild Wars 2 Wiki
Jump to navigationJump to search
Description[edit]
This template is to be applied to the summary section of all file pages which are used in armor galleries. The licensing template is also typically updated at the same time such that all armor gallery images can be found in Category:Armor gallery images.
== Summary == {{armor gallery image | set = | race = | gender = | weight = | orientation = }} == Licensing == {{ArenaNet image|screenshot|Armor gallery images}}
Parameters[edit]
Required parameters[edit]
The first letter of all parameters should be uppercase.
- set
- Expected value: Name of the armor set page.
- Sets Property:Has armor gallery set.
- race
- Expected value: Asura, Charr, Human, Norn, Sylvari.
- Sets Property:Has armor gallery race.
- gender
- Expected value: Female, Male, Both.
- Sets Property:Has armor gallery gender.
- weight
- Expected value: Light, Medium, Heavy. Mutiple weights allowed, separated by comma.
- Sets Property:Has armor gallery weight class.
- orientation
- Expected value: Front, Back, Left, Right.
- Sets Property:Has armor gallery orientation.
Example[edit]
{{armor gallery image | set = Researcher's armor | race = Human | gender = Female | weight = Light | orientation = Front }} |
|
Notes[edit]
Copy-paste example[edit]
== Summary == {{armor gallery image | set = Lunatic Acolyte armor | race = {{subst:#explode:{{subst:pagename subst}}| |-3}} | gender = {{subst:#explode:{{subst:pagename subst}}| |-2}} | weight = light | orientation = {{subst:#explode:{{subst:#explode:{{subst:pagename subst}}| |-1}}|.jpg|0}} }} == Licensing == {{ArenaNet image|screenshot|Armor gallery images}}
Querying for images (option 1)[edit]
An example query code for a list of images is shown below:
{{#ask: [[File:+]] [[Has armor gallery set::+]] [[Has armor gallery race::Human]] [[Has armor gallery gender::Female]] [[Has armor gallery weight class::Heavy]] [[Has armor gallery orientation::Front||Back]] | link = none | format = ol | limit = 250 | offset = 0 }}
Querying for images (option 2)[edit]
An example query code for a list of images is shown below:
{{Parameter check|Armor gallery image|set:race:gender:weight:orientation|0|500|namespace=File}}
See also[edit]
- {{armor gallery}} — the template these images are used in