Template:ItemSources: Difference between revisions

m
no edit summary
(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>