Jump to: navigation, search

Template:Food

Revision as of 15:46, 14 February 2014 by MrTJP (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template-info.png Documentation
Lua logo.svg
This template uses Module:Infobox, a script written in the Lua programming language. Please see wp:Lua and mw:Extension:Scribunto to learn more about Lua.
Food
No image.svg
Type

?

Restores

?

Cookable

?

Stackable

?

First appearance

?

Data value

dec: ? hex: ? bin: ?

This template provides a uniform design for food pages.

{{Food
|title=
|image= 
|image2=
|invimage= 
|type= 
|heals= 
|cookable= 
|stackable= 
|light= 
|data1name= 
|data1= 
|data2name= 
|data2= 
|nameid=
}}
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)
image2 Image of the block/item (should be approx. 150x150px) None
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 ?
light Emits Light? If "Yes," add the light value like this: "Yes, 9" None
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 ?
nameid The food's named identifier. Can use None to force no name ID. title or {{BASEPAGENAME}}

See also

es:Plantilla:Comida fr:Modèle:Nourriture



Cookies help us deliver our services. By using our services, you agree to our use of cookies.