Difference between revisions of "Template:Food"

From The Twilight Forest Wiki
Jump to navigation Jump to search
m (allow you to change the title of the infobox)
(compliant Template)
Line 1: Line 1:
{| class="wikitable" style="float:right; margin-left: 100px;"
{| class="wikitable" id="foodInfobox" style="float:right; margin-left: 100px;"
!colspan="2"|{{{name| {{BASEPAGENAME}} }}}
!colspan="2"|{{{name| {{BASEPAGENAME}} }}}


|-
|-
|colspan="2"|{{{image|}}}
|colspan="2" style="background-color: #222"|{{{image|}}}


|-
|-
|Type
!Type
|{{{type|}}}
|{{{type|}}}


|-
|-
|Restores
!Restores
|{{{restores|}}}
|{{{restores|}}}


|-
|-
|Cookable
!Cookable
|{{{cookable|}}}
|{{{cookable|}}}


|-
|-
|Renewable
!Renewable
|{{{renewable|}}}
|{{{renewable|}}}


|-
|-
|Stackable
!Stackable
|{{{stackable|}}}
|{{{stackable|}}}


|-
|-
|ID
!ID
|{{{id|}}}
|{{{id|}}}
|}<noinclude>
|}<noinclude>

Revision as of 20:37, 20 September 2018

Food
Type
Restores
Cookable
Renewable
Stackable
ID

Usage:

{{Food
|name= (optional, defaults to the article's title)
|image= (filelink)
|type= (type of food)
|restores= (amount of hunger restored)
|cookable= (yes/no)
|renewable= (yes/no)
|stackable= (yes/no)
|id= (in-game id)
}}