Template:MasteryReq: Difference between revisions
From Melvor Idle
Falterfire (talk | contribs) (Changed template somewhat) |
(Swapping text around for consistency with Template:SkillReq) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
Example: {{T|MasteryReq|Dragon Javelin|90}} produces {{MasteryReq|Dragon Javelin|90}}. | Example: {{T|MasteryReq|Dragon Javelin|90}} produces {{MasteryReq|Dragon Javelin|90}}. | ||
The optional type argument can be used for things that aren't items. For example, {{T|MasteryReq|Qimican|90|type=constellation}} becomes {{MasteryReq|Qimican|90|type=constellation}} | |||
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;">{{Icon|{{{1|}}}|type={{{type|item}}}|ext={{{ext|}}}|size={{{size|}}}|notext=true}} {{Icon|Mastery|size={{{size|}}}|notext=true}} Level {{{2}}}{{#if:{{{showtext|}}}| {{Icon|{{{1|}}}|type={{{type|item}}}|noicon=true}} [[Mastery]]}}</span></onlyinclude></includeonly> |
Latest revision as of 00:46, 18 February 2022
Template for quickly including in-line Mastery requirements (similar to Template:SkillReq).
Example: {{MasteryReq|Dragon Javelin|90}}
produces
Level 90.
The optional type argument can be used for things that aren't items. For example, {{MasteryReq|Qimican|type=constellation|90}}
becomes
Level 90
The showtext argument shows the name of the item as well. For example, {{MasteryReq|Rune Essence|showtext=true|50}}
becomes
Level 50 Rune Essence Mastery