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:

While {{PurchaseContents|Basic Resupply|true}} produces:

200 Mithril Arrows (item).svg Mithril Arrows
200 Topaz Bolts (item).svg Topaz Bolts
200 Light Rune (item).svg Light Rune
100 Lobster (item).svg Lobster
200 Magic Bones (item).svg Magic Bones