Template:Link: Difference between revisions

From Ephinea PSO Wiki
mNo edit summary
No edit summary
Line 1: Line 1:
{{#if:{{{icon|}}}|[[File:{{{icon|tool}}}_icon.png|16px|middle|link={{{1|}}}]]}}[[{{{1|}}}|<span class="{{{color|normal}}}">{{#if:{{{pre|}}}|{{{pre}}}&nbsp;}}{{#if:{{{text|}}}|{{{text}}}|{{{1|}}}}}{{#if:{{{post|}}}|&nbsp;{{{post}}}}}</span>]]<noinclude>
{{#if:{{{icon|}}}|
{{#switch:{{{icon}}}
| sword
| gun
| cane
| frame
| unit
| shield
| mag
| disk
| mate
| fluid
| tool
| meseta
| trap
| untekked
| quest
| viridia
| greenill
| skyly
| bluefull
| purplenum
| pinkal
| redria
| oran
| yellowboze
| whitill
| male
| female = [[File:{{{icon}}}_icon.png|16px|middle|link={{#if:{{{nolink|}}}||{{{1|}}}}}]]
| #default = [[File:{{{icon}}}.png|16px|middle|link={{#if:{{{nolink|}}}||{{{1|}}}}}]]
}}}}{{#if:{{{nolink|}}}|<span class="{{{color|normal}}}">{{#if:{{{pre|}}}|{{{pre}}}&nbsp;}}{{#if:{{{text|}}}|{{{text}}}|{{{1|}}}}}{{#if:{{{post|}}}|&nbsp;{{{post}}}}}</span>|[[{{{1|}}}|<span class="{{{color|normal}}}">{{#if:{{{pre|}}}|{{{pre}}}&nbsp;}}{{#if:{{{text|}}}|{{{text}}}|{{{1|}}}}}{{#if:{{{post|}}}|&nbsp;{{{post}}}}}</span>]]}}<noinclude>


==Usage and example==
==Usage and example==
Line 14: Line 44:
</pre>
</pre>
5-{{ItemLink|color=rare|Event Egg|text=Egg}} Gamble
5-{{ItemLink|color=rare|Event Egg|text=Egg}} Gamble
<pre>
{{ItemLink|icon=shifta|Shifta}} users
</pre>
{{ItemLink|icon=shifta|Shifta}} users
<pre>
{{ItemLink|icon=untekked|color=untekked|Special Weapon}}
</pre>
{{ItemLink|icon=untekked|color=untekked|nolink=1|Special Weapon}}
</noinclude>
</noinclude>

Revision as of 21:49, 1 May 2022

[[|]]

Usage and example

{{ItemLink|icon=gun|color=attributes|pre=Charge|Vulcan|post=+9}}

Template:ItemLink

{{ItemLink|icon=sword|Saber}}

Template:ItemLink

5-{{ItemLink|color=rare|Event Egg|text=Egg}} Gamble

5-Template:ItemLink Gamble

{{ItemLink|icon=shifta|Shifta}} users

Template:ItemLink users

{{ItemLink|icon=untekked|color=untekked|Special Weapon}}

Template:ItemLink