Form:RecipeForm: Difference between revisions

    From UNITApedia
    No edit summary
    No edit summary
    Line 5: Line 5:


    {{#forminput:form=RecipeForm|autocomplete on category=Recipe}}
    {{#forminput:form=RecipeForm|autocomplete on category=Recipe}}
    {{#template_params:
      RecipeCategory
      |RecipeBudgetDescription (label=Budget description; display=nonempty)
      |RecipeCostScore (label=Cost score)
      |RecipeDifficultyLevel (label=Level of difficulty)
      |RecipeImg (label=Image)
      |RecipeVideo (label=Video)
      |RecipeIngredients (label=Ingredients; holds template=Recipe;)
    }}


    </noinclude><includeonly>
    </noinclude><includeonly>
    Line 14: Line 24:
    |-
    |-
    ! Ingredients:  
    ! Ingredients:  
    | {{{field|RecipeIngredients|list|delimiter=,|property=Has ingredients|input type=token}}}
    | {{{field|RecipeIngredients|property=Has ingredients|input type=tokens|createbutton=Create new ingredient|createbutton params=Ingredient[Name]=}}}
    |-
    |-
    ! Budget description:  
    ! Budget description:  

    Revision as of 08:45, 23 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.


    Error: #template_params can only be called within a template.