Infobox food/TemplateData

From IxWiki
Jump to navigation Jump to search

Infobox for type of food

Template parameters

ParameterDescriptionTypeStatus
Name of foodname

title on top of the infobox. If omitted, it will be default to the page title

Stringoptional
Name languagename_lang

ISO 639 language code, if the name is not in English

Stringoptional
Italicize namename_italics

Set true to italicise the nameā€”if it is in a non-English language that uses the Roman alphabet, for example

Stringoptional
Image filenameimage

Filename for image. Do not prefix with File: or Image:, or surround with square brackets [[]]. If there is no image available, leave the field empty.

Filesuggested
Width of imageimage_size

Optional custom image width, e.g. 240 'px' is not required

Stringoptional
Image alt stringalt image_alt

Alt string for image

Stringsuggested
Image captioncaption

Leave empty for no image caption.

Stringoptional
Alternate namealternate_name

Alternate name for the dish

Stringoptional
Type of dishtype

The dish is an instance of this kind of food

Example
pie
Stringoptional
Course servedcourse

One of: Appetizer, Dessert, Drink, Main course, Salad, Side dish

Stringoptional
Place of originplace_of_origin

Place of origin of the dish

Stringoptional
Region of originregion

Region or state the dish was developed

Stringoptional
Associated cuisineassociated_cuisine

Associated cuisine, preferably linking to an existing 'Fooian cuisine' article

Stringoptional
Creatorcreator creators

Creator or creators of the dish

Stringoptional
Yearyear

Year dish was invented

Numberoptional
Min cooking timemintime time1

Minimum amount of time to cook the dish

Stringoptional
Max cooking timemaxtime time2

Maximum amount of time to cook the dish

Stringoptional
Serving temperatureserved

Serving temperature for the dish

Stringoptional
Main ingredientmain_ingredient

Main ingredient(s) for the dish. {{Plainlist}} may be used to separate multiple items

Stringoptional
Minor ingredientsminor_ingredient

Minor ingredient(s) for the dish. {{Plainlist}} may be used to separate multiple items

Stringoptional
Variationsvariations

Variations in recipe to make the dish

Stringoptional
Serving sizeserving_size

Default serving size ('100 g' for the standard 100 g serving size)

Stringoptional
Calories per servingcalories

Use a raw number for automatic conversion to kJ.

Stringoptional
Calories referencecalories_ref

Citation for the calories per serving

Stringoptional
Protein per servingprotein

The amount of protein in the dish per serving.

Stringoptional
Fat per servingfat

The amount of fat in the dish per serving.

Stringoptional
Carbohydrate per servingcarbohydrate

The amount of carbohydrate in the dish per serving.

Stringoptional
Glycemic Indexglycemic_index

Glycemic index (GI). Must be a simple number (e.g., without references or standard error mean)

Numberoptional
Similar dishessimilar_dish

Any similar dish(es)

Stringoptional
Other informationother

no description

Stringoptional
Link stylesbelowstyle

CSS style for commons and cookbook links

Stringoptional
No recipesno_recipes

If true, suppress display of cookbook link

Default
false
Stringoptional
Cookbook pagecookbook

Provides a link to the Cookbook at Wikibooks using a title other than Wikipedia's page name. If missing, uses wikidata.

Stringoptional
No commonsno_commons

If true, suppress display of commons link

Default
false
Stringoptional
Commons pagecommons

Override wikidata commons link by manually specifying commons page

Stringoptional