Dawn of Crafting Wiki
(Created page with "{| class="infoboxtable" |- ! colspan="2" class="infoboxname" | {{{name}}} |- {{#if: {{{image|}}} | ! colspan="2" {{!}} [[File:{{{image}}}{{!}}{{{size|250x250px}}}]] | ! colsp...")
 
Danakate (talk | contribs)
(add tool level)
 
(2 intermediate revisions by the same user not shown)
Line 9: Line 9:
 
{{#if: {{{type|}}} | {{!}} width=80 {{!}} <div>Type</div> {{!!}} {{{type}}} }}
 
{{#if: {{{type|}}} | {{!}} width=80 {{!}} <div>Type</div> {{!!}} {{{type}}} }}
 
|-
 
|-
{{#if: {{{discovering|}}} | {{!}} <div>Discovering</div> {{!!}} {{{discovering}}} }}
+
{{#if: {{{discovery|}}} | {{!}} <div>Discovery</div> {{!!}} {{{discovery}}} }}
 
|-
 
|-
 
{{#if: {{{energy|}}} | {{!}} <div>Energy</div> {{!!}} {{{energy}}} }}
 
{{#if: {{{energy|}}} | {{!}} <div>Energy</div> {{!!}} {{{energy}}} }}
  +
|-
  +
{{#if: {{{burnenergy|}}} | {{!}} <div>Burn Energy</div> {{!!}} {{{burnenergy}}} }}
  +
|-
  +
{{#if: {{{toollevel|}}} | {{!}} <div>Tool Level</div> {{!!}} {{{toollevel}}} }}
  +
|-
  +
{{#if: {{{durability|}}} | {{!}} <div>Durability</div> {{!!}} {{{durability}}} }}
 
|}<noinclude>{{clear}}{{doc}}
 
|}<noinclude>{{clear}}{{doc}}
 
[[Category:Infobox templates]]</noinclude>
 
[[Category:Infobox templates]]</noinclude>

Latest revision as of 00:02, 7 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
Tool Level
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
}}