Template:Armor: Difference between revisions
(replaced br tags with li tags and css for spacing, removed duplicate tooltip code) |
No edit summary |
||
| Line 34: | Line 34: | ||
<div style="float:right">{{#ifeq:{{{Live Image|}}}|||{{#ifeq:{{{Live Image|}}}|Live.jpg||[[File:{{{Live Image|}}}{{!}}thumb{{!}}{{{Live Image Caption}}}]]}}}}</div></div> | <div style="float:right">{{#ifeq:{{{Live Image|}}}|||{{#ifeq:{{{Live Image|}}}|Live.jpg||[[File:{{{Live Image|}}}{{!}}thumb{{!}}{{{Live Image Caption}}}]]}}}}</div></div> | ||
<!-- Categories --> | <!-- Categories --> | ||
{{# | {{#if:{{{nocat|}}} | | {{#ifeq:{{{Live Image|}}} | Live.jpg | [[Category:Images Needed (Armor)]] | {{#ifeq:{{{Live Image|}}} | | [[Category:Images Needed (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]]}} | [[Category:Armor Index]]{{#if:{{{Level Req|}}}|[[Category:Armor: Level {{{Level Req}}}]]|[[Category:Armor: No Level Requirement]]}} | ||
{{#switch:{{lc:{{{Armor Type|}}}}} | {{#switch:{{lc:{{{Armor Type|}}}}} | ||
Revision as of 01:13, 21 December 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