Difference between revisions of "Template:Skill"

From Melvor Idle
(Added notext option)
(Implement size parameter)
Line 2: Line 2:
 
This template is used to create an inline link to any skill page with an icon of the skill.
 
This template is used to create an inline link to any skill page with an icon of the skill.
  
For example, <nowiki>{{Skill|Herblore}}</nowiki> becomes {{Skill|Herblore}}.
+
For example, {{T|Skill|Herblore}} becomes {{Skill|Herblore}}.
  
<includeonly><onlyinclude>{{Icon|type=skill|{{{1}}}|{{{2|}}}|notext={{{notext|}}}}}</includeonly></onlyinclude>
+
<includeonly><onlyinclude>{{Icon|type=skill|{{{1}}}|{{{2|}}}|size={{{size|}}}|notext={{{notext|}}}}}</includeonly></onlyinclude>

Revision as of 16:01, 3 July 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.