Difference between revisions of "Template:Skill"

From Melvor Idle
(Implement size parameter)
(Allow all options provided by Template:Icon)
 
Line 4: Line 4:
 
For example, {{T|Skill|Herblore}} becomes {{Skill|Herblore}}.
 
For example, {{T|Skill|Herblore}} becomes {{Skill|Herblore}}.
  
<includeonly><onlyinclude>{{Icon|type=skill|{{{1}}}|{{{2|}}}|size={{{size|}}}|notext={{{notext|}}}}}</includeonly></onlyinclude>
+
For a complete list of options, please refer to [[Template:Icon]].
 +
 
 +
<includeonly><onlyinclude>{{Icon|type=skill|{{{1}}}|{{{2|}}}|ext={{{ext|}}}|size={{{size|}}}|qty={{{qty|}}}|img={{{img|}}}|notext={{{notext|}}}|nolink={{{nolink|}}}|noicon={{{noicon|}}}|menu={{{menu|}}}}}</includeonly></onlyinclude>

Latest revision as of 00:32, 2 December 2021

This template is used to create an inline link to any skill page with an icon of the skill.

For example, {{Skill|Herblore}} becomes Herblore (skill).svg Herblore.

For a complete list of options, please refer to Template:Icon.