Template:SkillReq: Difference between revisions

link image to skill page
(Malcs Has Spoken)
(link image to skill page)
Line 3: Line 3:
If 'showtext' is set, the name of the skill is also displayed. {{T|SkillReq|Herblore|15|showtext=true}} becomes {{SkillReq|Herblore|15|showtext=true}}
If 'showtext' is set, the name of the skill is also displayed. {{T|SkillReq|Herblore|15|showtext=true}} becomes {{SkillReq|Herblore|15|showtext=true}}


<includeonly><onlyinclude><span style="display:inline-block">[[File:{{{1}}}_(skill).svg | 20px | {{{1}}}]]{{#if:{{{showtext|}}}|&nbsp;[[{{{1}}}]]}} Level {{{2}}}</span></onlyinclude></includeonly>
<includeonly><onlyinclude><span style="display:inline-block">[[File:{{{1}}}_(skill).svg | 20px | {{{1}}} | link={{{1}}}]]{{#if:{{{showtext|}}}|&nbsp;[[{{{1}}}]]}} Level {{{2}}}</span></onlyinclude></includeonly>
57

edits