Template:Loot table

From Idlescape Wiki
Jump to navigation Jump to search

The template automatically creates a table of items aquired from killing a Monster, completing a Dungeon or an Elite Challenge.

The table has following columns:

Image Item Quantity Rarity Value Tradeable Leagues

Usage

The template takes optional parameters:

  • name, title The name of monster or location to get data of. Defaults to the page name.
  • width The width of the item images. HTML attribute so no units. Defaults to 30 if not set.
  • height The height of the item images. HTML attribute so no units. Defaults to nil if not set. Height is calculated from the width and aspect ratio of the original image if not set.

Example

Input

{{Loot table|title=Chicken|width=30}}
The same output is achieved by {{Loot table}} if called from the page Chicken.

Output

ItemQuantityRarityValueTradeableLeagues
Raw ChickenRaw Chicken1100%25YesAll
BranchBranch1–233.333%1YesAll
FeatherFeather1–520%6YesAll
Basic Runic DustBasic Runic Dust11%500YesAll
OnionOnion11%30YesNo Gather Ironman
Cluster-CluckCluster-Cluck10.025%500YesAll
SatchelSatchel10.001%1,000YesAll
Mysterious SeedMysterious Seed1–320.001%7YesAll

TODO

  • Add option to display Rarity as a fraction and percentage.
  • Add Marketplace values.
  • Add indicator to league icons to inform if league is active.