Anonymous

Template:ItemUses: Difference between revisions

From Melvor Idle
m
Fix preview header
(Fixing to match new module layouts)
m (Fix preview header)
Line 1: Line 1:
New template for item uses. Uses data from [[Module:Items/data]] filtered through [[Module:Items]]
New template for item uses. Uses data from [[Module:Items/data]] filtered through [[Module:Items]]


{{T|ItemUses|Mithril Bar}} becomes {{ItemUses|Mithril Bar}}
{{T|ItemUses|Mithril Bar}} becomes
{{ItemUses|Mithril Bar}}


<onlyinclude><includeonly>{{#vardefine:name|{{{1|{{PAGENAME}}}}}}}{{#invoke:Items/UseTables|getItemUseTable|{{#var:name}}}}</includeonly></onlyinclude>
<onlyinclude><includeonly>{{#vardefine:name|{{{1|{{PAGENAME}}}}}}}{{#invoke:Items/UseTables|getItemUseTable|{{#var:name}}}}</includeonly></onlyinclude>