Difference between revisions of "Template:Food"

From The Twilight Forest Wiki
Jump to navigation Jump to search
(Polish the template)
Line 1: Line 1:
<includeonly>{| class="wikitable" id="foodInfobox" style="{{{style|float:right;}}} margin-left: 100px;"
<includeonly>{| class="wikitable" id="foodInfobox" style="float:right; margin-left: 100px;"
!colspan="2"|{{{name| {{BASEPAGENAME}} }}}
!colspan="2" style="font-size: 1.4em;"|{{{name| {{BASEPAGENAME}} }}}


|-
|-
|colspan="2" style="background-color: #222"|[[File:{{{image|!.png}}}|center|256px|link=|{{{image|File Missing}}}]]
|colspan="2" style="background-color: #222; padding: 35px;"|[[File:{{{image|Unknown.png}}}|center|128px]]


|-
|-
Line 29: Line 29:
<pre>
<pre>
{{Food
{{Food
|style= (used to orientate the table's styling, use only if you're a pro)
|name= (optional, defaults to the article's title)
|name= (optional, defaults to the article's title)
|image= (filelink)
|image= (filelink)

Revision as of 20:44, 7 February 2024


Usage:

{{Food
|name= (optional, defaults to the article's title)
|image= (filelink)
|restores= (amount of hunger restored)
|cookable= (yes/no)
|renewable= (yes/no)
|stackable= (yes/no)
|id= (in-game id)
}}
Food
Unknown.png
Hunger Restored None
Cookable
Renewable
Stackable
ID