Module:Infobox/Item/doc

Infobox/Item Parameters
Infobox/Item 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 2.  caption 3.  slot_item 4.  aka 5.  type 6.  rarity 7.  collection

8.  combat_level_requirement 9.  slayer_level_requirement 10. dungeon_level_requirement 11. dungeon_floor_clearing_requirement 12. hotm_requirement 13. other_level_requirement

14. reforge_name 15. source 16. obtained 17. drop_chance 18. uses 19. minion_xp 20. lore 21. mob 22. rarities

Sack Stats A0. sack_capacity A1. sack_items

Block Details B0. location B1. tool B2. breaking_power_required B3. skill_xp_given B4. experience_given Block Drops B5. normal_drop B6. silk_touch_drop B7. smelting_touch_drop

Function C0. function

Stats D0. stats

D1. ability_damage (abdmg) D2. health (hp) D3. defense (def) D4. damage D5. strength (str) D6. crit_chance (critchance) D7. crit_damage (critdmg) D8. attack_speed D9. intelligence (int) D10. speed (spd) D11. true_defense (trudef) D12. magic_find (mf) D13. fishing_speed (fishspd) D14. sea_creature_chance (scc) D15. ferocity (fer) D16. mining_speed (mspeed) D17. breaking_power D18. mining_fortune (mfortune) D19. farming_fortune (fmfortune) D20. foraging_fortune (frfortune)

Helmet, Chest, Legs, Boots Same as group D (D-H, D-C, D-L, D-B) (See Group D)

Special Effects E0. effects E1. duration E2. speed_boost E3. full_set_bonus E4. piece_bonus E5. full_set_bonus2 E6. piece_bonus2

n-th Ability F0. ability_name_desc# F1. soulflow_cost# F2. mana_cost# F3. cooldown# F4. int_scaling#

Material Tiers G0. prev_material G1. next_material

Upgrades H0. upgrades_from H1. upgrades_to

Tiers I0. lower_tier I1. higher_tier

Gemstone Upgrades R0. gemstone_upgrades

Reforge Requirements J0. req_item_rarity J1. apply_cost J2. req_skill_level

Properties K0. upgradeable K1. enchantable K2. reforgeable K3. salable K4. tradeable K5. auctionable K6. rideable

Color L0. color

Shop M0. merchant M1. daily_limit M2. buy M3. sell M4. buy_c M5. sell_c M6. buy_u M7. sell_u M8. buy_r M9. sell_r M10. buy_e M11. sell_e M12. buy_l M13. sell_l M14. buy_m M15. sell_m M16. buy_s M17. sell_s M18. buy_sp M19. sell_sp M20. buy_vsp M21. sell_vsp

Bazaar N0. bazaar

Materials O0. raw_materials O1. material_cost O2. mat_cost_bazaar O3. raw_materials_upgr O4. material_cost_upgr O5. mat_cost_bazaar_upgr

Trade P0. trade_requirement P1. trade_from P2. trade_to

Item Metadata Q0. id Q1. head_id Q2. chest_id Q3. legs_id Q4. boots_id Q5. head_texture Q6. nbt Q7. head_nbt Q8. chest_nbt Q9. legs_nbt Q10. boots_nbt

List of Templates using Module:Infobox/Item
^ Item IDs Required
 * Template:Infobox item^
 * Template:Infobox accessory^
 * Template:Infobox armor^
 * Template:Infobox armor piece^
 * Template:Infobox block^
 * Template:Infobox fishing rod^
 * Template:Infobox minion fuel^
 * Template:Infobox pet
 * Template:Infobox reforge stone^
 * Template:Infobox sack^
 * Template:Infobox weapon^