Jump to content

Template:Recipe summary/doc

From Wikibooks, open books for an open world
{{recipe summary
| servings    = 
| time        = 
| difficulty  = <!-- Should if provided contain a number between 1 and 5 -->
| image       = 
| energy      = <!-- Should if provided contain the number of calories and cal (can include kJ)-->
| note        = 
}}

Examples

[edit source]

Named parameters, All values

[edit source]
{{recipe summary
| yield       = 4 burgers
| cuisine     = American
| origin      = Canada
| servings    = 1-2
| time        = 30 minutes
| difficulty  = 3
| image       = [[File:Hamburger_sandwich.jpg|300px]]
| energy      = 100 Cal (400 kJ)
| note        = Requires specific tools
}}
Recipe summary/doc
CuisineAmerican
Recipe originCanada
Yield4 burgers
Servings1-2
Energy100 Cal (400 kJ)
Time30 minutes
Difficulty
NoteRequires specific tools


Named parameters, Partial values

[edit source]
{{recipe summary
| servings    = 1-2
| time        = 30 minutes
| image       = [[File:Hamburger_sandwich.jpg|300px]]
}}
Recipe summary/doc
Servings1-2
Time30 minutes


TemplateData

[edit source]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Recipe summary

Infobox for recipes in the cookbook

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
NameName name

The name of the recipe. Defaults to PAGENAME if not set.

Auto value
{{subst:PAGENAME}}
Stringoptional
CuisineCuisine cuisine

no description

Example
Thai, Nigerian, Chinese, etc
Unknownsuggested
OriginOrigin origin

The region/cuisine in which the recipe was developed (not necessarily the origin of the dish), as well as the approximate date of recipe origin.

Example
Greece, 1970s
Unknownsuggested
YieldYield yield

How much the recipe makes.

Example
24 cookies, 2 cups, 500 g, etc.
Unknownsuggested
ServingsServings servings

The number(s) of servings the recipe would make.

Example
1~2
Unknownsuggested
TimeTime time

Time needed to complete the recipe.

Example
30 minutes
Unknownsuggested
DifficultyDifficulty difficulty

The difficulty of finishing the recipe on a scale of 1~5.

Suggested values
1 2 3 4 5
Numbersuggested
ImageImage image

An image of the product of the recipe

Example
[[File:Hamburger_sandwich.jpg|300px]]
Unbalanced wikitextsuggested
EnergyEnergy energy

Energy intake of the product of the recipe.

Example
100 Cal (400 kJ)
Stringsuggested
NoteNote note

Any notes on the recipe.

Stringoptional
NoincludecatNoincludecat

When this parameter is set to anything, don't put the page in the category specified in the "category" parameter.

Booleanoptional
Ratingrating

no description

Numberdeprecated
CategoryCategory category

no description

Unknowndeprecated

See also

[edit source]