Vulpes Foxnik@legacy41698673 (talk | contribs) (Fixing some broken code and removing redundancy) |
Vulpes Foxnik@legacy41698673 (talk | contribs) (still not working...) |
||
Line 9: | Line 9: | ||
type = {{{type|}}}| |
type = {{{type|}}}| |
||
art name={{{art name|{{{icon name|{{#if:{{{art|}}}|{{{profession}}} {{#ifeq:{{{ascended|no}}}|no| |Ascended}} {{{art|}}} Armor|{{#ifeq:{{{ascended|no}}}|no| |Ascended}} {{{type|}}}}}}}}}}}| |
art name={{{art name|{{{icon name|{{#if:{{{art|}}}|{{{profession}}} {{#ifeq:{{{ascended|no}}}|no| |Ascended}} {{{art|}}} Armor|{{#ifeq:{{{ascended|no}}}|no| |Ascended}} {{{type|}}}}}}}}}}}| |
||
− | gotIcons={{#ifexpr:{{#ifexist:Image:{{{art name|{{{icon name|{{#if:{{{art|}}}|{{{profession}}} {{#ifeq:{{{ascended|no}}}|no| |Ascended}} {{{art|}}} Armor|{{#ifeq:{{{ascended|no}}}|no| |Ascended}} {{{type|}}}}}}}}}}} F icons.jpg|0|1}}or{{#ifexist:Image:{{{art name|{{{icon name|{{#if:{{{art|}}}|{{{profession}}} {{#ifeq:{{{ascended|no}}}|no| |Ascended}} {{{art|}}} Armor|{{#ifeq:{{{ascended|no}}}|no| |Ascended}} {{{type|}}}}}}}}}}} M icons.jpg|0|1}}|{{ArmorBoxIconNotice}}<br/><includeonly>[[Category:Armor/Icons needed]]</includeonly><small>Please use the art corresponding to the PvP armor.</small>|}}| |
+ | gotIcons={{#ifexpr:{{#ifexist:Image:{{{art name|{{{icon name|{{#if:{{{art|}}}|{{{profession}}} {{#ifeq:{{{ascended|no}}}|no| |Ascended}} {{{art|}}} Armor|{{#ifeq:{{{ascended|no}}}|no| |Ascended}} {{{type|}}}}}}}}}}} F icons.jpg|0|1}} or {{#ifexist:Image:{{{art name|{{{icon name|{{#if:{{{art|}}}|{{{profession}}} {{#ifeq:{{{ascended|no}}}|no| |Ascended}} {{{art|}}} Armor|{{#ifeq:{{{ascended|no}}}|no| |Ascended}} {{{type|}}}}}}}}}}} M icons.jpg|0|1}}|{{ArmorBoxIconNotice}}<br/><includeonly>[[Category:Armor/Icons needed]]</includeonly><small>Please use the art corresponding to the PvP armor.</small>|}}| |
⚫ | }}<includeonly>{{#ifeq:{{{profession|Any}}}|Any||[[Category:{{{profession}}} Armor]]}}{{#ifeq: {{{ascended|no}}}|no|{{#ifeq: {{{art|}}}|Obsidian||{{#ifeq:{{{event|no}}}|no|[[Category:Standard armor]]|[[Category:Special event armor]]}}}}|[[Category:Ascended Armor]]}}{{#if:{{{type|}}}|[[Category:Function specific armor art]]}}[[Category:{{{campaign|Core}}} armor]]{{#if:{{{art|}}}|[[Category:{{{art}}} Armor]]}}{{#if:{{{name| {{{type| {{{art| }}} }}} }}}||[[Category:Information needed/Armor art box]]}}{{#if:{{{type|{{{art|}}}}}}||[[Category:Information needed/Armor art box]]}}{{#if:{{{materials|}}}||[[Category:Information needed/Armor art box]]}}{{#if:{{{bonus|}}}|[[Category:Update needed/Armor art box]]|}}{{#if:{{{AL|}}}|[[Category:Update needed/Armor art box]]|}}{{#if:{{{armor|}}}|[[Category:Update needed/Armor art box]]|}}{{#if:{{{icon name|}}}|[[Category:Update needed/Armor art box]]|}}{{#if:{{{energy regen|}}}|[[Category:Update needed/Armor art box]]|}}{{#if:{{{energy|}}}|[[Category:Update needed/Armor art box]]|}}{{#ifeq:{{{gotIcons|u}}}|{{{gotIcons| }}}|[[Category:Update needed/Armor art box]]|}}</includeonly><noinclude>[[Category:Templates/Armor boxes]]{{:Template:Armor_art_box/Doc}}</noinclude> |
||
− | }}<includeonly> |
||
⚫ | {{#ifeq:{{{profession|Any}}}|Any||[[Category:{{{profession}}} Armor]]}}{{#ifeq: {{{ascended|no}}}|no|{{#ifeq: {{{art|}}}|Obsidian||{{#ifeq:{{{event|no}}}|no|[[Category:Standard armor]]|[[Category:Special event armor]]}}}}|[[Category:Ascended Armor]]}}{{#if:{{{type|}}}|[[Category:Function specific armor art]]}}[[Category:{{{campaign|Core}}} armor]]{{#if:{{{art|}}}|[[Category:{{{art}}} Armor]]}}{{#if:{{{name| {{{type| {{{art| }}} }}} }}}||[[Category:Information needed/Armor art box]]}}{{#if:{{{type|{{{art|}}}}}}||[[Category:Information needed/Armor art box]]}}{{#if:{{{materials|}}}||[[Category:Information needed/Armor art box]]}}{{#if:{{{bonus|}}}|[[Category:Update needed/Armor art box]]|}}{{#if:{{{AL|}}}|[[Category:Update needed/Armor art box]]|}}{{#if:{{{armor|}}}|[[Category:Update needed/Armor art box]]|}}{{#if:{{{icon name|}}}|[[Category:Update needed/Armor art box]]|}}{{#if:{{{energy regen|}}}|[[Category:Update needed/Armor art box]]|}}{{#if:{{{energy|}}}|[[Category:Update needed/Armor art box]]|}}{{#ifeq:{{{gotIcons|u}}}|{{{gotIcons| }}}|[[Category:Update needed/Armor art box]]|}}</includeonly><noinclude>[[Category:Templates/Armor boxes]]{{:Template:Armor_art_box/Doc}}</noinclude> |
Revision as of 04:24, 11 September 2006
Undefined Armor | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Used by | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Undefined | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Crafting | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Undefined |
==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)
Prior versions of this template are archived