Template:LootSources: Difference between revisions
From Melvor Idle
Falterfire (talk | contribs) (Added header) |
Falterfire (talk | contribs) mNo edit summary |
||
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> | ||
===Loot=== | |||
{{#vardefine:name|{{{1|{{PAGENAME}}}}}}}{{#invoke:Items|getItemLootSourceTable|{{#var:name}}}}</includeonly></onlyinclude> | {{#vardefine:name|{{{1|{{PAGENAME}}}}}}}{{#invoke:Items|getItemLootSourceTable|{{#var:name}}}}</includeonly></onlyinclude> |
Revision as of 15:29, 24 September 2020
Template for calling loot sources for an item. Specifically checks monster drops, pickpocketing drops, and chests.
For example, {{LootSources|Mithril Sword}}
gives
Loot
Script error: The function "getItemLootSourceTable" does not exist.