Difference between revisions of "Item"
Stratonian (talk | contribs) m |
Stratonian (talk | contribs) m |
||
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 | ||
-->|{{#iferror:{{#ask:[[{{{link|{{{1}}}}}}]]|?Has icon}}|[[File:{{{1}}}.png|?]]<!-- handle non-existent icon | -->|{{#iferror:{{#ask:[[{{{link|{{{1}}}}}}]]|?Has icon}}|[[File:{{{1}}}.png|?]]<!-- handle non-existent icon | ||
− | -->[[File:{{#ask:[[ | + | -->[[File:{{#ask:[[Recipe:Vaccine]]|?Has icon|format=template|template=serial}}|25px]]}}<!-- |
-->|<span class="{{#switch:{{lc:{{{2|}}}}} | -->|<span class="{{#switch:{{lc:{{{2|}}}}} | ||
|common=quality-common | |common=quality-common |
Revision as of 13:03, 5 January 2024
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.