Template:Sparklium: Difference between revisions

Added a field to allow the icon to be a Sparklium Seed.
m (Text replacement - "]] </noinclude>" to "]]</noinclude>")
(Added a field to allow the icon to be a Sparklium Seed.)
Line 1: Line 1:
{{icon|Sparklium||x12px}}{{#if:{{{1|}}}|&nbsp;&times;&nbsp;{{{1}}}}}<noinclude>
{{#if:{{{2|}}}|{{icon|Sparklium Seed||x12px}}|{{icon|Sparklium||x12px}}}}{{#if:{{{1|}}}|&nbsp;&times;&nbsp;{{{1}}}}}<noinclude>


==Info==
==Info==
Line 10: Line 10:
! 1
! 1
| No ||  || Amount || Write the amount of Sparklium to show here. If you don't, the icon appears alone.
| No ||  || Amount || Write the amount of Sparklium to show here. If you don't, the icon appears alone.
|-
! 2
| No ||  || Use Sparklium Seed || If this has a value, like <code>y</code>, the icon will instead be that of a Sparklium Seed.
|}
|}


==Skeleton==
==Skeleton==
<pre>
<pre>
{{sparklium|<amount>}}
{{sparklium|<amount>|<use sparklium seed>}}
</pre>
</pre>