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

Jump to navigation Jump to search
changes name to 'Infobox recipe', removes docs on deprecated wikibooks/commons links, adds Date docs, adds instructions field
(creates template doc)
 
(changes name to 'Infobox recipe', removes docs on deprecated wikibooks/commons links, adds Date docs, adds instructions field)
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}}}
| location        = {{{location}}}
| region          = {{{region}}}
| national_cuisine = {{{national_cuisine}}}
| creator          = {{{creator}}}
| creator          = {{{creator}}}
| year             = {{{year}}}
| date             = {{{date}}}
| time1            = {{{time1}}}
| time1            = {{{time1}}}
| time2            = {{{time2}}}
| time2            = {{{time2}}}
Line 19: Line 17:
| main_ingredient  = {{{main_ingredient}}}
| main_ingredient  = {{{main_ingredient}}}
| minor_ingredient = {{{minor_ingredient}}}
| minor_ingredient = {{{minor_ingredient}}}
| instructions    = {{{instructions}}}
| variations      = {{{variations}}}
| variations      = {{{variations}}}
| serving_size    = 100 g
| serving_size    = 100 g
Line 31: Line 30:
}}
}}
<pre style="overflow:auto">
<pre style="overflow:auto">
{{Infobox prepared food
{{Infobox recipe
| name            =  
| name            =  
| image            =  
| image            =  
| caption          =  
| caption          =  
| alternate_name  =  
| alternate_name  =  
| country          =
| location        =  
| region          =
| national_cuisine =  
| creator          =  
| creator          =  
| year             =  
| date             =  
| time1            =  
| time1            =  
| time2            =  
| time2            =  
Line 48: Line 45:
| main_ingredient  =  
| main_ingredient  =  
| minor_ingredient =  
| minor_ingredient =  
| instructions    =
| variations      =  
| variations      =  
| serving_size    = 100 g
| serving_size    = 100 g
Line 81: Line 79:
* '''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}}.
* '''minor_ingredient'''&nbsp;– Minor ingredient(s) for the dish.
* '''minor_ingredient'''&nbsp;– Minor ingredient(s) for the dish.
* '''instructions'''&nbspo;– 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 91:
* '''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>

Navigation menu