Template:Ingredient: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:Item|Quantity}}
{{#template_params:Name|Quantity|Yummy (label=Yummy?)|Creator (namespace=User)|TheURL}}
{{#cargo_declare:_table=Ingredients|Item=String|Quantity=String}}
{{#cargo_declare:_table=Ingredients|Name=String|Quantity=String|Yummy=String (allowed values=No, Somewhat, Very)|Creator=Page|TheURL=URL}}
</noinclude><includeonly>{{#cargo_store:_table=Ingredients}}
</noinclude><includeonly>{{#cargo_store:_table=Ingredients|Quantity={{{Quantity|}}} }}
{{#template_display:_format=standard}}</includeonly>
{{#template_display:_format=standard}}
 
'''Quantity, again:''' {{{Quantity|}}}
</includeonly>

Latest revision as of 21:21, March 6, 2023

This is the "Ingredient" template.

It should be called in the following format:

{{Ingredient
|Name=
|Quantity=
|Yummy=
|Creator=
|TheURL=
}}

Edit the page to see the template text.

This template defines the table "Ingredients". View table.