GuildWiki

GuildWiki has been locked down: anonymous editing and account creation are disabled. Current registered users are unaffected. Leave any comments on the Community Portal.

READ MORE

GuildWiki
(still not working...)
m (removing {event} parameter, festival hats are now costumes and use a different infobox)
 
(26 intermediate revisions by 8 users not shown)
Line 1: Line 1:
  +
{| class="infobox"
{{armor art box main|
 
  +
|- style="text-align:center;"
name = {{{name|{{{type|{{{art|Undefined}}}}}} Armor}}}|
 
  +
! colspan=100 style="background: #F99;" | '''{{#ifeq:{{{no armor}}}|yes|{{{art}}}|[[{{{art}}} armor]]}}'''
ascended = {{{ascended|no}}}|
 
  +
|-
profession = {{{profession|Any}}}|
 
  +
|
campaign = {{{campaign|Core}}}|
 
  +
{| style="margin:0 auto; text-align:left; background:none;" cellpadding="2"
materials = {{{materials|Undefined}}}|
 
  +
|- valign=middle
used by = {{{used by|Undefined}}}|
 
  +
|style="text-align:right"|'''[[Profession]]:'''|| [[{{{profession}}}]]||rowspan=2 valign=top| [[Image:{{ #ifeq: {{{profession}}}|Any|NA|{{{profession}}}}}-icon.png]]
art = {{{art|}}}|
 
  +
|- valign=top
type = {{{type|}}}|
 
art name={{{art name|{{{icon name|{{#if:{{{art|}}}|{{{profession}}} {{#ifeq:{{{ascended|no}}}|no| |Ascended}} {{{art|}}} Armor|{{#ifeq:{{{ascended|no}}}|no| |Ascended}} {{{type|}}}}}}}}}}}|
+
|style="text-align:right"|'''[[Campaign]]:'''|| [[{{{campaign}}}]]{{#if:{{{campaign2|}}}|{{#if:{{{campaign3|}}}|, [[{{{campaign2}}}]], and [[{{{campaign3}}}]]| and [[{{{campaign2}}}]]}}|}}
  +
{{#if: {{{pvpreward|}}} | {{!}}- valign=top
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>|}}|
 
  +
{{!}} style="text-align:right;" {{!}} '''[[PvP reward|PvP&nbsp;reward]]:''' {{2pipe}} [[PvP reward#{{{pvpreward}}} armor|{{{pvpreward}}}]] {{{pvprewardnote|}}}}}
}}<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>
 
  +
|}
  +
|- 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:{{{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]]}}
  +
</includeonly><noinclude>{{Armor_art_box/Doc}}
  +
[[Category:Templates/Armor boxes]]</noinclude>

Latest revision as of 15:12, 30 March 2011

[[{{{art}}} armor]]
Profession: [[{{{profession}}}]] [[Image:{{{profession}}}-icon.png]]
Campaign: [[{{{campaign}}}]]
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

Prior versions of this template are archived