Template: Semorg-recipe-ingredient: Difference between revisions
From SemanticOrganization
(Created page with "<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#semorg-subobject: |recipe={{FULLPAGENAME}} |amount={{{amount|}}} |ingredient={{{ingredient|}}} }}<li>{{{amount|}...") |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#semorg-subobject: | <noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#semorg-set:recipe | ||
|ingredient={{{ingredient|}}} | |||
}}{{#semorg-subobject:recipe-ingredient | |||
|recipe={{FULLPAGENAME}} | |recipe={{FULLPAGENAME}} | ||
|amount={{{amount|}}} | |amount={{{amount|}}} | ||
|ingredient={{{ingredient|}}} | |ingredient={{{ingredient|}}} | ||
}}<li>{{{amount|}}} {{{ingredient|}}}</li></includeonly> | |note={{{note|}}} | ||
}}<li>{{{amount|}}}{{#if:{{{amount|}}}|{{#if:{{{ingredient|}}}|<nowiki> </nowiki>}}}}{{#if:{{{ingredient|}}} | |||
|[{{fullurl:{{int:semorg-recipe-page-name}}|recipe-ingredient={{urlencode:{{{ingredient|}}}}}}} {{{ingredient|}}}] | |||
}}{{#if:{{{note|}}} | |||
|<nowiki> </nowiki>({{{note|}}}) | |||
}}</li></includeonly> |
Latest revision as of 17:23, 14 March 2023
This page is part of the Semantic Organization extension.
If you want to customize this template you can copy its contents to another page (use for example Template:Semorg-recipe-ingredient-custom) and change the following system message to the name of the newly created page: MediaWiki:semorg-recipe-ingredient-template