Template:Armor: Difference between revisions
m (1 revision: For full history see http://ac.wikkii.net) |
>Arkalor's Bot No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>[[ | <includeonly><div style="overflow:auto"> | ||
<div class="item"> | |||
<div id="itemheader">{{{Name|Name}}}<div style="float:right;">[[File:{{{Icon Image|}}}]]</div></div> | |||
Value: {{{Value|??}}}<br><!-- | |||
-->{{#ifeq:{{lc:{{{Burden|}}}}}|unknown|Unknown Burden|Burden: {{{Burden|??}}}<br><br>}}<!-- | |||
-->{{#if:{{{Covers|}}}|Covers {{{Covers|}}}<br>}}<br><!-- | |||
-->{{#ifeq:{{lc:{{{Armor Type|}}}}}|shield|Base Shield Level: {{{Armor Level|??}}}{{#if:{{{Buffed Armor Level|}}}|<font color=green> ({{{Buffed Armor Level|}}})</font>}}<br><br>|}}<!-- | |||
-->{{#if:{{{Slashing|}}}|Armor Level: {{{Armor Level|??}}}{{#if:{{{Buffed Armor Level|}}}|<font color=green> ({{{Buffed Armor Level|}}})</font>}}<br>}}<!-- | |||
-->{{#if:{{{Slashing|}}}|Slashing: {{{Slashing|??}}}{{#if:{{{Buffed Slashing AL|}}}|<font color=green> ({{{Buffed Slashing AL|}}})</font>}}<br>}}<!-- | |||
-->{{#if:{{{Piercing|}}}|Piercing: {{{Piercing|??}}}{{#if:{{{Buffed Piercing AL|}}}|<font color=green> ({{{Buffed Piercing AL|}}})</font>}}<br>}}<!-- | |||
-->{{#if:{{{Bludgeoning|}}}|Bludgeoning: {{{Bludgeoning|??}}}{{#if:{{{Buffed Bludgeon AL|}}}|<font color=green> ({{{Buffed Bludgeon AL|}}})</font>}}<br>}}<!-- | |||
-->{{#if:{{{Fire|}}}|Fire: {{{Fire|??}}}{{#if:{{{Buffed Fire AL|}}}|<font color=green> ({{{Buffed Fire AL|}}})</font>}}<br>}}<!-- | |||
-->{{#if:{{{Cold|}}}|Cold: {{{Cold|??}}}{{#if:{{{Buffed Cold AL|}}}|<font color=green> ({{{Buffed Cold AL|}}})</font>}}<br>}}<!-- | |||
-->{{#if:{{{Acid|}}}|Acid: {{{Acid|??}}}{{#if:{{{Buffed Acid AL|}}}|<font color=green> ({{{Buffed Acid AL|}}})</font>}}<br>}}<!-- | |||
-->{{#if:{{{Electric|}}}|Electric: {{{Electric|??}}}{{#if:{{{Buffed Electric AL|}}}|<font color=green> ({{{Buffed Electric AL|}}})</font>}}<br>}}<!-- | |||
-->{{#if:{{{Slashing|}}}|Nether: Average ({{{Armor Level|??}}})<!-- | |||
-->{{#if:{{{Buffed Armor Level|}}}|<font color=green> ({{{Buffed Armor Level|}}})</font>}}<br>}}<!-- | |||
-->{{#if:{{{Spells|}}}|<br>Spells: {{{Spells}}}<br>}}<!-- | |||
-->{{#if:{{{Special Properties|}}}|<br>Properties: {{{Special Properties}}}<br><br>}}<!-- | |||
-->{{#if:{{{Special Properties|}}}||<br>}}<!-- | |||
-->{{#if:{{{Special Req|}}}|{{{Special Req|}}}<br>}}<!-- | |||
-->{{#if:{{{Level Req|}}}|Wield requires level {{{Level Req}}}<br>}}<!-- | |||
-->{{#ifeq:{{lc:{{{Cannot Be Sold|}}}}}|true|<br>This item cannot be sold.<br>|}}<!-- | |||
-->{{#if:{{{Activation Reqs|}}}|Activation requires {{{Activation Reqs}}}<br>}}<!-- | |||
-->{{#if:{{{Spellcraft|}}}|Spellcraft: {{{Spellcraft}}}<br>}}<!-- | |||
-->{{#if:{{{Mana|}}}|Mana: {{{Mana}}}<br>}}<!-- | |||
-->{{#if:{{{Mana Cost|}}}|Mana Cost: 1 point per {{{Mana Cost|??}}} seconds.<br><br>}}<!-- | |||
-->{{#if:{{{Description|}}}|{{{Description}}}<br><br>}}<!-- | |||
-->{{#if:{{{Inscription|}}}|<br><hr style="background#F0F0F0;"/>{{{Inscription|}}}<br>}}</div> | |||
<div style="float:right">{{#if:{{{Live Image|}}}|[[File:{{{Live Image|}}}{{!}}thumb{{!}}{{{Live Image Caption|}}}]]|[[File:Live.jpg]]}}</div></div> | |||
<!-- Categories --> | |||
{{#ifeq:{{lc:{{{Retired Armor|}}}}} | yes | [[Category:Retired Armor]] | <!-- | |||
-->{{#ifeq:{{{Live Image|}}} | Live.jpg | [[Category:Images Needed (Armor)]] | {{#ifeq:{{{Live Image|}}} | | [[Category:Images Needed (Armor)]] |}}}}<!-- | |||
-->[[Category:Armor Index]]{{#ifeq:{{{Level Req|}}}||{{#ifeq:{{lc:{{{Armor Type|}}}}}|costume items||{{#ifeq:{{{Special Req|}}}||[[Category:{{{Armor Type}}}: No Level Requirement]][[Category:Armor: No Level Requirement]]|[[Category:{{{Armor Type}}}: Special Requirement]][[Category:Armor: Special Requirement]]}}|}}|[[Category:{{{Armor Type}}}: Level {{{Level Req}}}]][[Category:Armor: Level {{{Level Req}}}]]}}<!-- | |||
-->{{#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]] | ||
}}}}<!-- | |||
-------------------------------------------------- | |||
ITEM TOOLTIP | |||
-------------------------------------------------- | |||
--><div class="item tooltip-content" style="display:none"> | |||
<p>{{{Name}}}</p>Value: {{{Value|??}}}<br>{{#ifeq:{{lc:{{{Burden|}}}}}|unknown|Unknown Burden|Burden: {{{Burden|??}}}<br><br>}}{{#if:{{{Covers|}}}|Covers {{{Covers|}}}<br>}}<br>{{#ifeq:{{lc:{{{Armor Type|}}}}}|shield|Base Shield Level: {{{Armor Level|??}}}{{#if:{{{Buffed Armor Level|}}}|<font color=green> ({{{Buffed Armor Level|}}})</font>}}<br><br>|}}{{#if:{{{Slashing|}}}|Armor Level: {{{Armor Level|??}}}{{#if:{{{Buffed Armor Level|}}}|<font color=green> ({{{Buffed Armor Level|}}})</font>}}<br>}}{{#if:{{{Slashing|}}}|Slashing: {{{Slashing|??}}}{{#if:{{{Buffed Slashing AL|}}}|<font color=green> ({{{Buffed Slashing AL|}}})</font>}}<br>}}{{#if:{{{Piercing|}}}|Piercing: {{{Piercing|??}}}{{#if:{{{Buffed Piercing AL|}}}|<font color=green> ({{{Buffed Piercing AL|}}})</font>}}<br>}}{{#if:{{{Bludgeoning|}}}|Bludgeoning: {{{Bludgeoning|??}}}{{#if:{{{Buffed Bludgeon AL|}}}|<font color=green> ({{{Buffed Bludgeon AL|}}})</font>}}<br>}}{{#if:{{{Fire|}}}|Fire: {{{Fire|??}}}{{#if:{{{Buffed Fire AL|}}}|<font color=green> ({{{Buffed Fire AL|}}})</font>}}<br>}}{{#if:{{{Cold|}}}|Cold: {{{Cold|??}}}{{#if:{{{Buffed Cold AL|}}}|<font color=green> ({{{Buffed Cold AL|}}})</font>}}<br>}}{{#if:{{{Acid|}}}|Acid: {{{Acid|??}}}{{#if:{{{Buffed Acid AL|}}}|<font color=green> ({{{Buffed Acid AL|}}})</font>}}<br>}}{{#if:{{{Electric|}}}|Electric: {{{Electric|??}}}{{#if:{{{Buffed Electric AL|}}}|<font color=green> ({{{Buffed Electric AL|}}})</font>}}<br>}}{{#if:{{{Slashing|}}}|Nether: Average ({{{Armor Level|??}}}){{#if:{{{Buffed Armor Level|}}}|<font color=green> ({{{Buffed Armor Level|}}})</font>}}<br>}}{{#if:{{{Spells|}}}|<br>Spells: {{{Spells}}}<br>}}{{#if:{{{Special Properties|}}}|<br>Properties: {{{Special Properties}}}<br><br>}}{{#if:{{{Special Properties|}}}||<br>}}{{#if:{{{Special Req|}}}|{{{Special Req|}}}<br>}}{{#if:{{{Level Req|}}}|Wield requires level {{{Level Req}}}<br>}}{{#ifeq:{{lc:{{{Cannot Be Sold|}}}}}|true|<br>This item cannot be sold.<br>|}}{{#if:{{{Activation Reqs|}}}|Activation requires {{{Activation Reqs}}}<br>}}{{#if:{{{Spellcraft|}}}|Spellcraft: {{{Spellcraft}}}<br>}}{{#if:{{{Mana|}}}|Mana: {{{Mana}}}<br>}}{{#if:{{{Mana Cost|}}}|Mana Cost: 1 point per {{{Mana Cost|??}}} seconds.<br><br>}}{{#if:{{{Description|}}}|{{{Description}}}<br><br>}}{{#if:{{{Inscription|}}}|<br><hr style="background#F0F0F0;"/>{{{Inscription|}}}<br>}}</div><!-- | |||
--></includeonly><noinclude>{{Documentation}}[[Category:Wiki Template]]</noinclude> | |||
| | |||
{{ | |||
[[Category:Wiki Template]] | |||
</noinclude> |
Revision as of 01:49, 16 April 2014
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