Template:ChestLoot/doc

From Alex's Caves Wiki
Jump to navigation Jump to search
This is the documentation page. It should be transcluded into the main template page. See Template:Documentation for more information
Lua.svg
This template uses Module:ChestLoot, a script written in Lua.

Usage

It takes any number of chest parameters, and any number of column parameters, in no particular order.

If no chest parameters are listed, it displays them all; likewise for column parameters.

{{LootChest |<chestParam1> [ ... |<chestParamN> ] [ |<columnHideParam1> ... |<columnHideParamN> ] }}

Chest parameters

Lua error in package.lua at line 80: module 'Module:LootChest/items' not found.

Column parameters

Lua error in package.lua at line 80: module 'Module:LootChest/items' not found.

Example

{{LootChest|mineshaft|monster room|chance|stacksize}} → only mineshaft and dungeon chests, and only 'stacksize' and 'chance' columns

Template:LootChest