Template:Skill: Difference between revisions

From Melvor Idle
(Now uses generic Icon template)
(Implement size parameter)
(2 intermediate revisions by one other user not shown)
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>[[File:{{{name|{{{1}}}}}}_(skill).svg | 25px | {{{link|link=}}}]] [[{{{name|{{{1}}}}}}]]</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.