Difference between revisions of "Used in"

m (syntax)
m
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#vardefine:recipes|{{#ask: [[Has {{#ifeq:<!-- if
+
<includeonly><p id="used-in">{{#vardefine:recipes|{{#ask: [[Has {{#ifeq:<!-- if
 
-->{{#explode:{{PAGENAME}}|:|0}}<!-- string before ':' (if any)
 
-->{{#explode:{{PAGENAME}}|:|0}}<!-- string before ':' (if any)
 
-->|Recipe<!-- is equal to 'Recipe'
 
-->|Recipe<!-- is equal to 'Recipe'
Line 5: Line 5:
 
-->|ingredient::?;<!-- else query Property:Has ingredient
 
-->|ingredient::?;<!-- else query Property:Has ingredient
 
-->}}{{PAGENAME}}]]
 
-->}}{{PAGENAME}}]]
|?Has crafted using
+
|?Has output quality
|?Has learned from
+
|?Has profession
 +
|?Has mastery level
 
|?Has ingredient|+index=2
 
|?Has ingredient|+index=2
 
|?Has ingredient|+index=3
 
|?Has ingredient|+index=3
|?Has output quantity
 
|?Has profession
 
 
|link=none
 
|link=none
 
|format=template
 
|format=template
|template=RecipeListBody
+
|introtemplate=Recipe table header
}}}}{{#if:{{#var:recipes}}|{{#var:recipes}}|'''No recipes.'''}}</includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude>
+
|template=Recipe table body
 +
|outrotemplate=Table footer
 +
}}}}{{#if:{{#var:recipes}}|{{#var:recipes}}|'''No known recipes.'''}}</p></includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude>

Latest revision as of 21:52, 16 February 2024

Description[edit]

Displays all Recipes that an Item or Recipe (specified by the name of the page) is used in.

Usage[edit]

{{Used in}}