Template:Loot table/doc
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 |
---|
Contents
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
Item | Quantity | Rarity | Value | Tradeable | Leagues | |
---|---|---|---|---|---|---|
![]() | Raw Chicken | 1 | 100% | 25 | Yes | All |
![]() | Branch | 1–2 | 33.333% | 1 | Yes | All |
![]() | Feather | 1–5 | 20% | 6 | Yes | All |
![]() | Basic Runic Dust | 1 | 1% | 500 | Yes | All |
![]() | Onion | 1 | 1% | 30 | Yes | ![]() |
![]() | Cluster-Cluck | 1 | 0.025% | 500 | Yes | All |
![]() | Satchel | 1 | 0.001% | 1,000 | Yes | All |
![]() | Mysterious Seed | 1–32 | 0.001% | 7 | Yes | All |
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.