4,951
edits
(Add optional type parameter for non-item masteries) |
Falterfire (talk | contribs) (Now directly uses the Icon template to pull images and links) |
||
Line 7: | Line 7: | ||
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;">Level {{{2}}} | <includeonly><onlyinclude><span style="display:inline-block;">Level {{{2}}} {{Icon|{{{1|}}}|type={{{type|item}}}|ext={{{ext|}}}|size={{{size|}}}|notext=true}} {{Icon|Mastery|size={{{size|}}}|notext=true}}{{#if:{{{showtext|}}}| {{Icon|{{{1|}}}|type={{{type|item}}}|noicon=true}} [[Mastery]]}}</span></onlyinclude></includeonly> |