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 | Error creating thumbnail: File missing Level 42
|
Materials | 1 Mithril Bar |
Base Quantity | 1 |
Base Experience | 50 XP |
Base Creation Time | 2s |
Loot
Source | Level | Quantity | Chance | |
---|---|---|---|---|
Pirate Booty | Chest | 1 | 50/641 | 7.80% |
Mithril Knight | Error creating thumbnail: File missing Level 33
|
1 | 5/134 | 3.73% |
Standard Chest | Chest | 1 | 5/174 | 2.87% |