Template:ClassIcon: Difference between revisions
From IdleOn MMO Wiki
imported>Wekhter mNo edit summary |
imported>Wekhter mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>[[File:{{{1}}} Class Icon.png|24px|link={{#if:{{{2|}}}|{{{1}}}|}}]] {{#if:{{{2|}}}|[[{{{1}}}]]|{{{1}}}}}</includeonly> | <includeonly>[[File:{{{1}}} Class Icon.png|24px|link={{#if:{{{2|}}}|{{{1}}}|}}]] {{#if:{{{2|}}}|[[{{{1}}}]]|{{{1}}}}}</includeonly><noinclude>Display the class icon. Usage: | ||
<pre>{{ClassIcon | |||
|Class (Required) | |||
|Link to class page (Optional, defaults to no) | |||
}}</pre> | |||
Example 1: | |||
<pre>{{ClassIcon|Mage|}}</pre> | |||
{{ClassIcon|Mage|}} | |||
Example 2: | |||
<pre>{{ClassIcon|Mage|y}}</pre> | |||
{{ClassIcon|Mage|y}}</noinclude> |
Revision as of 20:11, 11 March 2022
Display the class icon. Usage:
{{ClassIcon |Class (Required) |Link to class page (Optional, defaults to no) }}
Example 1:
{{ClassIcon|Mage|}}
Mage
Example 2:
{{ClassIcon|Mage|y}}