Template:ItemIcon: Difference between revisions

Now references generic Icon template.
(Slight templating change, also added ext optional argument for overriding when necessary.)
(Now references generic Icon template.)
Line 6: Line 6:




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