Difference between revisions of "Template:Item icon"
Jump to navigation
Jump to search
m |
m |
||
Line 2: | Line 2: | ||
-->[[File:{{{icon|{{{1|Item}}}}}}.png|{{#if:{{{large|}}}|35x35px|20x20px}}|bottom|link={{{1|Item}}}]]</span> <!-- | -->[[File:{{{icon|{{{1|Item}}}}}}.png|{{#if:{{{large|}}}|35x35px|20x20px}}|bottom|link={{{1|Item}}}]]</span> <!-- | ||
-->[[{{{1|Item}}}|{{{2|{{{1|Item}}}}}}]]</includeonly><noinclude> | -->[[{{{1|Item}}}|{{{2|{{{1|Item}}}}}}]]</includeonly><noinclude> | ||
== Description == | == Description == | ||
<pre>{{item icon|<item name>}}</pre> | <pre>{{item icon|<item name>}}</pre> |
Revision as of 12:23, 13 June 2017
Description
{{item icon|<item name>}}
Displays a link to the item and adds the item icon in front of it.
Parameters
- unnamed parameter 1
- Item page name. Defaults to "Item".
- unnamed parameter 2
- Item name. Defaults to <param 1>.png.
- icon
- Defines the icon to use. Defaults to <param 1>.png.
- large
- Put anything for this to make the icon twice as large.
Examples
- Allagan Tomestone of Poetics is produced from
{{item icon|Allagan Tomestone of Poetics}}
- Gil is produced from
{{item icon|Allagan Tomestone of Poetics|Gil}}
- Allagan Tomestone of Poetics is produced from
{{item icon|Allagan Tomestone of Poetics|large=y}}
- Example is produced from
{{item icon|Nonexistent page|Example}}