Difference between revisions of "Refinement table"
Stratonian (talk | contribs) m |
Stratonian (talk | contribs) (added item quality) |
||
Line 3: | Line 3: | ||
!Raw Material!!Refined Into | !Raw Material!!Refined Into | ||
|- | |- | ||
− | |{{#arraydefine:recipes|{{#ask:[[Has profession:: | + | |{{#arraydefine:recipes|{{#ask:[[Has profession::Butchery]]|link=none}}}}<!-- define recipes with given profession |
-->{{#arrayprint:recipes||@|<!-- print recipes | -->{{#arrayprint:recipes||@|<!-- print recipes | ||
− | -->{{ | + | -->{{#vardefine:page|{{#explode:@|#|0}}}}<!-- get full page |
− | -->{{item|{{# | + | -->{{#vardefine:refined into|{{#ask:[[@]]|?Has ingredient=|mainlabel=-|+index=3|link=none}}}}<!-- get refined into |
+ | -->{{item|{{#var:refined into}}|{{#show:{{#var:refined into}}|?Has quality}}}}{{!}}{{!}}<!-- 'Raw Material' | ||
+ | -->{{item|{{#var:page}}|{{#show:{{#var:page}}|?Has quality}}}}<!-- 'Refined Into' --> | ||
{{!}}- | {{!}}- | ||
{{!}}}} | {{!}}}} | ||
|}</includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude> | |}</includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude> |
Revision as of 11:48, 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}}