Template:ClassIcon: Difference between revisions

From IdleOn MMO Wiki
imported>Wekhter
(Created page with "<includeonly>[[File:{{{1}}} Class Icon.png|24px|link={{{1}}}]] {{#if:{{{2|}}}|{{{1}}}|[[{{{1}}}]]}}</includeonly>")
 
imported>Kiokurashi
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>[[File:{{{1}}} Class Icon.png|24px|link={{{1}}}]] {{#if:{{{2|}}}|{{{1}}}|[[{{{1}}}]]}}</includeonly>
<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
|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 Class Icon.png Mage

Example 2:

{{ClassIcon|Mage|y}}

Mage Class Icon.png Mage