Template:Link: Difference between revisions
From Ephinea PSO Wiki
m (:?) |
m (can use a second parameter in place of text= now. basically i just got tired of typing it LOL plus that's how normal links work anyway) |
||
Line 29: | Line 29: | ||
| female = [[File:{{{icon}}}_icon.png|16px|middle|link={{#if:{{{nolink|}}}||{{{1|}}}}}]] | | female = [[File:{{{icon}}}_icon.png|16px|middle|link={{#if:{{{nolink|}}}||{{{1|}}}}}]] | ||
| #default = [[File:{{{icon}}}.png|16px|middle|link={{#if:{{{nolink|}}}||{{{1|}}}}}]] | | #default = [[File:{{{icon}}}.png|16px|middle|link={{#if:{{{nolink|}}}||{{{1|}}}}}]] | ||
}}}}{{#if:{{{nolink|}}}|<span class="{{{color|link}}}">{{#if:{{{pre|}}}|{{{pre}}} }}{{#if:{{{text|}}}|{{{text}}}|{{{1|}}}}}{{#if:{{{post|}}}| {{{post}}}}}</span>|[[{{{1|}}}|<span class="{{{color|link}}}">{{#if:{{{pre|}}}|{{{pre}}} }}{{#if:{{{text|}}}|{{{text}}}|{{{1|}}}}}{{#if:{{{post|}}}| {{{post}}}}}</span>]]}}</span><noinclude> | }}}}{{#if:{{{nolink|}}}|<span class="{{{color|link}}}">{{#if:{{{pre|}}}|{{{pre}}} }}{{#if:{{{text|}}}|{{{text}}}|{{#if:{{{2|}}}|{{{2}}}|{{{1|}}}}}}}{{#if:{{{post|}}}| {{{post}}}}}</span>|[[{{{1|}}}|<span class="{{{color|link}}}">{{#if:{{{pre|}}}|{{{pre}}} }}{{#if:{{{text|}}}|{{{text}}}|{{#if:{{{2|}}}|{{{2}}}|{{{1|}}}}}}}{{#if:{{{post|}}}| {{{post}}}}}</span>]]}}</span><noinclude> | ||
==Usage and example== | ==Usage and example== | ||
Line 41: | Line 41: | ||
{{Link|icon=sword|Saber}} | {{Link|icon=sword|Saber}} | ||
<pre> | <pre> | ||
5-{{Link|color=rare|Event Egg| | 5-{{Link|color=rare|Event Egg|Egg}} Gamble | ||
</pre> | </pre> | ||
5-{{Link|color=rare|Event Egg| | 5-{{Link|color=rare|Event Egg|Egg}} Gamble | ||
<pre> | <pre> | ||
{{Link|icon=shifta|Shifta}} users | {{Link|icon=shifta|Shifta}} users |