Form:RecipeForm: Difference between revisions
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
Line 7: | Line 7: | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
<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}}} | |||
{| class="formtable" | {| class="formtable" | ||
! | ! Categories: | ||
| {{ | | {{{field|RecipeCategory|list|delimiter=,|property=RecipeCategory|input type=dropdown}}} | ||
| | |||
| | |||
|- | |- | ||
! | ! Ingredients: | ||
| {{input type= | | {{{field|RecipeIngredients|property=Has ingredients|input type=tokens|createbutton=Create new ingredient|createbutton params=Ingredient[Name]=}}} | ||
|- | |- | ||
! | ! Budget description: | ||
| {{input type= | | {{{field|RecipeBudgetDescription|property=Budget description|input type=regexp|regexp=/^\d*$/|message=Only numbers}}} | ||
|- | |- | ||
! | ! Cost score: | ||
| {{ | | {{{field|RecipeCostScore|property=Cost score|input type=rating|allow half stars}}} | ||
| | |||
|- | |- | ||
! | ! Level of difficulty: | ||
| {{input type= | | {{{field|RecipeDifficultyLevel|property=Difficulty level|input type=rating|allow half stars}}} | ||
|- | |- | ||
! | ! Image: | ||
| {{ | | {{{field|RecipeImg|property=Has image|uploadable|image preview}}} | ||
|- | |- | ||
! | ! Video: | ||
| {{ | | {{{field|url|RecipeVideo|property=Has video}}} | ||
| | |||
|} | |} | ||
{{{end template}}} | |||
'''Free text:''' | |||
{{{standard input|free text|rows=10}}} | |||
</includeonly> | </includeonly> |
Revision as of 08:52, 20 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.