Template:Item modifier compatibility/doc: Difference between revisions
Jump to navigation
Jump to search
>OmegaK2 No edit summary |
>Illviljan mNo edit summary |
||
| Line 16: | Line 16: | ||
| '''extra_item_tags''' || Adds additional item tags. Delimiter: ", " || {{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}} | | '''spawn_chance''' || Displays the spawn chance based on the specific modifier spawn weight and the total number of mods in that [[generation type]]. || {{no}} | ||
Revision as of 21:10, 28 September 2019
This subpage provides documentation for Template:Item 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 tags, its mod domain and generation type.
Parameters
| Parameter | Description | Required |
|---|---|---|
| item | The item to filter the modifiers for. | |
| header | Header name, defaults to the item tags if not specified. | |
| item_tags | Overrides the tags the item has. Delimiter: ", " (Not recommended) | |
| extra_item_tags | Adds additional item tags. Delimiter: ", " | |
| extra_fields | Displays extra fields. | |
| spawn_chance | Displays the spawn chance based on the specific modifier spawn weight and the total number of mods in that generation type. |
Example
{{Item modifiers
|item = Nailed Fist
|header = Claws
}}