Difference between revisions of "Template:Drop Sources"
Jump to navigation
Jump to search
(c) |
m |
||
| Line 1: | Line 1: | ||
| − | <includeonly>{{#invoke:Drop sources|dropSources}}</includeonly> | + | <includeonly>{{#invoke:Drop sources|dropSources}}</includeonly><noinclude>{{/doc}}[[Category:Template]]</noinclude> |
Revision as of 07:57, 28 June 2024
The template automatically creates a table of sources of a item. Sources includes Monsters, Dungeons and Elite Challenges.
The table has following columns:
| Image | Source | Quantity | Rarity | Leagues |
|---|
Contents
Usage
The template takes optional parameters:
name, titleThe name of the item which to get sources for. Defaults to the page name.widthThe width of the monster/key/scroll images. HTML attribute so no units. Defaults to 30 if not set.heightThe height of the monster/key/scroll images. HTML attribute so no units. Defaults to 30 if not set.
Example
Input
{{Drop Sources|name=Gold Bar|width=30|height=30}}
The same output is achieved by {{Drop Sources}} if called from the page Gold Bar.
Output
Script error: No such module "Drop sources".
TODO
- Add containers to the possible drop sources.
- Add quests to the the possible drop sources. ???
- Add option to display Rarity as a fraction and percentage.
- Add indicator to league icons to inform if league is active.