Template:MasteryReq: Difference between revisions
From Melvor Idle
Falterfire (talk | contribs) (Changed template somewhat) |
Falterfire (talk | contribs) (Slight format tweak) |
||
Line 5: | Line 5: | ||
The showtext argument shows the name of the item as well. For example, {{T|MasteryReq|Rune Essence|50|showtext=true}} becomes {{MasteryReq|Rune Essence|50|showtext=true}} | The showtext argument shows the name of the item as well. For example, {{T|MasteryReq|Rune Essence|50|showtext=true}} becomes {{MasteryReq|Rune Essence|50|showtext=true}} | ||
<includeonly><onlyinclude><span style="display:inline-block;"> | <includeonly><onlyinclude><span style="display:inline-block;">Level {{{2}}} [[File:{{{1}}}_(item).svg|20px|{{{1}}}]] [[File:Mastery.svg|20px|Mastery]]{{#if:{{{showtext|}}}| [[{{{1}}}]] [[Mastery]]}}</span></onlyinclude></includeonly> |
Revision as of 18:45, 1 October 2020
Template for quickly including in-line Mastery requirements (similar to Template:SkillReq).
Example: {{MasteryReq|Dragon Javelin|90}}
produces Level 90 .
The showtext argument shows the name of the item as well. For example, {{MasteryReq|Rune Essence|50|showtext=true}}
becomes Level 50 Rune Essence Mastery