Template:ItemIcon: Difference between revisionsGive feedback
Jump to navigation
Jump to search
Gammaton32 (talk | contribs) brightness 100 |
mNo edit summary |
||
| (13 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><span | <includeonly><span class="item-link-wrapper" data-item-name="{{#invoke:Icon|getCanonicalName|{{{1}}}}}">{{#invoke:Icon|render|{{{1}}}|l1={{{l1|}}}|link={{{link|}}}|size={{{size|}}}|no-link={{{no-link|}}}|no-file={{{no-file|}}}|icon-only={{{icon-only|}}}|image={{{image|}}}}}</span></includeonly><noinclude>{{Documentation}}</noinclude> | ||
| | |||
| | |||
}}|{{{size| | |||
| | |||
}}|{{{ | |||
Latest revision as of 21:05, 18 May 2026
Usage
[edit source]This template creates a small item icon. The label and link will be automatically translated on a language subpage.
For more details, see Module:Icon.
Examples
[edit source]{{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 |
| link | link | Custom link. | String | optional |
| image | image | Custom image.
| String | optional |
| size | size | Icon size.
| String | optional |
| no-link | no-link | Removes the target link.
| Boolean | optional |
| no-file | no-file | Removes the file image.
| Boolean | optional |
| icon-only | icon-only | Removes any text.
| Boolean | optional |