Template:ClassIcon: Difference between revisions

From IdleOn MMO Wiki
imported>Wekhter
mNo edit summary
imported>Kiokurashi
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>[[File:{{{1}}} Class Icon.png|24px|link={{#if:{{{2|}}}|{{{1}}}|}}]]&nbsp;{{#if:{{{2|}}}|[[{{{1}}}]]|{{{1}}}}}</includeonly><noinclude>Display the class icon. Usage:
<includeonly>[[File:{{{1}}} Class Icon.png|{{{size|24}}}px|link={{#if:{{{2|}}}|{{{1}}}|}}]]&nbsp;{{#if:{{{2|}}}|[[{{{1}}}]]|{{{1}}}}}</includeonly><noinclude>Display the class icon. Usage:
<pre>{{ClassIcon
<pre>{{ClassIcon
|Class (Required)
|Class (Required)

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 Class Icon.png Mage

Example 2:

{{ClassIcon|Mage|y}}

Mage Class Icon.png Mage