Difference between revisions of "Refinement table"

m
m (used item template)
Line 5: Line 5:
 
|{{#arraydefine:recipes|{{#ask:[[Has profession::{{PAGENAME}}]]|link=none}}}}<!-- define recipes with given profession
 
|{{#arraydefine:recipes|{{#ask:[[Has profession::{{PAGENAME}}]]|link=none}}}}<!-- define recipes with given profession
 
-->{{#arrayprint:recipes||@|<!-- print recipes
 
-->{{#arrayprint:recipes||@|<!-- print recipes
-->{{#ask:[[@]]|?Has ingredient=|mainlabel=-|+index=3}}{{!}}{{!}}<!-- 'Raw Material'
+
-->{{item|{{#ask:[[@]]|?Has ingredient=|mainlabel=-|+index=3|link=none}}}}{{!}}{{!}}<!-- 'Raw Material'
 
-->[[@]]<!-- 'Refined Into' -->
 
-->[[@]]<!-- 'Refined Into' -->
 
{{!}}-
 
{{!}}-
 
{{!}}}}
 
{{!}}}}
 
|}</includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude>
 
|}</includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude>

Revision as of 11:27, 10 September 2023

Description

Displays a table with all Raw Materials gathered by a profession (specified by the name of the page) and what they refine into.

Usage

{{Refinement table}}

Parameters

Arrow.png1: The name of the profession to be queried.
Optional. Defaults to '{{PAGENAME}}'.