Template:PSO link: Difference between revisions

From Ephinea PSO Wiki
(Added special case for Meseta)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{#switch:{{{1}}}
{{#switch:{{{1}}}
|meseta|Meseta = [[File:Meseta_icon.png|link=Meseta]][[Meseta| ]][[Meseta]]
|meseta|Meseta = [[File:Meseta_icon.png|16px|link=Meseta]][[Meseta]]
|#default = [[File:{{{1}}}_icon.png|link={{{2}}}]][[{{{2}}}| ]][[{{{2}}}]]}}<noinclude>
|#default = [[File:{{{1}}}_icon.png|16px|link={{{2}}}]][[{{{2}}}]]}}<noinclude>
==Usage==
==Usage==
<pre>
<pre>

Latest revision as of 20:00, 12 April 2023

[[File:{{{1}}}_icon.png|16px|link={{{2}}}]][[{{{2}}}]]

Usage[edit source]

{{PSO link|iconPrefix|article}}

A list of icons currently suitable for this template as of this writing can be found here.

Useful for quickly assigning icons to internal links relevant to most types of PSO entities.
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.

Contrast with:

[[File:Untekked_icon.png|link=Tekking]][[Tekking]]

Examples[edit source]

{{PSO link|sword|Saber}}

Sword icon.pngSaber

{{PSO link|meseta}}

Meseta icon.pngMeseta