Template:Armor: Difference between revisions
From Drunkapedia
imported>Tlosk No edit summary |
imported>Arkalor (Rare number) |
||
(13 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>[[ | <includeonly><div style="overflow:auto"> | ||
<div class="item tooltip-content"> | |||
<div id="item_header"> | |||
<div>{{{Name|Name}}}</div> | |||
<div>[[File:{{{Icon Image}}}]]</div> | |||
</div> | |||
<ul> | |||
<li>Value: {{{Value|??}}} | |||
<li class="bottomspace">Burden: {{{Burden|??}}} | |||
{{#if:{{{Covers|}}}|<li class="bottomspace">Covers {{{Covers}}}}} | |||
{{#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]] | ||
| upper body armor = [[Category:Upper Body Armor]] | | upper body armor = [[Category:Upper Body Armor]] | ||
| foot armor = [[Category:Foot Armor]] | | foot armor = [[Category:Foot Armor]] | ||
| hand armor = [[Category:Hand Armor]] | | hand armor = [[Category:Hand Armor]] | ||
| head armor = [[Category:Head Armor]] | | head armor = [[Category:Head Armor]] | ||
| | | shields = [[Category:Shields]] | ||
| | | over-robes = [[Category:Over-robes]] | ||
| | | robes = [[Category:Robes]] | ||
| | | costume items = [[Category:Costume Items]] | ||
| | | tattoos = [[Category:Tattoo]] | ||
| | | olthoi racial armor = [[Category:Olthoi Racial Armor]] | ||
}}}}</includeonly><noinclude>{{Documentation}}[[Category:Wiki Templates]]</noinclude> | |||
}} | |||
{{ | |||
[[Category:Wiki | |||
</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