Template:Armor: Difference between revisions
>Arkalor's Bot No edit summary |
(replaced br tags with li tags and css for spacing, removed duplicate tooltip code) |
||
Line 1: | Line 1: | ||
<includeonly><div style="overflow:auto"> | <includeonly><div style="overflow:auto"> | ||
<div class="item"> | <div class="item tooltip-content"> | ||
<div id=" | <div id="item_header"> | ||
Value: {{{Value|??}}}< | <div>{{{Name|Name}}}</div> | ||
<div>[[File:{{{Icon Image}}}]]</div> | |||
</div> | |||
<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:{{{Spellcraft|}}}|<li>Spellcraft: {{{Spellcraft}}}}} | |||
<div style="float:right">{{# | {{#if:{{{Mana|}}}|<li>Mana: {{{Mana}}}}} | ||
{{#if:{{{Mana Cost|}}}|<li>Mana Cost: 1 point per {{{Mana Cost|}}} seconds.}} | |||
{{#if:{{{Description Two|}}}|<li class="topbottomspace">{{{Description Two}}}}} | |||
{{#if:{{{Inscription|}}}|<li class="inscription">{{{Inscription}}}}}</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]] | | {{#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]]{{#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]] | ||
Line 45: | Line 49: | ||
| tattoos = [[Category:Tattoo]] | | tattoos = [[Category:Tattoo]] | ||
| olthoi racial armor = [[Category:Olthoi Racial Armor]] | | olthoi racial armor = [[Category:Olthoi Racial Armor]] | ||
}}}} | }}}}</includeonly><noinclude>{{Documentation}}[[Category:Wiki Templates]]</noinclude> | ||
Revision as of 00:47, 15 November 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