Anonymous

Template:MonsterIcon: Difference between revisions

From Melvor Idle
Added notext and menu overrides
(Now uses generic Icon template as a base.)
(Added notext and menu overrides)
Line 3: Line 3:
Adding a second argument allows you to override the text. For example, <nowiki>{{MonsterIcon|Golbin|No, it isn't a typo}}</nowiki> gives {{MonsterIcon|Golbin|No, it isn't a typo}}
Adding a second argument allows you to override the text. For example, <nowiki>{{MonsterIcon|Golbin|No, it isn't a typo}}</nowiki> gives {{MonsterIcon|Golbin|No, it isn't a typo}}


 
<includeonly><onlyinclude>{{Icon|type=monster|{{{1}}}|{{{2|}}}|ext={{{ext|svg}}}|menu={{{menu|}}}|notext={{{notext|}}}}}</onlyinclude></includonly>
<includeonly><onlyinclude>{{Icon|type=monster|{{{1}}}|{{{2|}}}|ext={{{ext|svg}}}}}</onlyinclude></includonly>