Difference between revisions of "Template:Semorg-recipe"
From SemanticOrganization
(Created page with "<noinclude>{{semorg-bundle}}</noinclude><includeonly>[[Category:{{int:semorg-recipe-category}}]]{{#semorg-set:recipe |time={{{time|}}} |source={{{source|}}} |preparat...") |
|||
(10 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
|name={{{name|}}} | |name={{{name|}}} | ||
|category={{{category|}}} | |category={{{category|}}} | ||
+ | |rating={{{rating|}}} | ||
}}{{#semorg-detail:recipe | }}{{#semorg-detail:recipe | ||
|heading={{{name}}} | |heading={{{name}}} | ||
+ | |rating={{{rating|}}} | ||
}}{{#semorg-table:recipe | }}{{#semorg-table:recipe | ||
− | |category={{{category|}}} | + | |category={{#if:{{{category|}}} |
− | |time={{{time|}}} | + | |[{{fullurl:{{int:semorg-recipe-page-name}}|recipe-category={{urlencode:{{{category|}}}}}}} {{{category|}}}] |
− | |ingredients={{{ingredients|}}} | + | }} |
+ | |time={{#if:{{{time|}}} | ||
+ | |{{{time|}}} min | ||
+ | }} | ||
+ | |ingredients={{#if:{{{ingredients|}}} | ||
+ | |<ul>{{{ingredients|}}}</ul> | ||
+ | }} | ||
|preparation={{{preparation|}}} | |preparation={{{preparation|}}} | ||
− | |source | + | }}{{#if:{{{source|}}} |
+ | |<div class="mt-3 semorg-list-row-details">{{int:semorg-field-recipe-source-name}}: {{{source|}}}</div> | ||
}}</includeonly> | }}</includeonly> |
Latest revision as of 10:55, 15 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-custom) and change the following system message to the name of the newly created page: MediaWiki:semorg-recipe-template