Template:ItemSources: Difference between revisions
From Melvor Idle
Falterfire (talk | contribs) (Updating to reflect code being moved around.) |
Falterfire (talk | contribs) 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 | |
Materials | 1 ![]() |
Base Quantity | 1 |
Base Experience | 50 XP |
Base Creation Time | 2s |
Loot
Source | Level | Quantity | Chance | |
---|---|---|---|---|
![]() |
Chest | 1 | 50/641 | 7.80% |
![]() |
1 | 5/134 | 3.73% | |
![]() |
Chest | 1 | 5/174 | 2.87% |