(replaced br tags with li tags and css for spacing, removed duplicate tooltip code)
(Rare number)
 
(3 intermediate revisions by the same user not shown)
Line 5: Line 5:
<div>[[File:{{{Icon Image}}}]]</div>
<div>[[File:{{{Icon Image}}}]]</div>
</div>
</div>
<ul>
<li>Value: {{{Value|??}}}
<li>Value: {{{Value|??}}}
<li class="bottomspace">Burden: {{{Burden|??}}}
<li class="bottomspace">Burden: {{{Burden|??}}}
Line 27: Line 28:
{{#if:{{{Recommended Level|}}}|<li>Recommended Level: {{{Recommended Level}}}}}
{{#if:{{{Recommended Level|}}}|<li>Recommended Level: {{{Recommended Level}}}}}
{{#if:{{{Cannot Be Sold|}}}|<li class="bottomspace">This item cannot be sold.}}
{{#if:{{{Cannot Be Sold|}}}|<li class="bottomspace">This item cannot be sold.}}
{{#if:{{{Rare Number|}}}|<li>Rare #{{{Rare Number}}}}}
{{#if:{{{Spellcraft|}}}|<li>Spellcraft: {{{Spellcraft}}}}}
{{#if:{{{Spellcraft|}}}|<li>Spellcraft: {{{Spellcraft}}}}}
{{#if:{{{Mana|}}}|<li>Mana: {{{Mana}}}}}
{{#if:{{{Mana|}}}|<li>Mana: {{{Mana}}}}}
{{#if:{{{Mana Cost|}}}|<li>Mana Cost: 1 point per {{{Mana Cost|}}} seconds.}}
{{#if:{{{Mana Cost|}}}|<li>Mana Cost: 1 point per {{{Mana Cost|}}} seconds.}}
{{#if:{{{Description|}}}|<li>{{{Description}}}}}
{{#if:{{{Description Two|}}}|<li class="topbottomspace">{{{Description Two}}}}}
{{#if:{{{Description Two|}}}|<li class="topbottomspace">{{{Description Two}}}}}
{{#if:{{{Inscription|}}}|<li class="inscription">{{{Inscription}}}}}</div>
{{#if:{{{Inscription|}}}|<li class="inscription">{{{Inscription}}}}}</ul></div>
<div style="float:right">{{#ifeq:{{{Live Image|}}}|||{{#ifeq:{{{Live Image|}}}|Live.jpg||[[File:{{{Live Image|}}}{{!}}thumb{{!}}{{{Live Image Caption}}}]]}}}}</div></div>
<div style="float:right">{{#ifeq:{{{Live Image|}}}|||{{#ifeq:{{{Live Image|}}}|Live.jpg||[[File:{{{Live Image|}}}{{!}}thumb{{!}}{{{Live Image Caption}}}]]}}}}</div></div>
<!-- Categories -->
<!-- Categories -->
{{#ifeq:{{lc:{{{Retired Armor|}}}}} | yes | [[Category:Retired Armor]] |  
{{#if:{{{nocat|}}} | | {{#ifeq:{{{Live Image|}}} | Live.jpg | [[Category:Images Needed (Armor)]] | {{#ifeq:{{{Live Image|}}} | | [[Category:Images Needed (Armor)]] |}}}}
{{#ifeq:{{{Live Image|}}} | Live.jpg | [[Category:Images Needed (Armor)]] | {{#ifeq:{{{Live Image|}}} | | [[Category:Images Needed (Armor)]] |}}}}
[[Category:Armor Index]]{{#if:{{{Level Req|}}}|[[Category:Armor: Level {{{Level Req}}}]]|[[Category:Armor: No Level Requirement]]}}
[[Category:Armor Index]]{{#if:{{{Level Req|}}}|[[Category:Armor: Level {{{Level Req}}}]]|[[Category:Armor: No Level Requirement]]}}
{{#switch:{{lc:{{{Armor Type|}}}}}
{{#switch:{{lc:{{{Armor Type|}}}}}

Latest revision as of 18:22, 27 September 2015

Template Documentation: |_}}/Doc?action=edit Edit Documentation

Related topics: Wiki Templates, Armor Template

Syntax Edit

{{Armor
 |         Armor Type = 
 |       Armor Type 2 = 
 |               Name = 
 |              Value = 
 |             Burden = 
 |         Icon Image =  Icon.png
 |         Live Image =  Live.jpg
 | Live Image Caption = 
 |        Description = 
 | Special Properties = 
 |             Covers = Head, Chest, Abdomen, Upper Arms, Lower Arms, Hands, Upper Legs, Lower Legs, Feet
 |        Armor Level = 
 |           Slashing = 
 |           Piercing = 
 |        Bludgeoning = 
 |               Fire = 
 |               Cold = 
 |               Acid = 
 |           Electric = 
 |
 | Buffed Armor Level = 
 | Buffed Slashing AL = 
 | Buffed Piercing AL = 
 | Buffed Bludgeon AL = 
 |     Buffed Fire AL = 
 |     Buffed Cold AL = 
 |     Buffed Acid AL = 
 | Buffed Electric AL = 
 |
 |     Player Attuned = 
 |          Level Req = 
 |        Special Req = 
 |             Spells = 
 |    Activation Reqs = 
 |         Spellcraft = 
 |               Mana = 
 |          Mana Cost = 
 |     Cannot Be Sold = False
}}

Usage Edit

This template is one component of the page template Armor Template, full details and an example can be found there.

Armor Type values:

  • Costume
  • Foot
  • Hand
  • Head
  • Lower Body
  • Over-robe
  • Robe
  • Shield
  • Tattoo
  • Upper Body