Template:Link: Difference between revisions
From Ephinea PSO Wiki
mNo edit summary |
m (hopefully sticking icon + name on same line now) |
||
Line 1: | Line 1: | ||
{{#if:{{{icon|}}}| | <span>{{#if:{{{icon|}}}| | ||
{{#switch:{{{icon}}} | {{#switch:{{{icon}}} | ||
| sword | | sword | ||
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>]]}}<noinclude> | }}}}{{#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> | ||
==Usage and example== | ==Usage and example== |