Template:MonsterIcon: Difference between revisions

From Melvor Idle
(New Monster equivalent of ItemIcon)
(Now uses generic Icon template as a base.)
Line 4: Line 4:

<includeonly><onlyinclude>[[File:{{{1}}} (monster).{{{ext|svg}}}|25px|link={{{1}}}]]&nbsp;[[{{{1}}}{{#if:{{{2|}}}|{{!}}{{{2}}}}}]]</onlyinclude></includonly>

Revision as of 19:36, 24 August 2020

A template for quickly building monster links with icons. For example, {{MonsterIcon|Golbin}} becomes Golbin.

Adding a second argument allows you to override the text. For example, {{MonsterIcon|Golbin|No, it isn't a typo}} gives No, it isn't a typo