Template:Skillicon: Difference between revisions

From IdleOn MMO Wiki
imported>Kyromyr
m (Fixing newlines in output. For real this time!)
mNo edit summary
 
(14 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<includeonly>{{#switch: {{{input}}}
<includeonly>{{#switch: {{lc:{{{1}}}}}
|choppin=[[File:Choppin Skill Icon.png|25px|link=Chopping]]
|hatchet|choppin=[[File:Choppin Skill IconMini.png|link=Choppin]]{{#if:{{{2|}}}|&nbsp;[[Choppin]]|}}
|smithing=[[File:Smithing Skill Icon.png|25px|link=Smithing]]
|smithing=[[File:Smithing Skill IconMini.png|link=Smithing]]{{#if:{{{2|}}}|&nbsp;[[Smithing]]|}}
|mining=[[File:Mining Skill Icon.png|25px|link=Mining]]
|pickaxe|mining=[[File:Mining Skill IconMini.png|link=Mining]]{{#if:{{{2|}}}|&nbsp;[[Mining]]|}}
|fishing=[[File:Fishing Skill Icon.png|25px|link=Fishing]]
|fishing rod|fishing=[[File:Fishing Skill IconMini.png|link=Fishing]]{{#if:{{{2|}}}|&nbsp;[[Fishing]]|}}
|catching=[[File:Catching Skill Icon.png|25px|link=Catching]]
|bug catching net|catching=[[File:Catching Skill IconMini.png|link=Catching]]{{#if:{{{2|}}}|&nbsp;[[Catching]]|}}
|alchemy=[[File:Alchemy Skill Icon.png|25px|link=Alchemy]]
|alchemy=[[File:Alchemy Skill IconMini.png|link=Alchemy]]{{#if:{{{2|}}}|&nbsp;[[Alchemy]]|}}
|Wrong Input}}</includeonly><noinclude>
|trapping|trap box set=[[File:Trapping Skill IconMini.png|link=Trapping]]{{#if:{{{2|}}}|&nbsp;[[Trapping]]|}}
<pre>
|worship|worship skull=[[File:Worship Skill IconMini.png|link=Worship]]{{#if:{{{2|}}}|&nbsp;[[Worship]]|}}
Usage: {{skillicon|input=choppin or smithing or mining or fishing or catching or alchemy}}
|construction=[[File:Construction Skill IconMini.png|link=Construction]]{{#if:{{{2|}}}|&nbsp;[[Construction]]|}}
</pre>
|breeding=[[File:Breeding Skill IconMini.png|link=Breeding]]{{#if:{{{2|}}}|&nbsp;[[Breeding]]|}}
</noinclude>
|cooking=[[File:Cooking Skill IconMini.png|link=Cooking]]{{#if:{{{2|}}}|&nbsp;[[Cooking]]|}}
|laboratory=[[File:Laboratory Skill IconMini.png|link=Laboratory]]{{#if:{{{2|}}}|&nbsp;[[Laboratory]]|}}
|gaming=[[File:Gaming Skill IconMini.png|link=Gaming]]{{#if:{{{2|}}}|&nbsp;[[Gaming]]|}}
|divinity=[[File:Divinity Skill IconMini.png|link=Divinity]]{{#if:{{{2|}}}|&nbsp;[[Divinity]]|}}
|sailing=[[File:Sailing Skill IconMini.png|link=Sailing]]{{#if:{{{2|}}}|&nbsp;[[Sailing]]|}}
|farming=[[File:Farming Skill IconMini.png|link=Farming]]{{#if:{{{2|}}}|&nbsp;[[Farming]]|}}
|sneaking=[[File:Sneaking Skill IconMini.png|link=Sneaking]]{{#if:{{{2|}}}|&nbsp;[[Sneaking]]|}}
|summoning=[[File:Summoning Skill IconMini.png|link=Summoning]]{{#if:{{{2|}}}|&nbsp;[[Summoning]]|}}
|#default=}}</includeonly><noinclude>Display the class icon. Usage:
<pre>{{skillicon
|Skill or Type (for tools)
|Link to Skill (Optional, defaults to no)
}}</pre>
 
Example 1:  
<pre>{{skillicon|Hatchet}}</pre>
{{skillicon|Hatchet}}
 
Example 2:
<pre>{{skillicon|Mining|y}}</pre>
{{skillicon|Mining|y}}</noinclude>

Latest revision as of 01:50, 24 February 2024

Display the class icon. Usage:

{{skillicon
|Skill or Type (for tools)
|Link to Skill (Optional, defaults to no)
}}

Example 1:

{{skillicon|Hatchet}}

Choppin Skill IconMini.png

Example 2:

{{skillicon|Mining|y}}

Mining Skill IconMini.png Mining