Template:Recipe: Difference between revisions
No edit summary |
No edit summary |
||
(9 intermediate revisions by the same user not shown) | |||
Line 23: | Line 23: | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
{{#template_display:_format=table}} | <!--{{#template_display:_format=table}}--> | ||
<table class="customInfoTable"> | <table class="customInfoTable"> | ||
<tr> | <tr> | ||
<th colspan="2">[[Name::{{FULLPAGENAME}}]]</th> | <th colspan="2">[[Name::{{FULLPAGENAME}}]]</th> | ||
</tr> | </tr> | ||
{{#if:{{{RecipeImg|}}}| | |||
<tr> | <tr> | ||
<td colspan="2" style="text-align: center;"> | <td colspan="2" style="text-align: center;"> | ||
Line 34: | Line 35: | ||
</td> | </td> | ||
</tr> | </tr> | ||
}} | |||
{{#if:{{{RecipeCategory|}}}| | |||
<tr> | <tr> | ||
<td>Category</td> | <td>Category</td> | ||
<td>{{#arraymap:{{{RecipeCategory|}}}|,|x|[[Has Category::x]]}}</td> | <td>{{#arraymap:{{{RecipeCategory|}}}|,|x|[[Has Category::x]]}}</td> | ||
</tr> | </tr> | ||
}} | |||
{{#if:{{{RecipeFinalObjectives|}}}| | |||
<tr> | <tr> | ||
<td>Final Objectives</td> | <td>Final Objectives</td> | ||
<td>{{{RecipeFinalObjectives|}}}</td> | <td>[[Final objectives::{{{RecipeFinalObjectives|}}}]]</td> | ||
</tr> | </tr> | ||
}} | |||
{{#if:{{{RecipeSpecificObjectives|}}}| | |||
<tr> | <tr> | ||
<td>Specific Objectives</td> | <td>Specific Objectives</td> | ||
<td>{{{RecipeSpecificObjectives|}}}</td> | <td>[[Specific objectives::{{{RecipeSpecificObjectives|}}}]]</td> | ||
</tr> | </tr> | ||
}} | |||
{{#if:{{{RecipeOutcomes|}}}| | |||
<tr> | <tr> | ||
<td>Outcome</td> | <td>Outcome</td> | ||
<td>{{{RecipeOutcomes|}}}</td> | <td>[[Outcome::{{{RecipeOutcomes|}}}]]</td> | ||
</tr> | </tr> | ||
}} | |||
{{#if:{{{RecipeDifficultyLevel|}}}| | |||
<tr> | <tr> | ||
<td>Difficulty Level</td> | <td>Difficulty Level</td> | ||
<td>[[Difficulty level::{{{RecipeDifficultyLevel|}}}]]</td> | <td>[[Difficulty level::{{{RecipeDifficultyLevel|}}}]]</td> | ||
</tr> | </tr> | ||
}} | |||
{{#if:{{{RecipeCostScore|}}}| | |||
<tr> | <tr> | ||
<td>Cost Score</td> | <td>Cost Score</td> | ||
<td>[[Cost score::{{{RecipeCostScore|}}}]]</td> | <td>[[Cost score::{{{RecipeCostScore|}}}]]</td> | ||
</tr> | </tr> | ||
}} | |||
{{#if:{{{RecipeBudgetDescription|}}}| | |||
<tr> | <tr> | ||
<td>Budget Description</td> | <td>Budget Description</td> | ||
<td>{{{RecipeBudgetDescription|}}}</td> | <td>[[Budget description::{{{RecipeBudgetDescription|}}}]]</td> | ||
</tr> | </tr> | ||
}} | |||
{{#if:{{{RecipeAuthor|}}}| | |||
<tr> | |||
<td>Author</td> | |||
<td>[[Author::User:{{{RecipeAuthor|}}}]]</td> | |||
</tr> | |||
}} | |||
</table> | </table> | ||
==Video== | |||
[[Has video::{{{RecipeVideo|}}}]] | |||
==Ingredients== | ==Ingredients== | ||
{{#arraymap:{{{RecipeIngredients|}}}|Template:Ingredient}} | {{#arraymap:{{{RecipeIngredients|}}}|{{Template:Ingredient}}|<br />}} | ||
==Instructions== | ==Instructions== | ||
{{#arraymap:{{{RecipeInstructions|}}}|Template:Instruction}} | {{#arraymap:{{{RecipeInstructions|}}}|{{Template:Instruction}}|<br />}} | ||
==Resources== | ==Resources== | ||
{{#arraymap:{{{RecipeResources|}}}|Template:Resource}} | {{#arraymap:{{{RecipeResources|}}}|{{Template:Resource}}|<br />}} | ||
==Tips and Tricks== | ==Tips and Tricks== | ||
{{#arraymap:{{{RecipeTips|}}}|Template:Tip}} | {{#arraymap:{{{RecipeTips|}}}|{{Template:Tip}}|<br />}} | ||
==FAQ== | ==FAQ== | ||
{{#arraymap:{{{RecipeFAQ|}}}|Template:FAQ}} | {{#arraymap:{{{RecipeFAQ|}}}|{{Template:FAQ}}|<br />}} | ||
==Success Story== | ==Success Story== | ||
{{#arraymap:{{{RecipeSuccessStory|}}}|Template:SuccessStory}} | {{#arraymap:{{{RecipeSuccessStory|}}}|{{Template:SuccessStory}}|<br />}} | ||
[[Category:Recipe]] | [[Category:Recipe]] | ||
[[Category:{{{RecipeCategory|}}}]] | [[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.