Module:Item2/doc

From Path of Exile Wiki
Revision as of 20:36, 19 January 2019 by >OmegaK2
Jump to navigation Jump to search

This subpage provides documentation for Module:Item2.

This module is used on a large number of pages.

To avoid major disruption and server load, do not make unnecessary edits to this module. Test changes to this module first using its /sandbox and /testcases subpages . All of the changes can then be applied to this module in a single edit.

Consider discussing changes on the talk page or on Discord before implementing them.

The item module provides functionality for various item-related templates.

Overview

This module is responsible for creating item boxes, various item lists, item links and other item-related tasks. In the process a lot of the input data is verified and also added as semantic property to pages; as such, any templates deriving from this module should not be used on user pages other then for temporary testing purposes.

This template is also backed by an export script in PyPoE which can be used to export item data from the game files which then can be used on the wiki. Use the export when possible,

Item templates

Module:Item2

All templates defined in Module:Item2:

Module:Item table

All templates defined in Module:Item table:

Module:Item link

All templates defined in Module:Item link:

Module:Item acquisition

Tests

N2 tests failed.

Name Expected Actual
YesY test_f_mods_local_stat_addition_and_quality
YesY test_f_mods_local_stat_addition_from_extra_stats
YesY test_f_mods_local_stat_addition_from_mods
YesY test_f_mods_sell_price_override
YesY test_f_mods_sell_prices
YesY test_f_mods_stats_addition
YesY test_ic_normal_active_skill_gem
YesY test_ic_normal_body_armour
YesY test_ic_normal_claw
N test_ic_normal_critical_utility_flask Lua error -- Module:Item2/core/sandbox:503: The item class id "UtilityFlaskCritical" is invalid. Using the correct item class id is required for the template to work correctly.
YesY test_ic_normal_divi_card
YesY test_ic_normal_harvest_seed
YesY test_ic_normal_hybrid_flask
YesY test_ic_normal_jewel
YesY test_ic_normal_life_flask
YesY test_ic_normal_mana_flask
YesY test_ic_normal_map
YesY test_ic_normal_mtx
YesY test_ic_normal_quest_item
YesY test_ic_normal_shield
YesY test_ic_normal_stackable_currency
YesY test_ic_normal_support_skill_gem
YesY test_ic_normal_utility_flask
YesY test_ic_unique_amulet
YesY test_ic_unique_belt
YesY test_ic_unique_body_armour
YesY test_ic_unique_boots
YesY test_ic_unique_bow
YesY test_ic_unique_claw
YesY test_ic_unique_dagger
YesY test_ic_unique_fishing_rod
YesY test_ic_unique_gloves
YesY test_ic_unique_helmet
YesY test_ic_unique_hybrid_flask
YesY test_ic_unique_jewel
YesY test_ic_unique_life_flask
YesY test_ic_unique_mana_flask
YesY test_ic_unique_map
YesY test_ic_unique_one_hand_axe
YesY test_ic_unique_one_hand_mace
YesY test_ic_unique_one_hand_sword
YesY test_ic_unique_piece
YesY test_ic_unique_quiver
YesY test_ic_unique_ring
YesY test_ic_unique_sceptre
YesY test_ic_unique_shield
YesY test_ic_unique_staff
YesY test_ic_unique_thrusting_one_hand_sword
YesY test_ic_unique_two_hand_axe
YesY test_ic_unique_two_hand_mace
YesY test_ic_unique_two_hand_sword
YesY test_ic_unique_utility_flask
YesY test_ic_unique_wand
N test_release_version_unknown_succeeds Lua error -- Module:Util:202: "?" is not a recognized version number