Difference between revisions of "Template:Semorg-recipe"

From SemanticOrganization
Jump to: navigation, search
 
(6 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={{#if:{{{category|}}}
 
   |category={{#if:{{{category|}}}
     |[{{fullurl:{{int:semorg-recipe-page-name}}|recipe-category={{{category|}}}}} {{{category|}}}]
+
     |[{{fullurl:{{int:semorg-recipe-page-name}}|recipe-category={{urlencode:{{{category|}}}}}}} {{{category|}}}]
 
   }}
 
   }}
 
   |time={{#if:{{{time|}}}
 
   |time={{#if:{{{time|}}}
Line 18: Line 20:
 
   }}
 
   }}
 
   |preparation={{{preparation|}}}  
 
   |preparation={{{preparation|}}}  
   |source={{{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