Template:PSO link: Difference between revisions

From Ephinea PSO Wiki
(Added special case for Meseta)
mNo edit summary
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| ]][[Meseta]]
|#default = [[File:{{{1}}}_icon.png|link={{{2}}}]][[{{{2}}}| ]][[{{{2}}}]]}}<noinclude>
|#default = [[File:{{{1}}}_icon.png|16px|link={{{2}}}]][[{{{2}}}| ]][[{{{2}}}]]}}<noinclude>
==Usage==
==Usage==
<pre>
<pre>

Revision as of 19:57, 12 April 2023

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

Usage

{{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

{{PSO link|sword|Saber}}

Sword icon.png Saber

{{PSO link|meseta}}

Meseta icon.png Meseta