Template:ClassIcon: Difference between revisions

From IdleOn MMO Wiki
imported>Kiokurashi
m (Protected "Template:ClassIcon" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
imported>Kiokurashi
No edit summary
 
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