Template:PotionTable: Difference between revisions

From Melvor Idle
(Created page with "Template for quickly generating potion tables. For example, {{T|PotionTable|Bird Nest Potion}} generates {{PotionTable|Bird Nest Potion}} <onlyinclude><includeonly>{{#vardefin...")
 
Line 1: Line 1:
Template for quickly generating potion tables. For example, {{T|PotionTable|Bird Nest Potion}} generates {{PotionTable|Bird Nest Potion}}
Template for quickly generating potion tables. For example, {{T|PotionTable|Bird Nests Potion}} generates {{PotionTable|Bird Nests Potion}}
<onlyinclude><includeonly>{{#vardefine:name|{{{1|{{PAGENAME}}}}}}}{{#invoke:Items|getPotionTable|{{#var:name}}}}</includeonly></onlyinclude>
<onlyinclude><includeonly>{{#vardefine:name|{{{1|{{PAGENAME}}}}}}}{{#invoke:Skills/Artisan|getPotionTable|{{#var:name}}}}</includeonly></onlyinclude>

Revision as of 00:57, 23 October 2022

Template for quickly generating potion tables. For example, {{PotionTable|Bird Nests Potion}} generates

ERROR: No potion named "Bird Nests Potion" was found