Stylva14658@legacy41697192 (talk | contribs) m (Edited category linkings to lower case) |
GW-Glynnis@legacy41688454 (talk | contribs) (new version) |
||
Line 1: | Line 1: | ||
+ | {| style="width: 30%; margin: 0 0 0.5em 1em; border-collapse:collapse; float:right; clear:right; clear:left;" border="1" cellpadding="0" rules="all" |
||
− | {{Armor art box main| |
||
+ | |- style="text-align:center;" |
||
− | name = {{{name|{{{type|{{{art}}}}}} Armor}}}| |
||
+ | ! colspan=100 style="background: #F99;" | '''{{{art}}} Armor''' |
||
− | ascended = {{{ascended|no}}}| |
||
+ | |- |
||
− | profession = {{{profession}}}| |
||
+ | | |
||
− | campaign = {{{campaign}}}| |
||
+ | {| style="margin:0 auto; text-align:left; background:none;" cellpadding="2" |
||
− | {{#if:{{{campaign2|}}}|campaign2={{{campaign2}}}|}}| |
||
+ | |- valign=middle |
||
− | {{#if:{{{campaign3|}}}|campaign3={{{campaign3}}}|}}| |
||
+ | |'''[[Profession]]:'''|| [[{{{profession}}}]]||rowspan=2 valign=top| [[Image:{{ #ifeq: {{{profession}}}|Any|NA|{{{profession}}}}}-icon.png]] |
||
− | materials = {{{materials}}}| |
||
+ | |- valign=top |
||
− | used by = {{{used by}}}| |
||
+ | |'''[[Campaign]]:'''|| {{ #if: {{{campaign3|}}}|[[{{{campaign3}}}]], |}} {{ #if: {{{campaign2|}}}|[[{{{campaign2}}}]] and |}} [[{{{campaign}}}]] |
||
− | art = {{{art|}}}| |
||
+ | |} |
||
− | type = {{{type|}}}| |
||
+ | |- style="text-align:center;" |
||
− | icon name={{{art name|{{{icon name|{{#if:{{{art|}}}|{{{profession}}} {{#ifeq:{{{ascended}}}|yes|Ascended}} {{{art}}} Armor|{{#ifeq:{{{ascended}}}|yes|Ascended}} {{{type}}} Armor}}}}}}}}| |
||
+ | ! style="background: #F99;" | Used by |
||
− | }} <includeonly><!-- Auto categorization --> |
||
+ | |- |
||
− | [[Category:{{{campaign}}} armor]]{{#if:{{{campaign2|}}}|[[Category:{{{campaign2}}} armor]]}}{{#if:{{{campaign3|}}}|[[Category:{{{campaign3}}} armor]]}} |
||
+ | | style="text-align:center;" | {{{used by}}} |
||
− | {{#ifeq:{{{profession}}}|Any||[[Category:{{{profession}}} armor]]}} |
||
+ | |- style="text-align:center;" |
||
+ | ! style="background: #F99;" | [[Craft]]ing |
||
+ | |- valign=top |
||
+ | | 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]] |
||
{{#ifeq:{{{event}}}|yes|[[Category:Special event armor]]| {{#ifeq:{{{art}}}|Obsidian|| {{#ifeq:{{{ascended}}}|yes|[[Category:Ascended armor]]|[[Category:Standard armor]]}}}}}} |
{{#ifeq:{{{event}}}|yes|[[Category:Special event armor]]| {{#ifeq:{{{art}}}|Obsidian|| {{#ifeq:{{{ascended}}}|yes|[[Category:Ascended armor]]|[[Category:Standard armor]]}}}}}} |
||
− | {{# |
+ | {{#ifeq:{{{art type}}}|yes|[[Category:{{{art}}} armor]]}}</includeonly><noinclude>{{Armor_art_box/Doc}} |
+ | [[Category:Templates/Armor boxes]]</noinclude> |
||
− | {{#if:{{{type|}}}|[[Category:Function specific armor art]]}} |
||
− | </includeonly><noinclude> |
||
− | {{Armor_art_box/Doc}}</noinclude> |
Revision as of 12:13, 4 February 2007
{{{art}}} Armor | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Used by | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{{used by}}} | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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)