Difference between revisions of "Template:Infobox Item"

From Wiki
Jump to: navigation, search
(trying HTML table approach)
Line 39: Line 39:
 
{{!}}- valign="top"
 
{{!}}- valign="top"
 
!
 
!
{{!}} align="center" {{!}} {{{property11}}}}}{{ #if: {{{resistances|}}}|<nowiki/>
+
{{!}} align="center" {{!}} {{{property11}}}}}{{ #if: {{{physical|}}}|<nowiki/>
 
{{!}}- valign="top"
 
{{!}}- valign="top"
 
! Resists
 
! Resists
{{!}} {{{resistances}}}
+
{{!}} <table cellspacing="0"><tr style="background-color:#B5B5B5;"><th>[[Image:Physical_resist_icon.png]]</th><th>[[Image:Fire_resist_icon.png]]</th><th>[[Image:Cold_resist_icon.png]]</th><th>[[Image:Poison_resist_icon.png]]</th><th>[[Image:Energy_resist_icon.png]]</th></tr><tr><td>{{{physical}}}</td><td>{{{fire}}}</td><td>{{{cold}}}</td><td>{{{poison}}}</td><td>{{{energy}}}</td></tr></table>
 
|}
 
|}
  
Line 74: Line 74:
 
| property2    = Mana Increase 5
 
| property2    = Mana Increase 5
 
| property3    = Stamina Regen 8
 
| property3    = Stamina Regen 8
| resistances      = {{resists|physical=12%|fire=5%|cold=12%|poison=13%|energy=4%}}
+
| physical     = 12%
 +
| fire         = 5%
 +
| cold         = 12%
 +
| poison       = 13%
 +
| energy       = 4%
 
}}
 
}}
  

Revision as of 18:51, 23 June 2010


This infobox is meant to be put on item pages to offer information about the item!

Usage

{{Infobox Item
| item_name          = 
| item_image         = (optional)
| caption            = (optional)
| description        = 
| property1          = (optional)
| property2          = (optional)
...
| property11         = (optional)
}}


File:Image Needed.png
Infobox Item
Loot from Shadowyrm