Template:ItemSources: Difference between revisions

From Melvor Idle
mNo edit summary
m (Removed data reference)
 
(One intermediate revision by one other user not shown)
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 through [[Module:Items]]


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


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

Latest revision as of 22:01, 29 October 2022

Replaces individual per-item templates for item sources. Uses data 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