Template:SpellIcon: Difference between revisions

Support 'section' parameter
(New template spell icons, which automatically determines the correct icon type)
 
(Support 'section' parameter)
Line 3: Line 3:
For a complete list of options, please refer to [[Template:Icon]].
For a complete list of options, please refer to [[Template:Icon]].


<includeonly><onlyinclude>{{Icon|type={{#invoke:Magic|getSpellIconType|{{{1|}}}}}|{{{1}}}|{{{2|}}}|ext={{{ext|}}}|size={{{size|}}}|qty={{{qty|}}}|img={{{img|}}}|notext={{{notext|}}}|nolink={{{nolink|}}}|noicon={{{noicon|}}}|menu={{{menu|}}}}}</onlyinclude></includeonly>
<includeonly><onlyinclude>{{Icon|type={{#invoke:Magic|getSpellIconType|{{{1|}}}}}|{{{1}}}|{{{2|}}}|ext={{{ext|}}}|size={{{size|}}}|qty={{{qty|}}}|img={{{img|}}}|notext={{{notext|}}}|nolink={{{nolink|}}}|noicon={{{noicon|}}}|menu={{{menu|}}}|section={{{section|}}}}}</onlyinclude></includeonly>