Template:Item modifier compatibility/doc: Difference between revisions

From Path of Exile 2 Wiki
Jump to navigation Jump to search
m (Vinifera7 moved page Template:Item modifiers/doc to Template:Item modifier compatibility/doc without leaving a redirect)
No edit summary
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}


{{Lua|Module:Modifier table}}
{{Lua|Module:Modifier compatibility}}


This template adds a drop down table from data tables. The data is queried from cargo tables that lists the spawnable named mods with conditions based on [[item]] [[modifier|tags]], its [[modifier|mod domain]] and [[modifier|generation type]].
This template adds a drop down table from data tables. The data is queried from cargo tables that lists the spawnable named mods with conditions based on [[item]] [[modifier|tags]], its [[modifier|mod domain]] and [[modifier|generation type]].

Revision as of 15:50, 17 October 2022

This subpage provides documentation for Template:Item modifier compatibility.

Lua logo

This template uses the following modules:

This template adds a drop down table from data tables. The data is queried from cargo tables that lists the spawnable named mods with conditions based on item tags, its mod domain and generation type.

Parameters

Parameter Description Required
item The item to filter the modifiers for. Yes
header Header name, defaults to the item tags if not specified. No
item_tags Overrides the tags the item has. Delimiter: ", " (Not recommended) No
extra_item_tags Adds additional item tags. Delimiter: ", " No
extra_fields Displays extra fields. No
spawn_chance Displays the spawn chance based on the specific modifier spawn weight and the total number of mods in that generation type. No

Example

{{Item modifiers
 |item = Bone Helmet
 |header = Helmet
}}

Template:Item modifiers