Template:Food/doc
Jump to navigation
Jump to search
{{#vardefine: nodoc | {{{nodoc}}} }}{{#vardefine: baddoc | {{{baddoc}}} }}
This template provides a uniform design for food pages.
{{Food |title= |image= |invimage= |type= |heals= |cookable= |stackable= |data1name= |data1= |data2name= |data2= }}
Parameter | Function | Default value |
---|---|---|
title |
Optional value to use a different title instead of the page name | {{BASEPAGENAME}}
|
image |
Image of the food (should be approx. 150x150px) | {{{title}}}.png if it exists, otherwise No image.svg (linking to the page where to upload the missing image)
|
invimage |
Image for food in inventory. Can use None to force no invimage. Uses Template:Grid. | Grid {{{title}}}.png if it exists, otherwise None
|
type |
Type | ? |
heals |
Restores | ? |
cookable |
Cookable | ? |
stackable |
Stackable | ? |
data1name |
Dec Value name (Only needed if there's 2 data values) | ? |
data1 |
Dec Value | 00 |
data2name |
Second Dec Value name | ? |
data2 |
Second Dec Value | ? |
See also
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.