Template:Drop Sources/doc

From Idlescape Wiki
< Template:Drop Sources
Revision as of 20:56, 21 April 2025 by Demcookies (talk | contribs) (Update doc/usage of the Template)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Usage

The template takes optional parameters:

  • name, title The name of the item which to get sources for. Defaults to the page name.
  • width The width of the monster/key/scroll images. HTML attribute so no units. Defaults to 30 if not set.
  • height The 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

SourceQuantityRarityLeagues
Cursed NagaCursed Naga1–21%All
Corrupted NagaCorrupted Naga1–55%All
Ancient Dwarven GolemAncient Dwarven Golem[Expand][Collapse]
Ancient Dwarven GolemAncient Dwarven Golem1–1250%All
Ancient Dwarven GolemAncient Dwarven Golem1–2410%All


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.