Template:IconLink: Difference between revisions

From Ephinea PSO Wiki
mNo edit summary
m (broke something but fixed it probably)
Line 19: Line 19:
| olga2
| olga2
| glow = {{#if:{{{nolink|}}}|{{Link|icon={{{1}}}|color={{{2|}}}|{{{3|}}}|{{{4|}}}|nolink=1}}|{{#ifeq:{{{3|}}}|{{PAGENAME}}|'''{{Link|icon={{{1}}}|color={{{2|}}}|{{{3|}}}|{{{4|}}}|nolink=1}}'''|{{Link|icon={{{1}}}|color={{{2|}}}|{{{3|}}}|{{{4|}}}}}}}}}
| glow = {{#if:{{{nolink|}}}|{{Link|icon={{{1}}}|color={{{2|}}}|{{{3|}}}|{{{4|}}}|nolink=1}}|{{#ifeq:{{{3|}}}|{{PAGENAME}}|'''{{Link|icon={{{1}}}|color={{{2|}}}|{{{3|}}}|{{{4|}}}|nolink=1}}'''|{{Link|icon={{{1}}}|color={{{2|}}}|{{{3|}}}|{{{4|}}}}}}}}}
| #default = {{#if:{{{nolink|}}}|{{Link|icon={{{1}}}|color=link|{{{2|}}}|{{{3|}}}|nolink=1}}|{{#ifeq:{{{2|}}}|{{PAGENAME}}|'''{{Link|icon={{{1}}}|color={{{2|}}}|{{{3|}}}|nolink=1}}'''|{{Link|icon={{{1}}}|color={{{2|}}}|{{{3|}}}}}}}}}}}<noinclude>
| #default = {{#if:{{{nolink|}}}|{{Link|icon={{{1}}}|color=link|{{{2|}}}|{{{3|}}}|nolink=1}}|{{#ifeq:{{{2|}}}|{{PAGENAME}}|'''{{Link|icon={{{1}}}|color=link|{{{2|}}}|{{{3|}}}|nolink=1}}'''|{{Link|icon={{{1}}}|color=link|{{{2|}}}|{{{3|}}}}}}}}}}}<noinclude>
==Usage and example==
==Usage and example==
<pre>{{IconLink|sword|Saber}}</pre>
<pre>{{IconLink|sword|Saber}}</pre>

Revision as of 05:23, 16 April 2023

[[File:{{{1}}}.png|16px|middle|link=]][[|]]

Usage and example

{{IconLink|sword|Saber}}

Sword icon.pngSaber

{{IconLink|gun|attributes|Launcher|Charge Launcher +15}}

Gun icon.pngCharge Launcher +15

{{IconLink|unit|rare|V101}}

Unit icon.pngV101

{{IconLink|cane|es|ES Windmill}}

Cane icon.pngES Windmill