Difference between revisions of "Template:Infobox recipe/doc"

m
fixes typo
(creates template doc)
 
m (fixes typo)
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
==Usage==
==Usage==
{{Infobox prepared food
{{Infobox recipe
| name            = {{{name}}}
| name            = {{{name}}}
| image            = {{{image}}}
| image            = {{{image}}}
| caption          = {{{caption}}}
| caption          = {{{caption}}}
| alternate_name  = {{{alternate_name}}}
| alternate_name  = {{{alternate_name}}}
| country         = {{{country}}}
| summary         = {{{summary}}}
| region          = {{{region}}}
| location        = {{{location}}}
| national_cuisine = {{{national_cuisine}}}
| creator          = {{{creator}}}
| creator          = {{{creator}}}
| year             = {{{year}}}
| date             = {{{date}}}
| time1            = {{{time1}}}
| time1            = {{{time1}}}
| time2            = {{{time2}}}
| time2            = {{{time2}}}
Line 19: Line 18:
| main_ingredient  = {{{main_ingredient}}}
| main_ingredient  = {{{main_ingredient}}}
| minor_ingredient = {{{minor_ingredient}}}
| minor_ingredient = {{{minor_ingredient}}}
| yield            = {{{yield}}}
| instructions    = {{{instructions}}}
| variations      = {{{variations}}}
| variations      = {{{variations}}}
| serving_size    = 100 g
| serving_size    = 100 g
Line 31: Line 32:
}}
}}
<pre style="overflow:auto">
<pre style="overflow:auto">
{{Infobox prepared food
{{Infobox recipe
| name            =  
| name            =  
| image            =  
| image            =  
| caption          =  
| caption          =  
| alternate_name  =  
| alternate_name  =  
| country         =  
| summary         =
| region          =
| location        =  
| national_cuisine =  
| creator          =  
| creator          =  
| year             =  
| date             =  
| time1            =  
| time1            =  
| time2            =  
| time2            =  
Line 46: Line 46:
| type            =  
| type            =  
| served          =  
| served          =  
| main_ingredient  =  
| main_ingredient  = <!-- List amounts in parentheses: <nowiki>{{Plainlist|Banana (1)|Yogurt (1 cup)}}</nowiki> -->
| minor_ingredient =  
| minor_ingredient = <!-- List amounts in parentheses: <nowiki>{{Plainlist|Vanilla extract (1 tsp)|Cinammon (0.5 tsp)}}</nowiki> -->
| yield            =
| instructions    =  
| variations      =  
| variations      =  
| serving_size    = 100 g
| serving_size    = 100 g
Line 69: Line 71:
* '''caption'''&nbsp;– Leave empty for no image caption.
* '''caption'''&nbsp;– Leave empty for no image caption.
* '''alternate name'''&nbsp;– Alternate name for the dish.
* '''alternate name'''&nbsp;– Alternate name for the dish.
* '''country'''&nbsp;– Country of origin of the dish.
* '''summary'''&nbsp;– Summary description of the dish.
* '''region'''&nbsp;– Region or state the dish was developed.
* '''location'''&nbsp;– Location of creation of the dish.
* '''national_cuisine'''&nbsp;– Cuisine by nationality.
* '''creator'''&nbsp;– Creator(s) of the dish.
* '''creator'''&nbsp;– Creator(s) of the dish.
* '''year'''&nbsp;– Year of invention of the dish.
* '''year'''&nbsp;– Year of creation of the dish.
* '''time1'''&nbsp;– Min time for cooking the dish.
* '''time1'''&nbsp;– Min time for cooking the dish.
* '''time2'''&nbsp;– Max time for cooking the dish.
* '''time2'''&nbsp;– Max time for cooking the dish.
Line 80: Line 81:
* '''served'''&nbsp;– Serving temperature for the dish.
* '''served'''&nbsp;– Serving temperature for the dish.
* '''main_ingredient'''&nbsp;– Main ingredient(s) for the dish. Separate multiple values by using {{tl|Plainlist}}.
* '''main_ingredient'''&nbsp;– Main ingredient(s) for the dish. Separate multiple values by using {{tl|Plainlist}}.
** List amounts in parentheses, such as: <nowiki>{{Plainlist|Banana (1)|Yogurt (1 cup)}}</nowiki>
* '''minor_ingredient'''&nbsp;– Minor ingredient(s) for the dish.
* '''minor_ingredient'''&nbsp;– Minor ingredient(s) for the dish.
** List amounts in parentheses, such as: <nowiki>{{Plainlist|Vanilla extract (1 tsp)|Cinammon (0.5 tsp)}}</nowiki>
* '''yield'''&nbsp;– Yield of recipe in serving sizes, based on ingredients and instructions.
* '''instructions'''&nbsp;– Instructions for preparing the dish. Separate multiple values by using {{tl|Plainlist}}.
* '''variations'''&nbsp;– Variations for making the dish.
* '''variations'''&nbsp;– Variations for making the dish.
* '''serving_size'''&nbsp;– Size of the default serving, (use 100 g for the standard 100 [[gram|g]] serving size).
* '''serving_size'''&nbsp;– Size of the default serving, (use 100 g for the standard 100 [[gram|g]] serving size).
Line 92: Line 97:
* '''other'''&nbsp;– Other information.
* '''other'''&nbsp;– Other information.
* '''complexity'''&nbsp;– The complexity of cooking. Should if provided contain a number between 1 and 5.
* '''complexity'''&nbsp;– The complexity of cooking. Should if provided contain a number between 1 and 5.
* '''no_recipes'''&nbsp;– set to 'true' to suppress the recipe search links
* '''no_commons'''&nbsp;– set to 'true' to suppress the commons search links


==Microformats==
==Microformats==
===Adr===
{{UF-adr}}
===Recipe===
===Recipe===
{{UF-hrecipe}}
{{UF-hrecipe}}
<includeonly>
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
==See also==
* [[Template:Nutritional value]]
* [[Template:Infobox brand]]
<includeonly>
[[Category:Food infobox templates|prepared food]]
</includeonly>
</includeonly>