Template:Infobox item: Difference between revisions
Jump to navigation
Jump to search
Rewritten to cleaner, prettier DIV powered format |
m imagespacingfix |
||
Line 2: | Line 2: | ||
| imagearea = | | imagearea = | ||
[[File:{{{image|No image.png}}}|150px|center]] | [[File:{{{image|No image.png}}}|150px|center]] | ||
{{#if:{{{invimage|}}}|[[File:{{{invimage}}}|36px|center]]}} | {{#if:{{{invimage|}}}|<br />[[File:{{{invimage}}}|36px|center]]}} | ||
| rows = | | rows = | ||
{{infobox row|label=Type|field={{{type|?}}}}} | {{infobox row|label=Type|field={{{type|?}}}}} |
Revision as of 14:43, 24 January 2011
Usage
These usage notes will not be included in articles bearing this template.
This template provides a uniform design for useable item pages. When an item restores health, it is recommended to use Template:Food instead.
{{Item |image= |invimage= |type= |durability= |stackable= |data1name= |data1= |data2name= |data2= }}
Parameter | Function | Default value |
---|---|---|
name |
Only needed to change the name from the page name | {{BASEPAGENAME}}
|
image |
Image of the item (Should be 150x150px) | No image.png |
invimage |
Image for object in inventory (Should be 36x36px) | None |
type |
Type (Weapon, Ranged Weapon, Craftable Item, Tool, etc. ) | ? |
durability |
How durable the item is | None |
stackable |
Stackable | ? |
data1name |
If using multiple data values, specify a name | None |
data1 |
Decimal Data Value 1 | 00 |
data2name |
Data 2's name | None |
data2 |
Decimal Data Value 2 | None |