Template:LootSources: Difference between revisions
From Melvor Idle
Falterfire (talk | contribs) (Added header) |
Falterfire (talk | contribs) (Fixed now incorrect reference) |
||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
For example, {{T|LootSources|Mithril Sword}} gives {{LootSources|Mithril Sword}} | For example, {{T|LootSources|Mithril Sword}} gives {{LootSources|Mithril Sword}} | ||
<onlyinclude><includeonly>===Loot=== | <onlyinclude><includeonly> | ||
{{#vardefine:name|{{{1|{{PAGENAME}}}}}}}{{#invoke:Items|getItemLootSourceTable|{{#var:name}}}}</includeonly></onlyinclude> | ===Loot=== | ||
{{#vardefine:name|{{{1|{{PAGENAME}}}}}}}{{#invoke:Items/SourceTables|getItemLootSourceTable|{{#var:name}}}}</includeonly></onlyinclude> |
Latest revision as of 23:35, 27 November 2020
Template for calling loot sources for an item. Specifically checks monster drops, pickpocketing drops, and chests.
For example, {{LootSources|Mithril Sword}}
gives
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% |