Template:Armor: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
mNo edit summary
imported>Tlosk
No edit summary
Line 50: Line 50:
|-
|-
|colspan=2|  
|colspan=2|  
{{#ifeq:{{{Description|}}}|||{{{Description}}}<br><br>}}{{#ifeq:{{{Special Properties|}}}|||[[Special Properties]]: {{{Special Properties}}}<br><br>}}{{#ifeq:{{lc:{{{Armor Type|}}}}}|shield|Shield|Armor}} Level: {{{Armor Level|??}}}{{#ifeq:{{{Buffed Armor Level|}}}|||<b><font color=green> ({{{Buffed Armor Level|}}})</font></b>}}<br>{{#ifeq:{{{Covers|}}}|||Covers {{{Covers|}}}<br>}}<br>{{#ifeq:{{lc:{{{Player Attuned|}}}}}|true|This item can only be wielded by <Player>.<br><br>|}}{{#ifeq:{{{Level Req|}}}|||You must be at least level {{{Level Req}}} to wield this item.<br><br>}}{{#ifeq:{{{Spells|}}}|||Casts the following spells: {{{Spells}}}<br><br>}}{{#ifeq:{{{Slashing|}}}|||{{#ifeq:{{lc:{{{Armor Type|}}}}}|shield|Shield|Armor}} Level: {{{Armor Level|??}}}{{#ifeq:{{{Buffed Armor Level|}}}|||<b><font color=green> ({{{Buffed Armor Level|}}})</font></b>}}<br>}}{{#ifeq:{{{Slashing|}}}|||Slashing: {{{Slashing|??}}}{{#ifeq:{{{Buffed Slashing AL|}}}|||<b><font color=green> ({{{Buffed Slashing AL|}}})</font></b>}}<br>}}{{#ifeq:{{{Piercing|}}}|||Piercing: {{{Piercing|??}}}{{#ifeq:{{{Buffed Piercing AL|}}}|||<b><font color=green> ({{{Buffed Piercing AL|}}})</font></b>}}<br>}}{{#ifeq:{{{Bludgeoning|}}}|||Bludgeoning: {{{Bludgeoning|??}}}{{#ifeq:{{{Buffed Bludgeon AL|}}}|||<b><font color=green> ({{{Buffed Bludgeon AL|}}})</font></b>}}<br>}}{{#ifeq:{{{Fire|}}}|||Fire: {{{Fire|??}}}{{#ifeq:{{{Buffed Fire AL|}}}|||<b><font color=green> ({{{Buffed Fire AL|}}})</font></b>}}<br>}}{{#ifeq:{{{Cold|}}}|||Cold: {{{Cold|??}}}{{#ifeq:{{{Buffed Cold AL|}}}|||<b><font color=green> ({{{Buffed Cold AL|}}})</font></b>}}<br>}}{{#ifeq:{{{Acid|}}}|||Acid: {{{Acid|??}}}{{#ifeq:{{{Buffed Acid AL|}}}|||<b><font color=green> ({{{Buffed Acid AL|}}})</font></b>}}<br>}}{{#ifeq:{{{Electric|}}}|||Electric: {{{Electric|??}}}{{#ifeq:{{{Buffed Electric AL|}}}|||<b><font color=green> ({{{Buffed Electric AL|}}})</font></b>}}<br>}}{{#ifeq:{{{Electric|}}}|||<br>}}{{#ifeq:{{{Activation Reqs|}}}|||Activation Requirements: {{{Activation Reqs}}}<br><br>}}{{#ifeq:{{{Spellcraft|}}}|||Spellcraft: {{{Spellcraft}}}<br>}}{{#ifeq:{{{Mana|}}}|||Mana: {{{Mana}}}<br>}}{{#ifeq:{{{Mana Cost|}}}|||Mana Cost: 1 point per {{{Mana Cost|??}}} seconds.<br>}}
{{#ifeq:{{{Description|}}}|||{{{Description}}}<br><br>}}{{#ifeq:{{{Special Properties|}}}|||[[Special Properties]]: {{{Special Properties}}}<br><br>}}{{#ifeq:{{lc:{{{Armor Type|}}}}}|shield|Shield|Armor}} Level: {{{Armor Level|??}}}{{#ifeq:{{{Buffed Armor Level|}}}|||<b><font color=green> ({{{Buffed Armor Level|}}})</font></b>}}<br>{{#ifeq:{{{Covers|}}}|||Covers {{{Covers|}}}<br>}}<br>{{#ifeq:{{lc:{{{Player Attuned|}}}}}|true|This item can only be wielded by <Player>.<br><br>|}}{{#ifeq:{{{Level Req|}}}|||You must be at least level {{{Level Req}}} to wield this item.<br><br>}}{{#ifeq:{{{Spells|}}}|||Casts the following spells: {{{Spells}}}<br><br>}}{{#ifeq:{{{Slashing|}}}|||Armor Level: {{{Armor Level|??}}}{{#ifeq:{{{Buffed Armor Level|}}}|||<b><font color=green> ({{{Buffed Armor Level|}}})</font></b>}}<br>}}{{#ifeq:{{{Slashing|}}}|||Slashing: {{{Slashing|??}}}{{#ifeq:{{{Buffed Slashing AL|}}}|||<b><font color=green> ({{{Buffed Slashing AL|}}})</font></b>}}<br>}}{{#ifeq:{{{Piercing|}}}|||Piercing: {{{Piercing|??}}}{{#ifeq:{{{Buffed Piercing AL|}}}|||<b><font color=green> ({{{Buffed Piercing AL|}}})</font></b>}}<br>}}{{#ifeq:{{{Bludgeoning|}}}|||Bludgeoning: {{{Bludgeoning|??}}}{{#ifeq:{{{Buffed Bludgeon AL|}}}|||<b><font color=green> ({{{Buffed Bludgeon AL|}}})</font></b>}}<br>}}{{#ifeq:{{{Fire|}}}|||Fire: {{{Fire|??}}}{{#ifeq:{{{Buffed Fire AL|}}}|||<b><font color=green> ({{{Buffed Fire AL|}}})</font></b>}}<br>}}{{#ifeq:{{{Cold|}}}|||Cold: {{{Cold|??}}}{{#ifeq:{{{Buffed Cold AL|}}}|||<b><font color=green> ({{{Buffed Cold AL|}}})</font></b>}}<br>}}{{#ifeq:{{{Acid|}}}|||Acid: {{{Acid|??}}}{{#ifeq:{{{Buffed Acid AL|}}}|||<b><font color=green> ({{{Buffed Acid AL|}}})</font></b>}}<br>}}{{#ifeq:{{{Electric|}}}|||Electric: {{{Electric|??}}}{{#ifeq:{{{Buffed Electric AL|}}}|||<b><font color=green> ({{{Buffed Electric AL|}}})</font></b>}}<br>}}{{#ifeq:{{{Electric|}}}|||<br>}}{{#ifeq:{{{Activation Reqs|}}}|||Activation Requirements: {{{Activation Reqs}}}<br><br>}}{{#ifeq:{{{Spellcraft|}}}|||Spellcraft: {{{Spellcraft}}}<br>}}{{#ifeq:{{{Mana|}}}|||Mana: {{{Mana}}}<br>}}{{#ifeq:{{{Mana Cost|}}}|||Mana Cost: 1 point per {{{Mana Cost|??}}} seconds.<br>}}
|-
|-
|}
|}

Revision as of 10:56, 19 February 2009

Related topics: Wiki Templates, Armor Stat Template

Syntax

{{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 = 
 |             Spells = 
 |    Activation Reqs = 
 |         Spellcraft = 
 |               Mana = 
 |          Mana Cost = 
}}

Usage

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

Armor Type values:

  • Clothing
  • Foot
  • Guise
  • Hand
  • Head
  • Lower Body
  • Mask
  • Robe
  • Shield
  • Upper Body