Template:Infobox item: Difference between revisions

Wow, this template has been neglected.
Heart restoring items should use Template:Food
Line 8: Line 8:
{{#if:{{{invimage|}}}|<tr  valign="top"><td align="center" colspan="2">[[File:{{{invimage}}}|36px|center]]</td></tr>}}
{{#if:{{{invimage|}}}|<tr  valign="top"><td align="center" colspan="2">[[File:{{{invimage}}}|36px|center]]</td></tr>}}
{{Block/row2|label=Type|field={{{type|?}}}}}
{{Block/row2|label=Type|field={{{type|?}}}}}
{{Block/row|label=Restores|field={{{hearts|None}}}}}
{{Block/row2|label=Durability|field={{{durability|None}}}}}
{{Block/row2|label=Durability|field={{{durability|None}}}}}


Line 26: Line 25:
==Usage==
==Usage==
'''These usage notes will not be included in articles bearing this template.'''<p></p>
'''These usage notes will not be included in articles bearing this template.'''<p></p>
This template provides a uniform design for useable item pages.<pre>
This template provides a uniform design for useable item pages. When an item restores health, it is recommended to use [[Template:Food]] instead. <pre>
{{Useable Items
{{Useable Items
|image=
|image=
Line 49: Line 48:
|-
|-
| <code>invimage</code> || Image for object in inventory (Should be 36x36px) || ''None''
| <code>invimage</code> || Image for object in inventory (Should be 36x36px) || ''None''
|-
| <code>hearts</code> || How many hearts it restores || None
|-
|-
| <code>type</code> || Type (Weapon, Ranged Weapon, Craftable Item, Tool, etc. ) || ?
| <code>type</code> || Type (Weapon, Ranged Weapon, Craftable Item, Tool, etc. ) || ?