Difference between revisions of "Stratonian"

m
m
Line 1: Line 1:
 
[https://en.wikibooks.org/wiki/Editing_Wikitext/Tables Editing Wikitext/Tables]
 
[https://en.wikibooks.org/wiki/Editing_Wikitext/Tables Editing Wikitext/Tables]
  
{{#vardefine:@|1 ingredient#Quality}}
+
{{#arraydefine:recipes|{{#ask:[[Has profession::Butchery]]|link=none}}}}<!-- define recipes with given profession
{{#arraydefine:ingredient|{{#sub:{{#var:@}}|{{#pos:{{#var:@}}| }}}}|#}}
+
-->{{#arrayprint:recipes||@|<!-- print recipes
{{#explode:{{#var:@}}| |0}};{{#arrayprint:ingredient|;}}
+
-->{{item|{{#ask:[[@]]|?Has ingredient=|mainlabel=-|+index=3|link=none}}}}<br><!-- 'Raw Material'
 +
-->{{item|{{#explode:@|#|0}}}}<br><br>}}

Revision as of 11:34, 10 September 2023