Template:IIn: Difference between revisions

From HorizonXI Wiki
m (set allowcachedresults for dpl call to true)
Tag: Manual revert
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<onlyinclude><includeonly>{{#ifeq: {{PAGENAMEE:{{{1}}}}} | {{PAGENAMEE}} | '''{{{1}}}''' | {{#switch: {{lc:{{{2|}}}}}
<onlyinclude><includeonly>[[{{{1}}}]]<!--{{#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>
| 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}}}}.png|16px|text-bottom|link={{{1}}}]]}}
| notext = {{#ifeq: {{PAGENAMEE:{{{1}}}}} | {{PAGENAMEE}} | | [[File:{{5Digit|{{#dpl: allowcachedresults = false | title = {{{1}}} | include = {Item Statistics}:icon id}}}}.png|16px|text-bottom|link={{{1}}}]]}}
| notags = <span style="display:inline-block;" class="advanced-tooltip">[[File:{{5Digit|{{#dpl: allowcachedresults = true | title = {{{1}}} | include = {Item Statistics}:icon id}}}}.png|16px|text-bottom|link={{{1}}}]] [[{{{1}}}]]<span class="tooltip-contents hidden">[[File:{{#dpl: title={{{1}}} | include = {Item Image}:1}}]]</span></span>
| notags = <span style="display:inline-block;" class="advanced-tooltip">[[File:{{5Digit|{{#dpl: allowcachedresults = false | title = {{{1}}} | include = {Item Statistics}:icon id}}}}.png|16px|text-bottom|link={{{1}}}]] [[{{{1}}}]]<span class="tooltip-contents hidden">[[File:{{#dpl: title={{{1}}} | include = {Item Image}:1}}]]</span></span>
| display = <span style="display:inline-block;" class="advanced-tooltip">[[{{{1}}}|{{{3}}}]]<span class="tooltip-contents hidden">[[File:{{#dpl: title={{{1}}} | include = {Item Image}:1}}]]</span></span>
| display = <span style="display:inline-block;" class="advanced-tooltip">[[{{{1}}}|{{{3}}}]]<span class="tooltip-contents hidden">[[File:{{#dpl: title={{{1}}} | include = {Item Image}:1}}]]</span></span>
| #default = {{#ifeq: {{#pos:{{{1}}}|Evolith}} | | {{#ifeq: {{#pos:{{{1}}}|Tmp}} | | <span style="display:inline-block;" class="advanced-tooltip">[[File:{{5Digit|{{#dpl: allowcachedresults = true | title = {{{1}}} | include = {Item Statistics}:icon id}}}}.png|16px|text-bottom|link={{{1}}}]] [[{{{1}}}|{{#replace:{{{1}}}|/Aug|}}]] {{#switch: {{#dpl: allowcachedresults = true | title = {{{1}}} | include = {Item Statistics}:tags}} | {{Rare}}{{Exclusive}} = {{Rare|nc}}{{Exclusive|nc}} | {{Rare}} = {{Rare|nc}} | {{Exclusive}} = {{Exclusive|nc}} | {{Augment}}{{Rare}}{{Exclusive}} = {{Augment|nc}}{{Rare|nc}}{{Exclusive|nc}} | {{Augment}}{{Exclusive}} = {{Augment|nc}}{{Exclusive|nc}} | {{Augment}} = {{Augment|nc}} | {{Rare}}{{Exclusive}}{{Temp}} = {{Rare|nc}}{{Exclusive|nc}}{{Temp|nc}} | {{Temp}} = {{Temp|nc}}}}<span class="tooltip-contents hidden">[[File:{{#dpl: title={{{1}}} | include = {Item Image}:1}}]]</span></span> | <span style="display:inline-block;" class="advanced-tooltip">[[File:{{5Digit|{{#dpl: allowcachedresults = true | title = {{#replace:{{{1}}}| Tmp|}} | include = {Item Statistics}:icon id}}}}.png|16px|text-bottom|link={{#replace:{{{1}}}| Tmp|}}]] [[{{#replace:{{{1}}}| Tmp|}}]] {{#switch: {{#dpl: allowcachedresults = true | title = {{#replace:{{{1}}}| Tmp|}} | include = {Item Statistics}:tags}} | {{Rare}}{{Exclusive}}{{Temp}} = {{Rare|nc}}{{Exclusive|nc}}{{Temp|nc}} | {{Temp}} = {{Temp|nc}} | #default = {{Temp|nc}}}}<span class="tooltip-contents hidden">[[File:{{#replace:{{{1}}}| Tmp|}} (Tmp).png]]</span></span>}} | <span style="display:inline-block;" class="advanced-tooltip">[[File:02783.png|16px|text-bottom|link=Evolith]] [[Evolith|{{{1}}}]] {{Exclusive|nc}}<span class="tooltip-contents hidden">[[File:{{{1}}}.png]]</span></span>}}}}}}</includeonly></onlyinclude>
| #default = {{#ifeq: {{#pos:{{{1}}}|Evolith}} | | {{#ifeq: {{#pos:{{{1}}}|Tmp}} | | <span style="display:inline-block;" class="advanced-tooltip">[[File:{{5Digit|{{#dpl: allowcachedresults = false | title = {{{1}}} | include = {Item Statistics}:icon id}}}}.png|16px|text-bottom|link={{{1}}}]] [[{{{1}}}|{{#replace:{{{1}}}|/Aug|}}]] {{#switch: {{#dpl: allowcachedresults = false | title = {{{1}}} | include = {Item Statistics}:tags}} | {{Rare}}{{Exclusive}} = {{Rare|nc}}{{Exclusive|nc}} | {{Rare}} = {{Rare|nc}} | {{Exclusive}} = {{Exclusive|nc}} | {{Augment}}{{Rare}}{{Exclusive}} = {{Augment|nc}}{{Rare|nc}}{{Exclusive|nc}} | {{Augment}}{{Exclusive}} = {{Augment|nc}}{{Exclusive|nc}} | {{Augment}} = {{Augment|nc}} | {{Rare}}{{Exclusive}}{{Temp}} = {{Rare|nc}}{{Exclusive|nc}}{{Temp|nc}} | {{Temp}} = {{Temp|nc}}}}<span class="tooltip-contents hidden">[[File:{{#dpl: title={{{1}}} | include = {Item Image}:1}}]]</span></span> | <span style="display:inline-block;" class="advanced-tooltip">[[File:{{5Digit|{{#dpl: allowcachedresults = false | title = {{#replace:{{{1}}}| Tmp|}} | include = {Item Statistics}:icon id}}}}.png|16px|text-bottom|link={{#replace:{{{1}}}| Tmp|}}]] [[{{#replace:{{{1}}}| Tmp|}}]] {{#switch: {{#dpl: allowcachedresults = false | title = {{#replace:{{{1}}}| Tmp|}} | include = {Item Statistics}:tags}} | {{Rare}}{{Exclusive}}{{Temp}} = {{Rare|nc}}{{Exclusive|nc}}{{Temp|nc}} | {{Temp}} = {{Temp|nc}} | #default = {{Temp|nc}}}}<span class="tooltip-contents hidden">[[File:{{#replace:{{{1}}}| Tmp|}} (Tmp).png]]</span></span>}} | <span style="display:inline-block;" class="advanced-tooltip">[[File:02783.png|16px|text-bottom|link=Evolith]] [[Evolith|{{{1}}}]] {{Exclusive|nc}}<span class="tooltip-contents hidden">[[File:{{{1}}}.png]]</span></span>}}}}}}--></includeonly></onlyinclude>
[[Category:Templates|{{PAGENAMEE}}]]
[[Category:Templates|{{PAGENAMEE}}]]
==Usage==
==Usage==

Latest revision as of 20:23, 21 October 2023

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}}
Afflictors
{{IIn|Afflictors|notags}}
Afflictors
{{IIn|Potion}}
Potion
{{IIn|Potion Tmp}}
Potion Tmp
{{IIn|Evolith}}
Evolith
{{IIn|Evolith (Resist Virus +1)}}
Evolith (Resist Virus +1)