Template:ItemIcon/doc: Difference between revisionsGive feedback
Jump to navigation
Jump to search
No edit summary |
Data source changed |
||
| Line 1: | Line 1: | ||
== Usage == | == Usage == | ||
This template creates a small item icon. The label and link will be automatically translated on a language subpage. Data is pulled automatically from [[Data: | This template creates a small item icon. The label and link will be automatically translated on a language subpage. Data is pulled automatically from [[Data:ResourceLookup.json]]. | ||
If an item gets renamed, add the old name to the aliases table in [[Module:Icon]]. | If an item gets renamed, add the old name to the aliases table in [[Module:Icon]]. | ||
Revision as of 16:36, 11 March 2026
Usage
This template creates a small item icon. The label and link will be automatically translated on a language subpage. Data is pulled automatically from Data:ResourceLookup.json.
If an item gets renamed, add the old name to the aliases table in Module:Icon.
Examples
{{ItemIcon|Titanic Magazine}}
{{ItemIcon|Disarming Hex|l1=Hex}}
{{ItemIcon|Warp Stone|size=40px}}
Titanic Magazine Hex Warp Stone
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| 1 | 1 | Item name. | String | required |
| l1 | l1 | Custom text. | String | optional |
| size | size | Icon size.
| String | optional |
| no-link | no-link | Removes the link.
| Boolean | optional |
| icon-only | icon-only | Hides any text.
| Boolean | optional |