Template:IIn

From HorizonXI Wiki
Revision as of 23:45, 10 January 2023 by Spiffly (talk | contribs) (Created page with "<onlyinclude><includeonly>{{#ifeq: {{PAGENAMEE:{{{1}}}}} | {{PAGENAMEE}} | '''{{{1}}}''' | {{#switch: {{lc:{{{2|}}}}} | noicon = <span style="display:inline-block;" class="advanced-tooltip">[[{{{1}}}]]<span class="tooltip-contents hidden">{{#dpl: title={{{1}}} | include = {Item Image}:1}}</span></span> | notext = {{#ifeq: {{PAGENAMEE:{{{1}}}}} | {{PAGENAMEE}} | | File:{{5Digit|{{#dpl: allowcachedresults = true | title = {{{1}}} | include = {Item Statistics}:icon id}}}}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

{{IIn|<item name>}}

Short for "Icon Inline". Displays a link to an item with a 16px icon in front of it and a tooltip of the item's in-game image. See Template:I for the 32px version.

Examples

Code Result
{{IIn|Afflictors}}
5D plz.png Afflictors
{{IIn|Afflictors|notags}}
5D plz.png Afflictors
{{IIn|Potion}}
04112.png Potion
{{IIn|Potion Tmp}}
04112.png Potion Temporary
{{IIn|Evolith}}
File:02783.png Evolith Exclusive
{{IIn|Evolith (Resist Virus +1)}}
File:02783.png Evolith (Resist Virus +1) Exclusive