GW-Glynnis@legacy41688454 (talk | contribs) (new version) |
Dr ishmael (talk | contribs) m (removing {event} parameter, festival hats are now costumes and use a different infobox) |
||
(15 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
+ | {| class="infobox" |
||
− | {| style="width: 30%; margin: 0 0 0.5em 1em; border-collapse:collapse; float:right; clear:right; clear:left;" border="1" cellpadding="0" rules="all" |
||
|- style="text-align:center;" |
|- style="text-align:center;" |
||
− | ! colspan=100 style="background: #F99;" | '''{{{art}}} |
+ | ! colspan=100 style="background: #F99;" | '''{{#ifeq:{{{no armor}}}|yes|{{{art}}}|[[{{{art}}} armor]]}}''' |
|- |
|- |
||
| |
| |
||
{| style="margin:0 auto; text-align:left; background:none;" cellpadding="2" |
{| style="margin:0 auto; text-align:left; background:none;" cellpadding="2" |
||
|- valign=middle |
|- valign=middle |
||
− | |'''[[Profession]]:'''|| [[{{{profession}}}]]||rowspan=2 valign=top| [[Image:{{ #ifeq: {{{profession}}}|Any|NA|{{{profession}}}}}-icon.png]] |
+ | |style="text-align:right"|'''[[Profession]]:'''|| [[{{{profession}}}]]||rowspan=2 valign=top| [[Image:{{ #ifeq: {{{profession}}}|Any|NA|{{{profession}}}}}-icon.png]] |
|- valign=top |
|- valign=top |
||
− | |'''[[Campaign]]:'''|| {{ |
+ | |style="text-align:right"|'''[[Campaign]]:'''|| [[{{{campaign}}}]]{{#if:{{{campaign2|}}}|{{#if:{{{campaign3|}}}|, [[{{{campaign2}}}]], and [[{{{campaign3}}}]]| and [[{{{campaign2}}}]]}}|}} |
+ | {{#if: {{{pvpreward|}}} | {{!}}- valign=top |
||
+ | {{!}} style="text-align:right;" {{!}} '''[[PvP reward|PvP reward]]:''' {{2pipe}} [[PvP reward#{{{pvpreward}}} armor|{{{pvpreward}}}]] {{{pvprewardnote|}}}}} |
||
|} |
|} |
||
− | |- style="text-align:center;" |
||
− | ! style="background: #F99;" | Used by |
||
− | |- |
||
− | | style="text-align:center;" | {{{used by}}} |
||
|- style="text-align:center;" |
|- style="text-align:center;" |
||
! style="background: #F99;" | [[Craft]]ing |
! style="background: #F99;" | [[Craft]]ing |
||
Line 19: | Line 17: | ||
| style="text-align:center;"| {{{materials}}} |
| style="text-align:center;"| {{{materials}}} |
||
|} |
|} |
||
− | <includeonly><!-- Auto categorization -->{{ #ifeq: {{{profession}}}|Any||[[Category:{{{profession}}} armor]]}} {{ #if: {{{campaign3|}}}|[[Category:{{{campaign3}}} armor]]|}} {{ #if: {{{campaign2|}}}|[[Category:{{{campaign2}}} armor]]|}} [[Category:{{{campaign}}} armor]] |
+ | <includeonly><!-- Auto categorization -->{{ #ifeq: {{{profession}}}|Any||[[Category:{{{profession}}} armor]]}} {{ #if: {{{campaign3|}}}|[[Category:{{{campaign3}}} armor]]|}} {{ #if: {{{campaign2|}}}|[[Category:{{{campaign2}}} armor]]|}} [[Category:{{{campaign}}} armor]] {{#ifeq:{{{art}}}|Obsidian|| {{#ifeq:{{{elite}}}|yes|[[Category:Elite armor]]|[[Category:Standard armor]]}}}} {{#ifeq:{{{art type}}}|yes|[[Category:{{{art}}} armor]]}} {{#if: {{{pvpreward|}}}|[[Category:{{{pvpreward}}} PvP reward armor]]}} |
⚫ | |||
− | {{#ifeq:{{{event}}}|yes|[[Category:Special event armor]]| {{#ifeq:{{{art}}}|Obsidian|| {{#ifeq:{{{ascended}}}|yes|[[Category:Ascended armor]]|[[Category:Standard armor]]}}}}}} |
||
⚫ | |||
[[Category:Templates/Armor boxes]]</noinclude> |
[[Category:Templates/Armor boxes]]</noinclude> |
Latest revision as of 15:12, 30 March 2011
[[{{{art}}} armor]] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Crafting | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{{materials}}} |
Documentation
This template creates an armor art box. In addition it adds catagorical tags to the article.
Usage
This is to be used on armor art articles.
Inputs:
- art
Expected input: The name of the armor art (examples: "Wanderer's" or "Istani"). Do not include profession or "Elite". The template will add the text " Armor" after the name automatically. - profession
Expected Input: The name of the profession associated with this art (example: "Warrior"). If the art is usable by any profession, set this to "Any". - campaign, campaign2 and campaign3
Expected Input: The name of the campaign where this art is available (example: For armor available in the first three campaigns set campaign to "Nightfall", campaign2 to "Factions" and campaign3 to "Prophecies".) - materials
Expected Input: Needed materials to craft armor using the short material name (example: Cloth). Separate links with a comma and space (i.e. Cloth, Silk). Don't use "and". List materials in alphabetical order. - no armor (optional)
Expected Input: If the item has a name that does not end in "Armor", set this to "yes". This uses the text from the art variable above without adding the word "Armor" to the end (example: set this to "yes" with art set to "Dragon Gauntlets" and the name in the info box will be "Dragon Gauntlets"). - art type (optional)
Expected Input: If the art belongs to a common armor art type, set this to "yes" (example: Istani Armor is a common art type and should be set to "yes"). This automatically adds a category using the art variable above (example: set this to "yes" with art set to "Istani" and the Category:Istani armor is added). - elite (optional)
Expected input: If the art is an elite version, set this to "yes" (example: Elite Luxon Armor should be set to "yes" to automatically add the Category:Elite armor). The default is to add Category:Standard armor, unless the art variable is set to "Obsidian", which will not add any category.
Outputs
- Armor art info table
- Category by campaign (example: Category:Prophecies armor)
- Category by profession (example: Category:Warrior armor)
- Category by presitge (example: Category:Standard armor)
- Category by art types (example: Category:Luxon armor)