Module:Infobox/Mechanic/doc

Infobox/Mechanic Parameters
Infobox/Mechanic is a module providing support for multiple versions of infobox, and many data inputs are processed here. To convenient maintenance, each data is attached with a parameter index. A group is signified by a unique English letter before the number, known as group index. Groups need not be ordered in the alphabetical order of their group indexes; a new group using a new letter can be added in between existing groups.

To add a new parameter to the module, one must first prepare the data, and then insert it into the infobox. You may take reference from the precedent entries.

You must add a corresponding param index as comment in the code, on both locations, in the order of display. Also, you should add the parameter used to the following list, also in the order of display.

List of Parameters
0.  tab

1.  image (if gallery: |image_type = square/long/wide) 2.  caption 3.  slot_item 4.  aka 5.  type 6.  color

7.  appearance 8.  collection 9.  usage

10. uses 11. ways_to_increase

12. category 13. collects 14. upgrade_with

15. travel_scroll 16. level 17. sublocations 18. fairy_souls

Dungeon Information A0. dungeon A1. floor A2. boss A3. status A4. dungeon_size A5. party_size A6. required_combat_level A7. required_catacombs_level A8. reqs A9. base_xp A10. failable

Mob Information B0. level B1. damage_deals B2. damage_resistance B3. spawn_location B4. spawn_condition B5. special B6. special_behavior B7. effective_enchant

Quest C0. requirements C1. rewards

Stats D0. stats D1+. all other stats (refer to Module:Infobox/Item Group D)

Perks E0+. perk(n)_desc, perk(n)_name

Capacity F0. default_desc, default_name F1+. upgrade(n)_desc, upgrade(n)_name

Obtainable G0. drops G1. xp G2. coins G3. essence G4. resources

Values H0. base_value H1. max_value

Properties I0. unlock_requirement I1. max_level

Special Effects J0. skill_special_effect

Upgrades K0. super_compactor K1. compactor K2. auto_smelter

Inhabitants L0. mobs L1. npcs

Location M0. xyz M1. coordinates M2. location M3. start_location M4. start_npc M5. prev_location M6. next_location

Player interactions N0. quests N1. shop

Minimap (at Coordinates) O0. minimap

Ideal Layout P0. ideal_layout

Item Metadata Q0. id

List of Templates using Module:Infobox/Mechanic

 * Template:Infobox character
 * Template:Infobox dungeon enemy
 * Template:Infobox dungeon floor
 * Template:Infobox location
 * Template:Infobox mayor
 * Template:Infobox minion
 * Template:Infobox mob
 * Template:Infobox puzzle
 * Template:Infobox quest
 * Template:Infobox stat
 * Template:Infobox skill
 * Template:Infobox upgrade