ढाँचा:Recipe summary
स्वरूप
(ढाँचा:Recipesummaryबाट अनुप्रेषित)
प्रयोग
[सम्पादन गर्नुहोस्]{{recipe summary | category = | servings = | time = | difficulty = <!-- Should if provided contain a number between 1 and 5 --> | image = | energy = | 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 | servings = 1-2 | time = 30 minutes | difficulty = 3 | image = [[Image:Hamburger_sandwich.jpg|300px]] | energy = 100 Cal (400 kJ) | note = Requires specific tools }}
Recipe summary | |
श्रेणी | Dessert recipes |
---|---|
खाने व्यक्ति | 1-2 |
उर्जा | 100 Cal (400 kJ) |
समय | 30 minutes |
कठिनाई | |
टिप्पणी | Requires specific tools |
Positional parameters, All values
[सम्पादन गर्नुहोस्]{{recipe summary|Dessert recipes|1-2|40 minutes|3|[[Image:Hamburger_sandwich.jpg|300px]]|100 Cal (400 kJ)|Requires specific tools}}
Note that some parameters should not have any newlines or spaces around them when using positional parameters as it will break the template.
Recipe summary | |
श्रेणी | Dessert recipes |
---|---|
खाने व्यक्ति | 1-2 |
उर्जा | 100 Cal (400 kJ) |
समय | 40 minutes |
कठिनाई | |
टिप्पणी | Requires specific tools |
Named parameters, Partial values
[सम्पादन गर्नुहोस्]{{recipe summary | category = Dessert recipes | servings = 1-2 | time = 30 minutes | image = [[Image:Hamburger_sandwich.jpg|300px]] }}
Recipe summary | |
श्रेणी | Dessert recipes |
---|---|
खाने व्यक्ति | 1-2 |
समय | 30 minutes |
Positional parameters, Partial values, Subsequent positional parameters
[सम्पादन गर्नुहोस्]{{recipe summary|Dessert recipes|1-2|30 minutes||[[Image:Hamburger_sandwich.jpg|300px]]||}}</nowiki>
Recipe summary | |
श्रेणी | Dessert recipes |
---|---|
खाने व्यक्ति | 1-2 |
समय | 30 minutes |
Positional parameters, Partial values, No subsequent parameters
[सम्पादन गर्नुहोस्]If you do not need later positional parameters, you can omit the "|"s.
{{recipe summary|Dessert recipes|1-2|30 minutes}}
Recipe summary | |
श्रेणी | Dessert recipes |
---|---|
खाने व्यक्ति | 1-2 |
समय | 30 minutes |
Positional parameters, Partial values, Named subsequent parameters
[सम्पादन गर्नुहोस्]As above, if you do not need later positional parameters, you can omit the "|"s. You may wish to include these via named parameters for clarity or brevity:
{{recipe summary|Dessert recipes|1-2|30 minutes|image=[[Image:Hamburger_sandwich.jpg|300px]]}}
Recipe summary | |
श्रेणी | Dessert recipes |
---|---|
खाने व्यक्ति | 1-2 |
समय | 30 minutes |
See also
[सम्पादन गर्नुहोस्]- {{recipe}}
The above documentation is transcluded from ढाँचा:Recipe summary/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |