Template:Recipe summary
Usage
{{recipe summary
| category =
| 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 =
}}
- All parameters to the {{recipesummary}} template are optional.
- The "Category" tries to resolve to an actual category, but does not include the recipe in that category.
- Difficulty is between 1 and 5 inclusive
- The difficulty includes the recipe in one of the following categories:
Examples
Named parameters, All values
{{recipe summary
| category = Dessert recipes
| 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 | |
|---|---|
| Category | Dessert recipes |
| Cuisine | American |
| Recipe origin | Canada |
| Yield | 4 burgers |
| Servings | 1-2 |
| Energy | 100 Cal (400 kJ) |
| Time | 30 minutes |
| Difficulty | |
| Note | Requires specific tools |
Named parameters, Partial values
{{recipe summary
| category = Dessert recipes
| servings = 1-2
| time = 30 minutes
| image = [[File:Hamburger_sandwich.jpg|300px]]
}}
| Recipe summary | |
|---|---|
| Category | Dessert recipes |
| Servings | 1-2 |
| Time | 30 minutes |
TemplateData
TemplateData for Recipe summary
Infobox for recipes in the cookbook
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | Name name | The name of the recipe. Defaults to PAGENAME if not set.
| String | optional |
| Category | Category category | Category of the recipe.
| Unknown | suggested |
| Cuisine | Cuisine cuisine | no description
| Unknown | optional |
| Origin | Origin 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.
| Unknown | optional |
| Yield | Yield yield | How much the recipe makes.
| Unknown | suggested |
| Servings | Servings servings | The number(s) of servings the recipe would make.
| Unknown | suggested |
| Time | Time time | Time needed to complete the recipe.
| Unknown | suggested |
| Difficulty | Difficulty difficulty | The difficulty of finishing the recipe on a scale of 1~5.
| Number | suggested |
| Image | Image image | An image of the product of the recipe
| Unbalanced wikitext | suggested |
| Energy | Energy energy | Energy intake of the product of the recipe.
| String | suggested |
| Note | Note note | Any notes on the recipe. | String | optional |
| Noincludecat | Noincludecat | When this parameter is set to anything, don't put the page in the category specified in the "category" parameter. | Boolean | optional |
| Rating | rating | no description | Number | deprecated |
See also
- {{recipe}}