Template:Skill: Difference between revisions

From Melvor Idle
(Now uses generic Icon template)
(Added notext option)
(One intermediate revision by the same user not shown)
Line 4: Line 4:
For example, <nowiki>{{Skill|Herblore}}</nowiki> becomes {{Skill|Herblore}}.
For example, <nowiki>{{Skill|Herblore}}</nowiki> becomes {{Skill|Herblore}}.


<includeonly><onlyinclude>[[File:{{{name|{{{1}}}}}}_(skill).svg | 25px | {{{link|link=}}}]] [[{{{name|{{{1}}}}}}]]</includeonly></onlyinclude>
<includeonly><onlyinclude>{{Icon|type=skill|{{{1}}}|{{{2|}}}|notext={{{notext|}}}}}</includeonly></onlyinclude>

Revision as of 21:26, 11 September 2020

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.