Template:Recipe: Difference between revisions

    From UNITApedia
    No edit summary
    No edit summary
    Line 1: Line 1:
    <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>
    <includeonly>
    {{#template_display:_format=table}}
    {{#template_display:_format=table}}
    Line 28: Line 5:
           <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 12:
           </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>{{{RecipeFinalObjectives|}}}</td>
         </tr>
         </tr>
        }}
        {{#if:{{{RecipeSpecificObjectives|}}}|
         <tr>
         <tr>
             <td>Specific Objectives</td>
             <td>Specific Objectives</td>
             <td>{{{RecipeSpecificObjectives|}}}</td>
             <td>{{{RecipeSpecificObjectives|}}}</td>
         </tr>
         </tr>
        }}
        {{#if:{{{RecipeOutcomes|}}}|
         <tr>
         <tr>
             <td>Outcome</td>
             <td>Outcome</td>
             <td>{{{RecipeOutcomes|}}}</td>
             <td>{{{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>{{{RecipeBudgetDescription|}}}</td>
         </tr>
         </tr>
        }}
    </table>
    </table>


    Line 81: Line 74:
    ==Success Story==
    ==Success Story==
    {{#arraymap:{{{RecipeSuccessStory|}}}|Template:SuccessStory}}
    {{#arraymap:{{{RecipeSuccessStory|}}}|Template:SuccessStory}}


    ==Video==
    ==Video==
    [[Has video::{{{RecipeVideo|}}}]]
    {{#if:{{{RecipeVideo|}}}|
    [[Has video::{{{RecipeVideo|}}}]
    }}


    [[Category:Recipe]]
    [[Category:Recipe]]
    [[Category:{{{RecipeCategory|}}}]]
    [[Category:{{{RecipeCategory|}}}]]
    </includeonly>
    </includeonly>

    Revision as of 13:02, 26 September 2024