Dawn of Crafting Wiki
m (correct "discovery" text)
Danakate (talk | contribs)
(add burn energy and durability)
Line 12: Line 12:
 
|-
 
|-
 
{{#if: {{{energy|}}} | {{!}} <div>Energy</div> {{!!}} {{{energy}}} }}
 
{{#if: {{{energy|}}} | {{!}} <div>Energy</div> {{!!}} {{{energy}}} }}
  +
|-
  +
{{#if: {{{burnenergy|}}} | {{!}} <div>Burn Energy</div> {{!!}} {{{burnenergy}}} }}
  +
|-
  +
{{#if: {{{durability|}}} | {{!}} <div>Durability</div> {{!!}} {{{durability}}} }}
 
|}<noinclude>{{clear}}{{doc}}
 
|}<noinclude>{{clear}}{{doc}}
 
[[Category:Infobox templates]]</noinclude>
 
[[Category:Infobox templates]]</noinclude>

Revision as of 23:53, 6 June 2018

{{{name}}}
No image yet
Details
Template-info.png Documentation

This is just a generic infobox with a few sample fields

Usage

{{Itembox
| name     = 
| image    = 
| size     = //optional, default is 250x250px
| type     =  
| discovery =
| energy  = 
| burnenergy =
| toollevel = 
| durability =

Example

Peeled Banana
File:Peeledbanana.png
Details
Type
Food
Discovery
Crafting
Energy
3
Burn Energy
N/A
Durability
N/A
{{Itembox
| name     = Peeled Banana
| image    = Peeledbanana.png
| type     =  Food
| discovery = Crafting
| energy  = 3
| burnenergy = N/A
| toollevel = N/A
| durability = N/A
}}