Template:I: Difference between revisions
From Everafter Falls Wiki
mNo edit summary |
mNo edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>[[File:{{{1|}}}.png|{{{size| | <includeonly>[[File:{{{alt|{{{1|}}}}}}.png|{{{size|28}}}px|link=]][[{{{1|}}}]] {{#if:{{{2|}}}|({{{2|1}}})}}<br /></includeonly><noinclude>{{documentation}} | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> | ||
Latest revision as of 06:29, 20 July 2024
| Template documentation |
|---|
| Note: portions of the template sample may not be visible without values provided. |
| View or edit this documentation. (About template documentation) |
| Editors can experiment in this template's sandbox and test case pages. |
Description
This template is used to display a link to an item page with an icon next to it and an optional comment. The template is intended to be used in lists, tables, or infoboxes; please use plain text links in sentences.
Syntax
{{i|Item name|Comment or quantity|size=icon size|alt=alternate image to use}}
- The first parameter is used for link and link text.
- The second parameter is displayed in parentheses after the item link; usually used for item quantities in recipes.
- The optional size parameter can be used to set a custom icon size.
Sample use
{{i|Fire Essence|2}}
results in
Fire Essence (2)
{{i|Fire Essence|2|alt=Water Essence}}
results in
Fire Essence (2)