Template:ItemUses: Difference between revisions

From Melvor Idle
m (Fix preview header)
mNo edit summary
 
(3 intermediate revisions by 3 users not shown)
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 <code>getItemUseTable</code> in [[Module:Items/UseTables]]


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


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

Latest revision as of 01:20, 6 August 2024

New template for item uses. Uses getItemUseTable in Module:Items/UseTables

{{ItemUses|Leather}} becomes

Uses