(Removed border around item icon) |
No edit summary |
||
Line 5: | Line 5: | ||
--><div style="line-height:19px;">{{{name|{{BASEPAGENAME}}}}}{{#if:{{{namesub|}}}|<br><span style="color: #c9c9c9; font-size:80%;">(''{{{namesub|}}}'')</span>}}</div> |
--><div style="line-height:19px;">{{{name|{{BASEPAGENAME}}}}}{{#if:{{{namesub|}}}|<br><span style="color: #c9c9c9; font-size:80%;">(''{{{namesub|}}}'')</span>}}</div> |
||
|- |
|- |
||
− | ! colspan="2" | {{#ifexist: File:{{{1}}}_Icon.png | [[File:{{{1}}}_Icon.png|{{{iconsize|160px}}}|link=]] | [[File:{{{1}}}.png|{{{iconsize|160px}}}|link=]] }}<hr> |
+ | ! colspan="2" | {{#ifexist: File:{{{1}}}_Icon.png | [[File:{{{1}}}_Icon.png|{{{iconsize|160px}}}|link=]] | [[File:{{{1}}}.png|{{{iconsize|160px}}}|link=]] | [[File:{{{1}}}_Icon.jpg|{{{iconsize|160px}}}|link=]] | [[File:{{{1}}}.jpg|{{{iconsize|160px}}}|link=]]}}<hr> |
|- |
|- |
||
{{#if: {{{maxstack|}}}| |
{{#if: {{{maxstack|}}}| |
Revision as of 13:56, 20 July 2017
This is the item info box. It has the following (optional) fields:
Usage
{{Item|icon filename| | name = (defaults to page name) | namesub = | maxstack = | density = | type = | inflicts = | soldby = | buyprice = | sellvalue = | damage = | armor = | craftingstation = | craftingtime = | duration = | cooldown = | consumable = | internalid = }}
Example
Amazing Pickaxe
(My First Pickaxe) | |
---|---|
Max Stack: | 1 |
Type: | Tool |
Inflicts: | Mining Damage |
Sold by: | No one |
Buy: | 10,000 GP |
Sell: | 0 GP |
Damage: | +1 |
Craft With: | Workbench |
Crafting Time: | 1m |
Consumable: | No |
Internal Item ID = 1,234 |
{{Item|Copper Pickaxe| | name = Amazing Pickaxe | namesub = My First Pickaxe | maxstack = 1 | type = Tool | inflicts = Mining Damage | soldby = No one | buyprice = 10,000 | sellvalue = 0 | damage = +1 | craftingstation = [[Workbench]] | craftingtime = 1m | consumable = No | internalid = 1,234 }}
The above documentation is transcluded from Template:Item/doc. (edit | history)