Difference between revisions of "Template:Infobox Item"

From Wiki
Jump to: navigation, search
(Another attempt)
Line 3: Line 3:
 
|-
 
|-
 
| colspan="2" style="text-align:center;" | {{#if: {{{item_image|}}}|[[Image:{{{item_image}}}|300px| ]]<br>}}<i>{{{caption|}}}</i>
 
| colspan="2" style="text-align:center;" | {{#if: {{{item_image|}}}|[[Image:{{{item_image}}}|300px| ]]<br>}}<i>{{{caption|}}}</i>
{{ #if: {{{description}}}|
+
{{ #if: {{{description|}}}||- valign="top"
|- valign="top"
+
 
! Description:
 
! Description:
 
| {{{description|}}} | }}
 
| {{{description|}}} | }}
Line 49: Line 48:
 
This infobox is meant to be put on item pages to offer information about the item!
 
This infobox is meant to be put on item pages to offer information about the item!
 
== Usage ==
 
== Usage ==
{| style="background: transparent;"
+
<pre>
|<pre>{{Infobox Item
+
{{Infobox Item
 
| item_name          =  
 
| item_name          =  
 
| item_image        = (optional)
 
| item_image        = (optional)
Line 59: Line 58:
 
...
 
...
 
| property11        = (optional)
 
| property11        = (optional)
}}</pre>
+
}}
|}
+
</pre>
 +
 
 +
 
 +
{{Infobox Item
 +
| item_name    = Halberd of Darkness
 +
| caption      = Loot from Shadowyrm
 +
| description  = Blah blah blah blah
 +
| property1    = HCI 5%
 +
| property2    = Mana Increase 5
 +
| property3    = Stamina Regen 8
 +
}}
 +
 
 +
 
 
[[Category:Alexandria|Templates:Infobox Item]]
 
[[Category:Alexandria|Templates:Infobox Item]]
 
[[Category:Infobox templates]]
 
[[Category:Infobox templates]]
  
 
</noinclude>
 
</noinclude>

Revision as of 16:12, 22 June 2010

{{{item_name}}}

- valign="top"

Description:







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