Template:Infobox prepared food/doc
This is a documentation subpage for Template:Infobox prepared food. It contains usage information, categories and other content that is not part of the original template page. |
Usage
{{{image}}} | |
Origin | |
---|---|
Alternative name(s) | {{{alternate name}}} |
Place of origin | {{{country}}} |
Region or state | {{{region}}} |
Creator(s) | {{{creator}}} |
Details | |
Course served | {{{course}}} |
Serving temperature | {{{served}}} |
Main ingredient(s) | {{{main ingredient}}} |
Variations | {{{variations}}} |
Approximate calories per serving | {{{calories}}} |
Other information | {{{other}}} |
{{Infobox Prepared Food | name = | image = | caption = | alternate_name = | country = | region = | creator = | course = | served = | main_ingredient = | variations = | calories = | other = }}
Parameters
Copy and paste the infobox above into the desired article and fill in the values after the equals (=) sign. All of the fields are optional. For questions or examples please see the discussion page.
- name - This comes to the top of the box. If omitted, will be inferred from the page title.
- image - If there's not an image available, leave the field empty.
- caption - Leave empty for no image caption.
- alternate name - Alternate name for the dish.
- country - Country of origin of the dish.
- region - Region or state the dish was developed
- creator - Creator(s) of the dish
- course - Appestiser, main course, dessert.
- served - Serving temperature for the dish.
- main_ingredient - Main ingredient(s) for the dish.
- variations - Variations for making the dish.
- calories - Calories per serving
- other - Other information
Microformats
Adr
The HTML mark-up produced by this template includes an adr microformat that makes postal addresses or their component parts (regions, postal codes, country names, etc) readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject on English Wikipedia.
- Classes used
The HTML classes of this microformat include:
- adr
- country-name
- extended-address
- locality
- postal-code
- region
- street-address
Recipe
The HTML mark up produced by this template includes an hRecipe microformat, which makes food recipes and individual foods parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person. For more information about the use of microformats on Wikipedia, please see the microformat project.
hRecipe uses HTML classes including:
- fn
- ingredient
- instructions
- [more, tba]
Please do not rename or remove these classes.