Template:SkillReq: Difference between revisions

no edit summary
(Slight formatting tweaks)
No edit summary
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Allows for quickly creating skill requirement setups. So for example {{T|SkillReq|Farming|40}} becomes {{SkillReq|Farming|40}}.
<includeonly><onlyinclude><span style="display:inline-block">{{#invoke:Icons|SkillRealmIcon|{{{1}}}|size=20}}{{#if:{{{showtext|}}}|&nbsp;[[{{{1}}}]]}} Level {{{2}}}</span></onlyinclude></includeonly><noinclude>{{/doc}}</noinclude>
 
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">Lv {{{2}}} [[File:{{{1}}}_(skill).svg | 20px | {{{1}}}]]{{#if:{{{showtext|}}}|&nbsp;[[{{{1}}}]]}}</span></onlyinclude></includeonly>
2,875

edits