Template:Item modifier compatibility/doc: Difference between revisions

From Path of Exile 2 Wiki
Jump to navigation Jump to search
>Illviljan
mNo edit summary
>Illviljan
mNo edit summary
Line 2: Line 2:
{{lua|Module:Mod}}
{{lua|Module:Mod}}


This template adds a drop down table from data. The data is queried from [[Special:Concepts|concepts]] that lists the spawnable named mods with conditions based on [[item]] [[modifier|tags]] and its [[modifier|mod domain]] and [[modifier|generation type]].
This template adds a drop down table from data. 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]].


==Parameters==
==Parameters==
Line 13: Line 13:
|-
|-
| '''item_tags''' || Overrides the tags the item has. (Not recommended) || {{no}}
| '''item_tags''' || Overrides the tags the item has. (Not recommended) || {{no}}
|-
| '''extra_item_tags''' || Adds additional item tags. Delimiter: ", " || {{no}}
|-
|-
| '''extra_properties''' || Displays extra properties. || {{no}}
| '''extra_properties''' || Displays extra properties. || {{no}}
Line 26: Line 28:
}}
}}
</pre>
</pre>
 
{{Item modifiers
==Known issues==
|item = Nailed Fist
Due to the considerable number of modifiers that are queried and filtered the template can sometimes return an error. [[Null edit]]ing the page normally fixes it.
|header = Claws
}}


<includeonly>
<includeonly>

Revision as of 20:20, 1 February 2018

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. 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. (Not recommended) No
extra_item_tags Adds additional item tags. Delimiter: ", " No
extra_properties Displays extra properties. 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 = Nailed Fist
 |header = Claws
}}

Template:Item modifiers