Portal Knights Wiki
Roemar (talk | contribs)
(Adjusted background color to match (most) pictures better)
Roemar (talk | contribs)
(Removed border around item icon)
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}}}|border|link=]] | [[File:{{{1}}}.png|{{{iconsize|160px}}}|border|link=]] }}<hr>
+
! colspan="2" | {{#ifexist: File:{{{1}}}_Icon.png | [[File:{{{1}}}_Icon.png|{{{iconsize|160px}}}|link=]] | [[File:{{{1}}}.png|{{{iconsize|160px}}}|link=]] }}<hr>
 
|-
 
|-
 
{{#if: {{{maxstack|}}}|
 
{{#if: {{{maxstack|}}}|

Revision as of 06:09, 12 June 2017

Template-info.png Documentation

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)
Copper Pickaxe Icon.png
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
}}