Template:PurchaseContents
From Melvor Idle
Given a Shop item, returns a table of all items contained within that purchase.
If the optional second parameter is specified as true
, the contents are formatted as a list rather than a table.
For example, {{PurchaseContents|Basic Resupply}}
produces:
Item | Quantity | Price | |
---|---|---|---|
Mithril Arrows | 200 | 1,600 | |
Topaz Bolts | 200 | 19,000 | |
Light Rune | 200 | 200 | |
Lobster | 100 | 10,800 | |
Magic Bones | 200 | 60,000 | |
Total | 91,600 |
While {{PurchaseContents|Basic Resupply|true}}
produces:
200 Mithril Arrows
200 Topaz Bolts
200 Light Rune
100 Lobster
200 Magic Bones