Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:MC/LootChest/doc

Template page
Revision as of 01:47, 8 January 2025 by 217.23.3.91 (talk) (Usage: Fixed typo.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:Documentation header

Template:Lua

Usage

Thie template accepts any number of chest parameters, and any number of column parameters. The parameters can be used in any order too.

Only one set of parameters is required, and the others are optional:

  • If no chest parameters are listed, then all chest parameters, matching each of the column parameters, will be used automatically.
  • If no column parameters are listed, then all column parameters, matching each of the chest parameters, will be used automatically.

The general syntax is one of these 3:

{{LootChest | <chestParam1> | <chestParam2> | ... | <chestParamN> | <columnParam1> | <columnParam2> | ... | <columnParamN>}}

{{LootChest | <chestParam1> | <chestParam2> | ... | <chestParamN>}}

{{LootChest | <columnParam1> | <columnParam2> | ... | <columnParamN>}}

Chest parameters

Script error: No such module "LootChest".

Column parameters

Script error: No such module "LootChest".

Example

{{LootChest|mineshaft|monster room|chance|stacksize}} shows loot for mineshaft and dungeon chests, and only shows the data for the 'stacksize' and 'chance' columns

Template:LootChest


cs:Šablona:LootChest/doc es:Plantilla:LootChest/doc fr:Modèle:CoffreRécompenses/doc it:Template:BauleBottino/doc ja:テンプレート:LootChest/doc ko:틀:LootChest/doc lzh:模板:LootChest/doc pt:Predefinição:Saque de baú/doc th:แม่แบบ:LootChest/doc uk:Шаблон:Здобич зі скринь/док zh:Template:LootChest/doc