Template:ItemSources: Difference between revisions

From Melvor Idle
(Updating to reflect code being moved around.)
mNo edit summary
Line 1: Line 1:
Replaces individual per-item templates for item sources. Uses data from [[Module:Items/data]] filtered through [[Module:Items]]
Replaces individual per-item templates for item sources. Uses data from [[Module:Items/data]] filtered through [[Module:Items]]


{{T|ItemSources|Mithril Sword}} becomes {{ItemSources|Mithril Sword}}
{{T|ItemSources|Mithril Sword}} becomes
{{ItemSources|Mithril Sword}}


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

Revision as of 20:48, 17 November 2020

Replaces individual per-item templates for item sources. Uses data from Module:Items/data filtered through Module:Items

{{ItemSources|Mithril Sword}} becomes

Creation

Item Production
Requirements Smithing Level 42
Materials 1 Mithril Bar
Base Quantity 1
Base Experience 50 XP
Base Creation Time 2s

Loot