Form:RecipeForm: Difference between revisions

    From UNITApedia
    No edit summary
    Tag: Manual revert
    No edit summary
    Line 7: Line 7:


    </noinclude><includeonly>
    </noinclude><includeonly>
    {{{info|add title=Add a new recipe|edit title=Edit a recipe}}}
    <div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
    <div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
    {{{for template|Recipe}}}
    {{{for template|Recipe}}}
    {| class="formtable"
    {| class="formtable"
    ! Categories:  
    ! Category:  
    | {{{field|RecipeCategory|list|delimiter=,|property=RecipeCategory|input type=dropdown}}}
    | {{{field|RecipeCategory|property=Category|input type=combobox|existing values only|placeholder=Enter category name}}}
    |-
    |-
    ! Ingredients:  
    ! Final objectives:  
    | {{{field|RecipeIngredients|property=Has ingredients|input type=tokens|createbutton=Create new ingredient|createbutton params=Ingredient[Name]=}}}
    | {{{field|RecipeFinalObjectives|property=Final objectives|input type=combobox|placeholder=Enter final objectives}}}
    |-
    |-
    ! Specific objectives:
    | {{{field|RecipeSpecificObjectives|property=Specific objectives|input type=textarea|autogrow|placeholder=Write a short description for your recipe explaining its specific objectives!}}}
    |-
    ! Outcome:
    | {{{field|RecipeOutcomes|property=Outcome|input type=combobox|existing values only|placeholder=Select outcome}}}
    ! Language:
    | {{{field|RecipeLang|property=Language|input type=combobox|existing values only|placeholder=Select language}}}
    ! Level required:
    | {{{field|RecipeLevelRequired|property=Level required|input type=combobox|existing values only|placeholder=Select level required}}}
    |-
    ! Calendar and time:
    | {{{field|RecipeCalendarTime|property=Calendar and time|input type=textarea|autogrow|placeholder=Enter calendar and time details}}}
    |-
    ! Budget and cost:
    | {{{field|RecipeBudgetCost|property=Budget and cost|input type=regexp|regexp=/^\d*$/|message=Only numbers}}}
    ! Budget description:  
    ! Budget description:  
    | {{{field|RecipeBudgetDescription|property=Budget description|input type=regexp|regexp=/^\d*$/|message=Only numbers}}}
    | {{{field|RecipeBudgetDescription|property=Budget description|input type=text|placeholder=Enter budget description}}}
    |-
    |-
    ! Cost score:  
    ! Cost score:  
    Line 24: Line 40:
    ! Level of difficulty:  
    ! Level of difficulty:  
    | {{{field|RecipeDifficultyLevel|property=Difficulty level|input type=rating|allow half stars}}}
    | {{{field|RecipeDifficultyLevel|property=Difficulty level|input type=rating|allow half stars}}}
    |-
    ! Author:
    | {{{field|RecipeAuthor|property=Author|input type=text|placeholder=Enter author name}}}
    |-
    |-
    ! Image:  
    ! Image:  
    Line 29: Line 48:
    |-
    |-
    ! Video:  
    ! Video:  
    | {{{field|url|RecipeVideo|property=Has video}}}
    | {{{field|RecipeVideo|property=Has video|input type=url}}}
    |}
    |}
    {{{end template}}}
    {{{end template}}}


    '''Free text:'''
    {{{for template|Ingredient|label=Ingredients|multiple}}}
    '''Ingredient:''' {{{field|1}}}
     
    '''Quantity:''' {{{field|2}}}
    {{{end template}}}
     
    {{{for template|Instruction|label=Instructions|multiple}}}
    '''Step:''' {{{field|1}}}
     
    '''Description:''' {{{field|2|input type=textarea}}}
    {{{end template}}}
     
    {{{for template|Resource|label=Resources|multiple}}}
    '''Resource:''' {{{field|1}}}
     
    '''URL:''' {{{field|2|input type=url}}}
    {{{end template}}}
     
    {{{for template|Tip|label=Tips|multiple}}}
    '''Tip:''' {{{field|1}}}
     
    '''Description:''' {{{field|2|input type=textarea}}}
    {{{end template}}}
     
    {{{for template|FAQ|label=FAQ|multiple}}}
    '''Question:''' {{{field|1}}}
     
    '''Answer:''' {{{field|2|input type=textarea}}}
    {{{end template}}}
     
    {{{for template|SuccessStory|label=Success stories|multiple}}}
    '''Story:''' {{{field|1}}}
     
    '''Description:''' {{{field|2|input type=textarea}}}
    {{{end template}}}


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

    Revision as of 11:52, 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.