Difference between revisions of "Recipe table header/Documentation"

(Created page with "==Description== Used as a header for a recipe list. Used in conjunction with RecipeListBody. ==Usage== {{T|RecipeListHeader}}<includeonly>Category:Table templa...")
 
m
Line 1: Line 1:
 
==Description==
 
==Description==
Used as a header for a recipe list. Used in conjunction with [[Template:RecipeListBody]].
+
Used as a header for a recipe list. Used in conjunction with [[Template:Recipe list body]].
  
 
==Usage==
 
==Usage==
{{T|RecipeListHeader}}<includeonly>[[Category:Table templates]]</includeonly>
+
e.g. To display the recipes associated with 'Hazelnut' as an ingredient:
 +
<pre>{{#ask: [[Has ingredient::?;Hazelnut]]
 +
|?Has output quality
 +
|?Has profession
 +
|?Has mastery level
 +
|?Has ingredient|+index=2
 +
|?Has ingredient|+index=3
 +
|link=none
 +
|format=template
 +
|introtemplate=Recipe table header
 +
|template=Recipe table body
 +
|outrotemplate=Table footer
 +
}}</pre><includeonly>[[Category:Table templates]]</includeonly>

Revision as of 21:51, 16 February 2024

Description

Used as a header for a recipe list. Used in conjunction with Recipe list body.

Usage

e.g. To display the recipes associated with 'Hazelnut' as an ingredient:

{{#ask: [[Has ingredient::?;Hazelnut]]
|?Has output quality
|?Has profession
|?Has mastery level
|?Has ingredient|+index=2
|?Has ingredient|+index=3
|link=none
|format=template
|introtemplate=Recipe table header
|template=Recipe table body
|outrotemplate=Table footer
}}