Module:Item2/doc: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>OmegaK2
No edit summary
Line 1: Line 1:
{{documentation subpage}}
{{high-risk}}
{{high-risk}}
The item module provides functionality for various item-related templates.
The item module provides functionality for various item-related templates.
Line 47: Line 46:
* {{tlx|Item acquisition}}
* {{tlx|Item acquisition}}
<section end="templates" />
<section end="templates" />
==Tests==
{{#invoke: {{BASEPAGENAME}}/testcases|run}}


<includeonly>[[Category:Cargo modules]]
<includeonly>[[Category:Cargo modules]]
[[de:Modul:Item2]]
[[de:Modul:Item2]]
[[ru:Модуль:Item2]]</includeonly>
[[ru:Модуль:Item2]]</includeonly>

Revision as of 06:42, 30 July 2020

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