Anonymous

Template:MonsterIcon: Difference between revisions

From Melvor Idle
added size argument
(Added notext and menu overrides)
(added size argument)
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}}}|menu={{{menu|}}}|notext={{{notext|}}}|size={{{size|}}}}}</onlyinclude></includonly>
s