Template:ChestDrops: Difference between revisions

Remove dependency on Variables extension
(Created new template)
 
(Remove dependency on Variables extension)
Line 3: Line 3:
For example, {{T|ChestDrops|Elite Chest}} becomes {{ChestDrops|Elite Chest}}
For example, {{T|ChestDrops|Elite Chest}} becomes {{ChestDrops|Elite Chest}}
<includeonly><onlyinclude>
<includeonly><onlyinclude>
{{#vardefine:name|{{{1|{{PAGENAME}}}}}}}{{#invoke:Monsters|getChestDrops|{{#var:name}}}}
{{#invoke:Monsters|getChestDrops|{{{1|{{PAGENAME}}}}}}}
</onlyinclude></includeonly>
</onlyinclude></includeonly>