Template:Armor: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
No edit summary
imported>Arkalor
(Rare number)
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>[[Category:Armor]]{{#switch:{{lc:{{{Armor Type|}}}}}
<includeonly><div style="overflow:auto">
| clothing = [[Category:Clothing]]
<div class="item tooltip-content">
| feet = [[Category:Foot Armor]]
<div id="item_header">
| foot = [[Category:Foot Armor]]
<div>{{{Name|Name}}}</div>
| foot armor = [[Category:Foot Armor]]
<div>[[File:{{{Icon Image}}}]]</div>
| hands = [[Category:Hand Armor]]
</div>
| hand = [[Category:Hand Armor]]
<ul>
| hand armor = [[Category:Hand Armor]]
<li>Value: {{{Value|??}}}
| head = [[Category:Head Armor]]
<li class="bottomspace">Burden: {{{Burden|??}}}
| head armor = [[Category:Head Armor]]
{{#if:{{{Covers|}}}|<li class="bottomspace">Covers {{{Covers}}}}}
| lower body = [[Category:Lower Body Armor]]
{{#ifeq:{{lc:{{{Armor Type|}}}}}|shield|<li>Base Shield Level: {{{Armor Level|??}}} {{#if:{{{Buffed Armor Level|}}}|<span>{{{Buffed Armor Level}}})</span>}}}}
{{#if:{{{Slashing|}}}|<li>Armor Level: {{{Armor Level|??}}} {{#if:{{{Buffed Armor Level|}}}|<span>({{{Buffed Armor Level}}})</span>}}}}
{{#if:{{{Slashing|}}}|<li>Slashing: {{{Slashing|??}}} {{#if:{{{Buffed Slashing AL|}}}|<span>({{{Buffed Slashing AL}}})</span>}}}}
{{#if:{{{Piercing|}}}|<li>Piercing: {{{Piercing|??}}} {{#if:{{{Buffed Piercing AL|}}}|<span>({{{Buffed Piercing AL}}})</span>}}}}
{{#if:{{{Bludgeoning|}}}|<li>Bludgeoning: {{{Bludgeoning|??}}} {{#if:{{{Buffed Bludgeon AL|}}}|<span>({{{Buffed Bludgeon AL}}})</span>}}}}
{{#if:{{{Fire|}}}|<li>Fire: {{{Fire|??}}} {{#if:{{{Buffed Fire AL|}}}|<span>({{{Buffed Fire AL}}})</span>}}}}
{{#if:{{{Cold|}}}|<li>Cold: {{{Cold|??}}} {{#if:{{{Buffed Cold AL|}}}|<span>({{{Buffed Cold AL}}})</span>}}}}
{{#if:{{{Acid|}}}|<li>Acid: {{{Acid|??}}} {{#if:{{{Buffed Acid AL|}}}|<span>({{{Buffed Acid AL}}})</span>}}}}
{{#if:{{{Electric|}}}|<li>Electric: {{{Electric|??}}} {{#if:{{{Buffed Electric AL|}}}|<span>({{{Buffed Electric AL}}})</span>}}}}
{{#if:{{{Slashing|}}}|<li>Nether: Average ({{{Armor Level|??}}}) {{#if:{{{Buffed Armor Level|}}}|<span>({{{Buffed Armor Level}}})</span>}}}}
{{#if:{{{Spells|}}}|<li class="topbottomspace">Spells: {{{Spells}}}}}
{{#if:{{{Special Properties|}}}|<li class="bottomspace">Properties: {{{Special Properties}}}}}
{{#if:{{{Level Req|}}}|<li>Wield requires level {{{Level Req}}}}}
{{#if:{{{Activation Reqs|}}}|<li>Activation requires {{{Activation Reqs}}}}}
{{#if:{{{Special Req|}}}|<li>{{{Special Req|}}}}}
{{#if:{{{Item Level|}}}|<li>Item Level: {{{Item Level|}}}}}
{{#if:{{{Item XP|}}}|<li class="bottomspace">Item XP: {{{Item XP|}}}}}
{{#if:{{{Recommended Level|}}}|<li>Recommended Level: {{{Recommended Level}}}}}
{{#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:{{{Mana|}}}|<li>Mana: {{{Mana}}}}}
{{#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:{{{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>
<!-- Categories -->
{{#if:{{{nocat|}}} | | {{#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]]}}
{{#switch:{{lc:{{{Armor Type|}}}}}
  | lower body armor = [[Category:Lower Body Armor]]
  | lower body armor = [[Category:Lower Body Armor]]
| mask = [[Category:Masks & Guises]]
| guise = [[Category:Masks & Guises]]
| masks and guises = [[Category:Masks & Guises]]
| masks & guises = [[Category:Masks & Guises]]
| robe = [[Category:Robe]]
| shield = [[Category:Shield]]
| upper body = [[Category:Upper Body Armor]]
  | upper body armor = [[Category:Upper Body Armor]]
  | upper body armor = [[Category:Upper Body Armor]]
}}{{#switch:{{lc:{{{Armor Type 2|}}}}}
| clothing = [[Category:Clothing]]
| feet = [[Category:Foot Armor]]
| foot = [[Category:Foot Armor]]
  | foot armor = [[Category:Foot Armor]]
  | foot armor = [[Category:Foot Armor]]
| hands = [[Category:Hand Armor]]
| hand = [[Category:Hand Armor]]
  | hand armor = [[Category:Hand Armor]]
  | hand armor = [[Category:Hand Armor]]
| head = [[Category:Head Armor]]
  | head armor = [[Category:Head Armor]]
  | head armor = [[Category:Head Armor]]
  | lower body = [[Category:Lower Body Armor]]
  | shields = [[Category:Shields]]
  | lower body armor = [[Category:Lower Body Armor]]
  | over-robes = [[Category:Over-robes]]
| mask = [[Category:Masks & Guises]]
  | robes = [[Category:Robes]]
| guise = [[Category:Masks & Guises]]
  | costume items = [[Category:Costume Items]]
| masks and guises = [[Category:Masks & Guises]]
  | tattoos = [[Category:Tattoo]]
| masks & guises = [[Category:Masks & Guises]]
  | olthoi racial armor = [[Category:Olthoi Racial Armor]]
  | robe = [[Category:Robe]]
}}}}</includeonly><noinclude>{{Documentation}}[[Category:Wiki Templates]]</noinclude>
  | shield = [[Category:Shield]]
  | upper body = [[Category:Upper Body Armor]]
  | upper body armor = [[Category:Upper Body Armor]]
}}
{|border=0 cellpadding=0 cellspacing=3 style=width:100%
|-valign=top
|
{|border=1 cellspacing=0 cellpadding=5 width=300 style=background:#F0F0F0
!colspan=2|{{{Name|Name}}}
|-
|align=center| Value: {{{Value|??}}}<br>{{#ifeq:{{lc:{{{Burden|}}}}}|unknown|Unknown Burden|{{{Burden|??}}} Burden Units}}
|width=40 align=center| [[Image:{{{Icon Image|Icon.png}}}]]
|-
|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:{{{Special Req|}}}|||{{{Special Req|}}}<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:{{lc:{{{ToD|}}} }}|true|You must have purchased the Throne of Destiny expansion in order to use 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>}}{{#ifeq:{{lc:{{{Cannot Be Sold|}}}}}|true|<br>This item cannot be sold.|}}
|-
|}
|width=20|
|
{{#ifeq:{{{Live Image|Live.jpg}}}
| Live.jpg
|
| {{#ifeq:{{{Live Image|}}}
    |
    |
    | [[Image:{{{Live Image|}}}{{!}}frame{{!}}{{{Live Image Caption}}}|right]]
  }}
}}
|}</includeonly><noinclude>
{{Related|Wiki Templates|Armor Template}}
== Syntax ==
<pre style="width:auto; overflow:auto">
{{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 =
|                ToD = False
|            Spells =
|    Activation Reqs =
|        Spellcraft =
|              Mana =
|          Mana Cost =
|    Cannot Be Sold = False
}}
</pre>
 
== Usage ==
This template is one component of the page template [[Armor 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
 
[[Category:Wiki Template]]
</noinclude>

Latest revision as of 12:22, 27 September 2015

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

Related topics: Wiki Templates, Armor 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 = 
 |        Special Req = 
 |             Spells = 
 |    Activation Reqs = 
 |         Spellcraft = 
 |               Mana = 
 |          Mana Cost = 
 |     Cannot Be Sold = False
}}

Usage

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