Template:Icon: Difference between revisions

From Melvor Idle
(Slightly increased default icon size)
(Item quantity moved in front of the icon to match the game's formatting.)
Line 68: Line 68:
{{!}}-
{{!}}-
{{!}}| }}<!--
{{!}}| }}<!--
--><span style="display:inline-block">[[File:{{#var:image}}{{#if:{{#var:type}}|_({{#var:type}})|}}.{{#var:ext}}|{{#var:size}}x{{#var:size}}px|link={{#var:link}}]]{{#if:{{{qty|}}}|&nbsp;{{formatnum:{{{qty|}}}}}|}}{{#if:{{{notext|}}}||&nbsp;[[{{#var:link}}|{{#var:text}}]]}}</span><!--
--><span style="display:inline-block">{{#if:{{{qty|}}}|{{formatnum:{{{qty|}}}}}&nbsp;|}}[[File:{{#var:image}}{{#if:{{#var:type}}|_({{#var:type}})|}}.{{#var:ext}}|{{#var:size}}x{{#var:size}}px|link={{#var:link}}]]{{#if:{{{notext|}}}||&nbsp;[[{{#var:link}}|{{#var:text}}]]}}</span><!--
-->{{#if:{{{menu|}}}|<br/>
-->{{#if:{{{menu|}}}|<br/>
{{!}}}|}}</onlyinclude></includonly>
{{!}}}|}}</onlyinclude></includonly>