Template:Infobox food/TemplateData
Infobox for type of food
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name of food | name | title on top of the infobox. If omitted, it will be default to the page title | String | optional |
Name language | name_lang | ISO 639 language code, if the name is not in English | String | optional |
Italicize name | name_italics | Set true to italicise the name—if it is in a non-English language that uses the Roman alphabet, for example | String | optional |
Image filename | image | 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. | File | suggested |
Width of image | image_size | Optional custom image width, e.g. 240 'px' is not required | String | optional |
Image alt string | alt image_alt | Alt string for image | String | suggested |
Image caption | caption | Leave empty for no image caption. | String | optional |
Alternate name | alternate_name | Alternate name for the dish | String | optional |
Type of dish | type | The dish is an instance of this kind of food
| String | optional |
Course served | course | One of: Appetizer, Dessert, Drink, Main course, Salad, Side dish | String | optional |
Place of origin | place_of_origin | Place of origin of the dish | String | optional |
Region of origin | region | Region or state the dish was developed | String | optional |
Associated cuisine | associated_cuisine | Associated cuisine, preferably linking to an existing 'Fooian cuisine' article | String | optional |
Creator | creator creators | Creator or creators of the dish | String | optional |
Year | year | Year dish was invented | Number | optional |
Min cooking time | mintime time1 | Minimum amount of time to cook the dish | String | optional |
Max cooking time | maxtime time2 | Maximum amount of time to cook the dish | String | optional |
Serving temperature | served | Serving temperature for the dish | String | optional |
Main ingredient | main_ingredient | Main ingredient(s) for the dish. {{Plainlist}} may be used to separate multiple items | String | optional |
Minor ingredients | minor_ingredient | Minor ingredient(s) for the dish. {{Plainlist}} may be used to separate multiple items | String | optional |
Variations | variations | Variations in recipe to make the dish | String | optional |
Serving size | serving_size | Default serving size ('100 g' for the standard 100 g serving size) | String | optional |
Calories per serving | calories | Use a raw number for automatic conversion to kJ. | String | optional |
Calories reference | calories_ref | Citation for the calories per serving | String | optional |
Protein per serving | protein | The amount of protein in the dish per serving. | String | optional |
Fat per serving | fat | The amount of fat in the dish per serving. | String | optional |
Carbohydrate per serving | carbohydrate | The amount of carbohydrate in the dish per serving. | String | optional |
Glycemic Index | glycemic_index | Glycemic index (GI). Must be a simple number (e.g., without references or standard error mean) | Number | optional |
Similar dishes | similar_dish | Any similar dish(es) | String | optional |
Other information | other | no description | String | optional |
Link styles | belowstyle | CSS style for commons and cookbook links | String | optional |
No recipes | no_recipes | If true, suppress display of cookbook link
| String | optional |
Cookbook page | cookbook | Provides a link to the Cookbook at Wikibooks using a title other than Wikipedia's page name. If missing, uses wikidata. | String | optional |
No commons | no_commons | If true, suppress display of commons link
| String | optional |
Commons page | commons | Override wikidata commons link by manually specifying commons page | String | optional |