Difference between revisions of "Used in"

(created used in template)
 
m (if used in no recipes)
Line 1: Line 1:
<includeonly>{{#ask: [[Has ingredient::?;{{PAGENAME}}]]
+
<includeonly>{{#vardefine:recipes|{{#ask: [[Has ingredient::?;{{PAGENAME}}]]
 
|?Has crafted using
 
|?Has crafted using
 
|?Has learned from
 
|?Has learned from
 
|?Has ingredient
 
|?Has ingredient
 
|?Has output quantity
 
|?Has output quantity
|link = none
+
|link=none
 
|format=template
 
|format=template
 
|template=RecipeListBody
 
|template=RecipeListBody
}}</includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude>
+
}}}}{{#if:{{#var:recipes}}|{{#var:recipes}}|'''No recipes.'''}}</includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude>

Revision as of 23:11, 19 August 2023

Description

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

Usage

{{Used in}}