Template:Recipe: Difference between revisions

    From UNITApedia
    No edit summary
     
    No edit summary
    Line 15: Line 15:
    Edit the page to see the template text.
    Edit the page to see the template text.
    </noinclude><includeonly>
    </noinclude><includeonly>
    ==Categories==
    {{#arraymap:{{{RecipeCategory|}}}|,|x|[[Has Category::x]]}}


    <table class="customInfoTable">
        <tr>
          <th colspan="2">[[Name::{{{Dénomination|}}}]]</th>
        </tr>
        <tr>
          <td colspan="2" style="text-align: center;">
            [[Has image::{{{RecipeImg|}}}|350px]]
          </td>
        </tr>
        <tr>
            <td>Catégorie</td>
            <td>{{#arraymap:{{{RecipeCategory|}}}|,|x|[[Has Category::x]]}}</td>
        </tr>


    ==Ingredients==
        <tr>
    {{#arraymap:{{{RecipeIngredients|}}}|,|x|[[Has Ingredients::x]]}}
            <td>Difficulty level</td>
            <td>[[Difficulty level::{{{RecipeDifficultyLevel|}}}]]</td>
        </tr>


        <tr>
            <td>Cost score</td>
            <td>[[Cost score::{{{RecipeCostScore|}}}]]</td>
        </tr>


    ==Level of difficulty==
        <tr>
    [[Difficulty level::{{{RecipeDifficultyLevel|}}}]]
            <td>Budget description</td>
            <td>[[Budget description::{{{RecipeBudgetDescription|}}}]]</td>
        </tr>


    ==Budget description==
       
    [[Budget description::{{{RecipeBudgetDescription|}}}]]
    </table>


    ==Cost score==
    [[Cost score::{{{RecipeCostScore|}}}]]


    ==Image==
    ==Ingredients==
    [[Has image::{{{RecipeImg|}}}]]
     
    {{#arraymap:{{{RecipeIngredients|}}}|,|x|[[Has Ingredients::x]]}}


    ==Video==
    ==Video==

    Revision as of 12:22, 21 August 2024

    This is the "Recipe" template. It should be called in the following format:

    {{Recipe
    |RecipeCategory=
    |RecipeIngredients=
    |RecipeDifficultyLevel=
    |RecipeBudgetDescription=
    |RecipeCostScore=
    |RecipeImg=
    |RecipeVideo=
    }}
    

    Edit the page to see the template text.