Module:Item/doc: Difference between revisions

From Path of Exile 2 Wiki
Jump to navigation Jump to search
>OmegaK2
>OmegaK2
Line 10: Line 10:
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,  
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,  


==Implemented templates==
==Item templates==


===Core templates===
===Module:Item2===
* [[Template:Item]]
All templates defined in [[Module:Item2]]:
* [[Template:Item list]]
* [[Template:Item acquisition]]


===Listing templates===
* {{tlx|Item}}
* [[Template:SMW item table]]
* {{tlx|Item list}}
* [[Template:SMW item table/skill gems]]
* [{{tlx|Item acquisition}}
* [[Template:SMW item table/ul/basic/row]]
* {{tlx|:Item class}}
* {{tlx|Simple item list}}
* {{tlx|Item list/skill gems by gem tag}}


===Query templates===
===Module:Item table===
* [[Template:Item list/skill gems by gem tag]]
All templates defined in [[Module:Item table]]:
 
* {{tlx|Item table}}
** {{tlx|Query base items}}
*** {{tlx|Query base armours}}
** {{tlx|Query unique items}}
*** {{tlx|Query unique armours}}
** {{tlx|Query skill gems}}
*** {{tlx|Query stat related skill gems}}
** {{tlx|Item unique versions}}
** {{tlx|Area item drops}}
* {{tlx|Item table/skill gems}}
* {{tlx|Map item drops}}
 
===Module:Item link===
All templates defined in [[Module:Item link]]:
 
* {{tlx|Item link}}}
** {{tlx|Il}}
** {{tlx|Sl}}


<!--==Tests==
<!--==Tests==

Revision as of 11:53, 20 January 2018

This subpage provides documentation for Module:Item.

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 or your user space. 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: