Form:RecipeForm: Difference between revisions

    From UNITApedia
    No edit summary
    No edit summary
    Line 11: Line 11:
    {| class="formtable"
    {| class="formtable"
    ! Categories:  
    ! Categories:  
    | {{{field|RecipeCategory|input type=dropdown}}}
    | {{{field|RecipeCategory|property=RecipeCategory|input type=dropdown}}}
    |-
    |-
    ! Ingredients:  
    ! Ingredients:  
    | {{{field|RecipeIngredients|input type=combobox}}}
    | {{{field|RecipeIngredients|property=Has ingredients|class=in-front|input type=combobox}}}
    |-
    |-
    ! Level of difficulty:  
    ! Level of difficulty:  
    | {{{field|RecipeDifficultyLevel|input type=rating|allow half stars}}}
    | {{{field|RecipeDifficultyLevel|property=Difficulty level|input type=rating|allow half stars|class=to-back}}}
    |-
    |-
    ! Budget description:  
    ! Budget description:  
    | {{{field|RecipeBudgetDescription|input type=regexp|regexp=/^\d*$/|message=Only numbers!|base type=regexp}}}
    | {{{field|RecipeBudgetDescription|property=Budget description|input type=regexp|regexp=/^\d*$/|message=Only numbers!|base type=regexp}}}
    |-
    |-
    ! Cost score:  
    ! Cost score:  
    | {{{field|RecipeCostScore|input type=rating|allow half stars}}}
    | {{{field|RecipeCostScore|property=Budget score|input type=rating|allow half stars}}}
    |-
    |-
    ! Image:  
    ! Image:  
    | {{{field|RecipeImg|uploadable|image preview}}}
    | {{{field|RecipeImg|property=Has image|uploadable|image preview}}}
    |-
    |-
    ! Video:  
    ! Video:  
    | {{{field|url|RecipeVideo}}}
    | {{{field|url|RecipeVideo|property=Has video}}}
    |}
    |}
    {{{end template}}}
    {{{end template}}}

    Revision as of 12:11, 21 August 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.