Difference between revisions of "Item"
Stratonian (talk | contribs) m (better file link) |
Stratonian (talk | contribs) m (different file size) |
||
Line 1: | Line 1: | ||
<includeonly>{{#iferror:{{icon|{{{icon|{{{1}}}.png}}}}}<!-- if icon doesn't exist | <includeonly>{{#iferror:{{icon|{{{icon|{{{1}}}.png}}}}}<!-- if icon doesn't exist | ||
-->|[[File:{{{1}}}.png|?]]<!-- handle non-existent icon | -->|[[File:{{{1}}}.png|?]]<!-- handle non-existent icon | ||
− | -->|{{icon|{{{icon|{{{1}}}.png}}}|{{{link|{{{1}}}}}}}}}}<!-- add icon with link | + | -->|{{icon|{{{icon|{{{1}}}.png}}}|{{{link|{{{1}}}}}}|25}}}}<!-- add icon with link |
-->{{#if:{{{nolabel|}}}||<!-- if no label is specified | -->{{#if:{{{nolabel|}}}||<!-- if no label is specified | ||
--> {{#ifeq:{{lc:{{{link}}}}}|no<!-- if no link is specified | --> {{#ifeq:{{lc:{{{link}}}}}|no<!-- if no link is specified |
Revision as of 19:15, 19 August 2023
Description
Displays a item's icon and name, with a link to the page of the item.
Usage
{{item|<Spine>|<common>|<icon=Spine.png>|<link=Spine>|<nolabel=yes>}}
Parameters
- 2: The item's Quality.
- Optional.