Form:RecipeForm: Difference between revisions

    From UNITApedia
    No edit summary
    No edit summary
    Line 50: Line 50:
    | {{{field|RecipeVideo|property=Has video|input type=url}}}
    | {{{field|RecipeVideo|property=Has video|input type=url}}}
    |}
    |}
    {{{field|RecipeIngredients|holds template}}}
    {{{field|RecipeInstructions|holds template}}}
    {{{field|RecipeResources|holds template}}}
    {{{field|RecipeTips|holds template}}}
    {{{field|RecipeFAQ|holds template}}}
    {{{field|RecipeSuccessStory|holds template}}}
    {{{end template}}}
    {{{end template}}}


    {{{for template|Ingredient|label=Ingredients|multiple}}}
    {{{for template|Ingredient|label=Ingredients|multiple|embed in field=Recipe[RecipeIngredients]}}}
    '''Ingredient:''' {{{field|1|property=Has ingredients|values from category=Ingredients|input type=combobox}}}
    '''Ingredient:''' {{{field|1|property=Has ingredients|values from category=Ingredients|input type=combobox}}}
    {{{end template}}}
    {{{end template}}}


    {{{for template|Instruction|label=Instructions|multiple}}}
    {{{for template|Instruction|label=Instructions|multiple|embed in field=Recipe[RecipeInstructions]}}}
    '''Step title:''' {{{field|1|property=Has instruction title|input type=text}}}
    '''Step title:''' {{{field|1|property=Has instruction title|input type=text}}}
    '''Step body:''' {{{field|2|property=Has instruction body|input type=textarea|autogrow}}}
    '''Step body:''' {{{field|2|property=Has instruction body|input type=textarea|autogrow}}}
    {{{end template}}}
    {{{end template}}}


    {{{for template|Resource|label=Resources|multiple}}}
    {{{for template|Resource|label=Resources|multiple|embed in field=Recipe[RecipeResources]}}}
    '''Resource:''' {{{field|1|property=Has resources|values from category=Resources|input type=combobox}}}
    '''Resource:''' {{{field|1|property=Has resources|values from category=Resources|input type=combobox}}}
    {{{end template}}}
    {{{end template}}}


    {{{for template|Tip|label=Tips|multiple}}}
    {{{for template|Tip|label=Tips|multiple|embed in field=Recipe[RecipeTips]}}}
    '''Tip:''' {{{field|1|property=Has tips|input type=combobox}}}
    '''Tip:''' {{{field|1|property=Has tips|input type=combobox}}}
    {{{end template}}}
    {{{end template}}}


    {{{for template|FAQ|label=FAQ|multiple}}}
    {{{for template|FAQ|label=FAQ|multiple|embed in field=Recipe[RecipeFAQ]}}}
    '''Question:''' {{{field|1|property=Has FAQ question|input type=text}}}
    '''Question:''' {{{field|1|property=Has FAQ question|input type=text}}}
    '''Answer:''' {{{field|2|property=Has FAQ answer|input type=textarea|autogrow}}}
    '''Answer:''' {{{field|2|property=Has FAQ answer|input type=textarea|autogrow}}}
    {{{end template}}}
    {{{end template}}}


    {{{for template|SuccessStory|label=Success stories|multiple}}}
    {{{for template|SuccessStory|label=Success stories|multiple|embed in field=Recipe[RecipeSuccessStory]}}}
    '''Story:''' {{{field|1|property=Has success stories}}}
    '''Story:''' {{{field|1|property=Has success stories}}}
    {{{end template}}}
    {{{end template}}}


    ! Free text:  
    <!--! Free text:  
    {{{standard input|free text|rows=10}}}
    {{{standard input|free text|rows=10}}}-->
    </includeonly>
    </includeonly>

    Revision as of 13:14, 26 September 2024


    This is the "RecipeForm" form. To create a page with this form, enter the page name below; if a page with that name already exists, you will be sent to a form to edit that page.