Module:Item2/doc: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>OmegaK2
(Created page with "{{documentation}} {{high-risk}} The item module provides functionality for various item-related templates. __TOC__ ==Overview== This module is responsible for creating item...")
 
No edit summary
 
(41 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{documentation}}
{{Documentation subpage}}
{{high-risk}}
 
{{High-risk|12000+}}
{{Lua|Module:No globals|Module:Util|Module:Cargo|Module:Game|Module:Item util|Module:Skill|Module:Item link|Module:Area|Module:Item2/recipes|Module:Item2/cargo|Module:Item2/config|Module:Item2/core}}
 
The item module provides functionality for various item-related templates.
The item module provides functionality for various item-related templates.


Line 9: Line 12:


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]]:


==Implemented templates==
* {{tl|Item}}
** {{tl|Base item}}


===Core templates===
===Module:Item table===
* [[Template:Item]]
All templates defined in [[Module:Item table]]:
* [[Template:Item link]]


===Listing templates===
* {{tl|Item table}}
* [[Template:SMW_item_table/ul/basic/row]]
** {{tl|Query base items}}
*** {{tl|Query base armours}}
** {{tl|Query unique items}}
*** {{tl|Query unique armours}}
** {{tl|Item unique versions}}
** {{tl|Area item drops}}
* {{tl|Skill gem table}}
** {{tl|Query skill gems}}
*** {{tl|Query stat related skill gems}}
* {{tl|Map item drops}}
* {{tl|Prophecy description}}
* {{tl|Simple item list}}


<!--==Tests==
===Module:Item link===
All templates defined in [[Module:Item link]]:


{{#invoke: {{BASEPAGENAME}}/testcases|run}}-->
* {{tl|Item link}}
** {{tl|Il}}
** {{tl|Item icon link}}


===Module:Item acquisition===
* {{tl|Item acquisition}}
<section end="templates" />


<includeonly></includeonly>
{{Documentation categories|
<!-- Categories and interwikis go here. -->
[[Category:Item modules]]
[[Category:Cargo modules]]
[[de:Modul:Item2]]
[[ru:Модуль:Item2]]
}}

Latest revision as of 16:24, 11 June 2023

This subpage provides documentation for Module:Item2.

This module is used on 12,000+ 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