Module:Item/doc: Difference between revisions

From Path of Exile 2 Wiki
Jump to navigation Jump to search
>Illviljan
m (→‎Tests: Turning this off since it stores duplicate cargo data now.)
(Sister interwiki)
 
(28 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{documentation subpage}}
{{Documentation subpage}}
{{high-risk}}
 
The item module provides functionality for various item-related templates.
{{Lua|Module:No globals|Module:Util|Module:Cargo|Module:Game|Module:Item util|Module:Skill|Module:Item link|Module:Area|Module:Item/recipes|Module:Item/cargo|Module:Item/config|Module:Item/core}}
 
The module implements {{tl|item}}.


__TOC__
__TOC__
Line 8: Line 10:
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 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,
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.
<section begin="templates" />
==Item templates==
===Module:Item2===
All templates defined in [[Module:Item2]]:
 
* {{tlx|Item}}
** {{tlx|Base item}}
* {{tlx|Item list}}
* {{tlx|Item class}}
* {{tlx|Simple item list}}
* {{tlx|Item list/skill gems by gem tag}}
 
===Module:Item table===
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|Item unique versions}}
** {{tlx|Area item drops}}
* {{tlx|Item table/skill gems}}
** {{tlx|Query skill gems}}
*** {{tlx|Query stat related skill gems}}
* {{tlx|Map item drops}}
* {{tlx|Prophecy description}}
 
===Module:Item link===
All templates defined in [[Module:Item link]]:
 
* {{tlx|Item link}}}
** {{tlx|Il}}
 
===Module:Item acquisition===
* {{tlx|Item acquisition}}
<section end="templates" />
==Tests==
<pre>
{{#invoke: {{BASEPAGENAME}}/testcases|run}}
</pre>
 


<includeonly>[[Category:Cargo modules]]</includeonly>
{{Documentation categories|
<!-- Categories and interwikis go here. -->
[[Category:Item modules]]
[[Category:Cargo modules]]
{{Sister|poewiki}}
}}

Latest revision as of 11:20, 22 October 2024

This subpage provides documentation for Module:Item.

The module implements {{item}}.

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.