Difference between revisions of "Template:Semorg-recipe"

From SemanticOrganization
Jump to: navigation, search
Line 8: Line 8:
 
   |heading={{{name}}}
 
   |heading={{{name}}}
 
}}{{#semorg-table:recipe  
 
}}{{#semorg-table:recipe  
   |category={{{category|}}}
+
   |category={{#if:{{{category|}}}
   |time={{#if:{{{time|}}}|{{{time|}}} min}}
+
    |[{{fullurl:{{int:semorg-recipe-page-name}}}} {{{category|}}}]
   |ingredients={{#if:{{{ingredients|}}}|<ul>{{{ingredients|}}}</ul>}}
+
  }}
 +
   |time={{#if:{{{time|}}}
 +
    |{{{time|}}} min
 +
  }}
 +
   |ingredients={{#if:{{{ingredients|}}}
 +
    |<ul>{{{ingredients|}}}</ul>
 +
  }}
 
   |preparation={{{preparation|}}}  
 
   |preparation={{{preparation|}}}  
 
   |source={{{source|}}}  
 
   |source={{{source|}}}  
 
}}</includeonly>
 
}}</includeonly>

Revision as of 15:42, 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-custom) and change the following system message to the name of the newly created page: MediaWiki:semorg-recipe-template