Editing Template:PSO link

From Ephinea PSO Wiki
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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:
{{#switch:{{{1}}}
[[File:{{{1}}}_icon.png|link={{{2}}}]][[{{{2}}}| ]][[{{{2}}}]]<noinclude>
|meseta|Meseta = [[File:Meseta_icon.png|16px|link=Meseta]][[Meseta]]
|#default = [[File:{{{1}}}_icon.png|16px|link={{{2}}}]][[{{{2}}}]]}}<noinclude>
==Usage==
==Usage==
<pre>
<pre>
Line 9: Line 7:


Useful for quickly assigning icons to internal links relevant to most types of PSO entities.
Useful for quickly assigning icons to internal links relevant to most types of PSO entities.
<br>
To reduce repetition, a special case is made for Meseta to not require the second parameter, though is optionally allowed.


Alternative to using [[Template:PSO icon]] alongside a linked article, as '''Template:PSO link''' allows the icon to also link the linked article.
Alternative to using [[Template:PSO icon]] alongside a linked article, as [[Template:PSO link]] allows the icon to also link the linked article.


Contrast with:
Contrast with:
Line 19: Line 15:
</pre>
</pre>


==Examples==
==Example==
<pre>
<pre>
{{PSO link|sword|Saber}}
{{PSO link|sword|Saber}}
</pre>
</pre>
{{PSO link|sword|Saber}}
{{PSO link|sword|Saber}}
<pre>
{{PSO link|meseta}}
</pre>
{{PSO link|meseta}}
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>
Please note that all contributions to Ephinea PSO Wiki are considered to be released under the CC BY-NC-SA 4.0 (see Ephinea PSO Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)