Template:Infobox prepared food

From MicrasWiki
Jump to navigationJump to search
Template documentation

This template summarizes a prepared food, dish, baked good, confection, or comparable culinary item. Drinks should generally use {{Infobox beverage}}.

To use this template, insert the following code at the beginning of a food article:

{{Infobox prepared food
| name               =
| alternate_name     =
| image              =
| image_size         =
| image_alt          =
| caption            =
| place_of_origin    =
| region             =
| creator            =
| associated_cuisine =
| course             =
| type               =
| serving_temperature=
| main_ingredients   =
| variations         =
| similar_dishes     =
| calories           =
| other              =
| footnotes          =
| nocat              =
}}

Parameters

Each parameter is optional. Blank parameters are not displayed.

  • name: Commonly used name. Defaults to the page title.
  • alternate_name: Other names for the food.
  • image: Image filename without brackets.
  • image_size: Optional image size override.
  • image_alt: Concise alternative text for the image.
  • caption: Image caption.
  • place_of_origin: Place or jurisdiction of origin.
  • region: Region particularly associated with the food.
  • creator: Creator, when reliably known.
  • associated_cuisine: Culinary tradition with which the food is associated.
  • course: Course or meal in which it is served.
  • type: Type of food or dish.
  • serving_temperature: Typical serving temperature.
  • main_ingredients: Principal ingredients.
  • variations: Major recognized variations.
  • similar_dishes: Closely related foods.
  • calories: Food energy per stated serving, when relevant.
  • other: Other concise defining information.
  • footnotes: References or explanatory notes.
  • nocat: Set to yes to suppress automatic categorization.

Compatibility

The template accepts alt_name for alternate_name; image_caption for caption; origin or country for place_of_origin; cuisine for associated_cuisine; served for serving_temperature; main_ingredient or ingredients for main_ingredients; variants for variations; similar for similar_dishes; and energy for calories. These aliases match common prepared-food and beverage-template conventions.

Categorization

Articles using the template are added to Category:Cuisine. Categorization occurs only in the main namespace and may be suppressed with |nocat=yes.

Example

The following non-canonical example uses the preferred parameters:

Herbed grain cakes
Festival cakes
Place of origin Sample jurisdiction
Region Coastal Region
Associated cuisine Coastal cuisine
Course Main course
Type Savory cake
Serving temperature Warm
Main ingredients Grain flour, herbs, oil
Variations Filled cakes; sweet festival cakes
Similar dishes Griddle bread

Compatibility tests

This test uses imported and beverage-style aliases:

Legacy Parameter Dish
Sample cakes
Place of origin Sample City
Associated cuisine Civic cuisine
Serving temperature Hot
Main ingredients Grain flour
Variations Herb and cheese varieties
Similar dishes Flatbread
Food energy 320 units per serving