Template:Recipe: Difference between revisions
No edit summary |
No edit summary |
||
(23 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#template_params: | |||
Recipe | |||
|Category (label=Category of recipes;display=nonempty) | |||
|Final objectives | |||
| | |Specific objectives (label=Specif objectives) | ||
| | |Ingredients (holds template=Recipe ingredient) | ||
| | |Outcome (label=Outcomes : ECTS or certificate of attendance) | ||
| | |Difficulty (label=Level of difficulty;display=nonempty) | ||
| | |Calendar and time (label=Calendar and time needed) | ||
| | |Budget and cost (display=nonempty) | ||
| | |Budget description (label=Budget description) | ||
|Roles and responsabilities | |||
|Instructions (display=nonempty) | |||
|Author (label=Name of the author) | |||
|Image | |||
|Resources | |||
|Tips (label=Tips and Tricks) | |||
|FAQ | |||
|Success (label=Success story) | |||
}} | }} | ||
</noinclude> | |||
<includeonly> | |||
<!--{{#template_display:_format=table}}--> | |||
<table class="customInfoTable"> | |||
<tr> | |||
<th colspan="2">[[Name::{{FULLPAGENAME}}]]</th> | |||
</tr> | |||
{{#if:{{{RecipeImg|}}}| | |||
<tr> | |||
<td colspan="2" style="text-align: center;"> | |||
[[File:{{{RecipeImg|}}}|350px]] | |||
<div style="display: none">[[Has image::{{{RecipeImg|}}}]]</div> | |||
</td> | |||
</tr> | |||
}} | |||
{{#if:{{{RecipeCategory|}}}| | |||
<tr> | |||
<td>Category</td> | |||
<td>{{#arraymap:{{{RecipeCategory|}}}|,|x|[[Has Category::x]]}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{RecipeFinalObjectives|}}}| | |||
<tr> | |||
<td>Final Objectives</td> | |||
<td>[[Final objectives::{{{RecipeFinalObjectives|}}}]]</td> | |||
</tr> | |||
}} | |||
{{#if:{{{RecipeSpecificObjectives|}}}| | |||
<tr> | |||
<td>Specific Objectives</td> | |||
<td>[[Specific objectives::{{{RecipeSpecificObjectives|}}}]]</td> | |||
</tr> | |||
}} | |||
{{#if:{{{RecipeOutcomes|}}}| | |||
<tr> | |||
<td>Outcome</td> | |||
<td>[[Outcome::{{{RecipeOutcomes|}}}]]</td> | |||
</tr> | |||
}} | |||
{{#if:{{{RecipeDifficultyLevel|}}}| | |||
<tr> | |||
<td>Difficulty Level</td> | |||
<td>[[Difficulty level::{{{RecipeDifficultyLevel|}}}]]</td> | |||
</tr> | |||
}} | |||
{{#if:{{{RecipeCostScore|}}}| | |||
<tr> | |||
<td>Cost Score</td> | |||
<td>[[Cost score::{{{RecipeCostScore|}}}]]</td> | |||
</tr> | |||
}} | |||
{{#if:{{{RecipeBudgetDescription|}}}| | |||
<tr> | |||
<td>Budget Description</td> | |||
<td>[[Budget description::{{{RecipeBudgetDescription|}}}]]</td> | |||
</tr> | |||
}} | |||
{{#if:{{{RecipeAuthor|}}}| | |||
<tr> | |||
<td>Author</td> | |||
<td>[[Author::User:{{{RecipeAuthor|}}}]]</td> | |||
</tr> | |||
}} | |||
</table> | |||
==Video== | |||
[[Has video::{{{RecipeVideo|}}}]] | |||
==Ingredients== | ==Ingredients== | ||
{{#arraymap:{{{RecipeIngredients|}}}| | {{#arraymap:{{{RecipeIngredients|}}}|{{Template:Ingredient}}|<br />}} | ||
==Instructions== | |||
{{#arraymap:{{{RecipeInstructions|}}}|{{Template:Instruction}}|<br />}} | |||
== | ==Resources== | ||
{{#arraymap:{{{RecipeResources|}}}|{{Template:Resource}}|<br />}} | |||
== | ==Tips and Tricks== | ||
{{#arraymap:{{{RecipeTips|}}}|{{Template:Tip}}|<br />}} | |||
== | ==FAQ== | ||
{{#arraymap:{{{RecipeFAQ|}}}|{{Template:FAQ}}|<br />}} | |||
== | ==Success Story== | ||
{{#arraymap:{{{RecipeSuccessStory|}}}|{{Template:SuccessStory}}|<br />}} | |||
[[Category:Recipe]] | [[Category:Recipe]] | ||
[[Category:{{{RecipeCategory|}}}]] | |||
</includeonly> | </includeonly> |
Latest revision as of 14:27, 26 September 2024
This is the "Recipe" template.
It should be called in the following format:
{{Recipe |Recipe= |Category= |Final objectives= |Specific objectives= |Ingredients= |Outcome= |Difficulty= |Calendar and time= |Budget and cost= |Budget description= |Roles and responsabilities= |Instructions= |Author= |Image= |Resources= |Tips= |FAQ= |Success= }}
Edit the page to see the template text.