Ad placeholder

Template:ResourceIconHelper: Difference between revisions

Jump to navigation Jump to search
Fixed errant linebreak in ResourceIconList with multiple resources
(Created page with "<includeonly><!-- Handle resources in the format of [count] <resource> e.g. "ki:4" or just "ki" -->{{#lvardef:type|{{ #explode: {{{1}}}|:|0}}}}<!-- Split parameter into type and count on the : -->{{resource|{{#lvar: type}}|icononly=yes}} </includeonly><noinclude> =What is this?= This is a wrapper around Template:Resource to work better in conjunction with Module:ParseList specifically by Template:ResourceIconList. Optional parameters like <code>cost=3</code>...")
 
(Fixed errant linebreak in ResourceIconList with multiple resources)
Line 3: Line 3:
-->{{#lvardef:type|{{ #explode: {{{1}}}|:|0}}}}<!--
-->{{#lvardef:type|{{ #explode: {{{1}}}|:|0}}}}<!--
Split parameter into type and count on the :
Split parameter into type and count on the :
-->{{resource|{{#lvar: type}}|icononly=yes}}
-->{{resource|{{#lvar: type}}|icononly=yes}}</includeonly><noinclude>
</includeonly><noinclude>
=What is this?=
=What is this?=
This is a wrapper around [[Template:Resource]] to work better in conjunction with [[Module:ParseList]] specifically by [[Template:ResourceIconList]].
This is a wrapper around [[Template:Resource]] to work better in conjunction with [[Module:ParseList]] specifically by [[Template:ResourceIconList]].

Navigation menu