Template:ClassIcon: Difference between revisions
From IdleOn MMO Wiki
imported>Wekhter mNo edit summary |
imported>Kiokurashi No edit summary |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>[[File:{{{1}}} Class Icon.png| | <includeonly>[[File:{{{1}}} Class Icon.png|{{{size|24}}}px|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> |
Latest revision as of 13:16, 17 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}}