Editing Template:Link
From Ephinea PSO Wiki
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{{#if:{{{icon|}}}| | |||
{{#switch:{{{icon}}} | {{#switch:{{{icon}}} | ||
| sword | | sword | ||
Line 16: | Line 16: | ||
| untekked | | untekked | ||
| quest | | quest | ||
| viridia | | viridia | ||
| greenill | | greenill | ||
Line 28: | Line 27: | ||
| whitill | | whitill | ||
| male | | male | ||
| female = [[File:{{{icon}}}_icon.png|16px|middle|link={{#if:{{{nolink | | female = [[File:{{{icon}}}_icon.png|16px|middle|link={{#if:{{{nolink|}}}||{{{1|}}}}}]] | ||
| #default = [[File:{{{icon}}}.png|16px|middle|link={{#if:{{{nolink | | #default = [[File:{{{icon}}}.png|16px|middle|link={{#if:{{{nolink|}}}||{{{1|}}}}}]] | ||
}}}}{{#if:{{{nolink|}}}|<span class="{{{color| | }}}}{{#if:{{{nolink|}}}|<span class="{{{color|normal}}}">{{#if:{{{pre|}}}|{{{pre}}} }}{{#if:{{{text|}}}|{{{text}}}|{{{1|}}}}}{{#if:{{{post|}}}| {{{post}}}}}</span>|[[{{{1|}}}|<span class="{{{color|normal}}}">{{#if:{{{pre|}}}|{{{pre}}} }}{{#if:{{{text|}}}|{{{text}}}|{{{1|}}}}}{{#if:{{{post|}}}| {{{post}}}}}</span>]]}}<noinclude> | ||
==Usage and example== | ==Usage and example== | ||
Line 42: | Line 41: | ||
{{Link|icon=sword|Saber}} | {{Link|icon=sword|Saber}} | ||
<pre> | <pre> | ||
5-{{Link|color=rare|Event Egg|Egg}} Gamble | 5-{{Link|color=rare|Event Egg|text=Egg}} Gamble | ||
</pre> | </pre> | ||
5-{{Link|color=rare|Event Egg|Egg}} Gamble | 5-{{Link|color=rare|Event Egg|text=Egg}} Gamble | ||
<pre> | <pre> | ||
{{Link|icon=shifta|Shifta}} users | {{Link|icon=shifta|Shifta}} users |