mNo edit summary |
No edit summary |
||
(33 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ |
+ | {{Documentation subpage}} |
+ | |||
− | {{ |
+ | {{High-risk}} |
+ | {{Lua|Module:No globals|Module:Arguments|Module:Util|Module:Cargo|Module:Skill|Module:Area|Module:Item link|Module:Item2/upgrade|Module:Item2/cargo|Module:Game|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" /> |
||
⚫ | |||
+ | ===Module:Item2=== |
||
+ | All templates defined in [[Module:Item2]]: |
||
+ | * {{tl|Item}} |
||
− | ==Implemented templates== |
||
+ | ** {{tl|Base item}} |
||
+ | * {{tl|Itembox}} |
||
− | === |
+ | ===Module:Item table=== |
− | + | All templates defined in [[Module:Item table]]: |
|
⚫ | |||
+ | * {{tl|Item table}} |
||
⚫ | |||
+ | ** {{tl|Query base items}} |
||
− | * [[Template:SMW_item_table/ul/basic/row]] |
||
+ | *** {{tl|Query base armours}} |
||
+ | ** {{tl|Query unique items}} |
||
+ | *** {{tl|Query unique armours}} |
||
+ | ** {{tl|Item unique versions}} |
||
+ | ** {{tl|Area item drops}} |
||
+ | * {{tl|Item table/skill gems}} |
||
+ | ** {{tl|Query skill gems}} |
||
+ | *** {{tl|Query stat related skill gems}} |
||
+ | * {{tl|Map item drops}} |
||
+ | * {{tl|Prophecy description}} |
||
+ | * {{tl|Simple item list}} |
||
+ | ===Module:Item link=== |
||
− | <!--==Tests== |
||
+ | All templates defined in [[Module:Item link]]: |
||
⚫ | |||
− | {{#invoke: {{BASEPAGENAME}}/testcases|run}}--> |
||
+ | ** {{tl|Il}} |
||
+ | ** {{tl|Item icon link}} |
||
+ | ===Module:Item acquisition=== |
||
+ | * {{tl|Item acquisition}} |
||
+ | <section end="templates" /> |
||
+ | {{Documentation categories| |
||
− | <includeonly></includeonly> |
||
+ | <!-- Categories and interwikis go here. --> |
||
+ | [[Category:Item modules]] |
||
+ | [[Category:Cargo modules]] |
||
+ | [[de:Modul:Item2]] |
||
+ | [[ru:Модуль:Item2]] |
||
+ | }} |
Latest revision as of 16:29, 15 July 2021
This subpage provides documentation for Module:Item2. |
This Lua module is used on a very large number of pages. To avoid large-scale disruption and unnecessary server load, any changes to this module should first be tested in its /sandbox or /testcases subpages. The tested changes can then be added to this page in one single edit. Please consider discussing any changes on the talk page before implementing them. |
This module depends on the following other modules: |
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:
- {{Item table}}
- {{Query base items}}
- {{Query unique items}}
- {{Item unique versions}}
- {{Area item drops}}
- {{Item table/skill gems}}
- {{Map item drops}}
- {{Prophecy description}}
- {{Simple item list}}
Module:Item link[]
All templates defined in Module:Item link:
- {{Item link}}
- {{Il}}
- {{Item icon link}}
Module:Item acquisition[]
- {{Item acquisition}}