Template:Sparklium: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
(Created page with "{{icon|Sparklium||x12px}}{{#if:{{{1|}}}| × {{{1}}}}}<noinclude> ==Info== Use this template when referring to an amount of Sparklium. This displays an icon...")
 
m (Protected "Template:Sparklium": High traffic page ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)))
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{icon|Sparklium||x12px}}{{#if:{{{1|}}}|&nbsp;&times;&nbsp;{{{1}}}}}<noinclude>
{{#switch:{{{1|}}}|p4={{icon|Sparklium||x18px|v=p4}}|hp={{icon|Sparklium||x18px|v=hp}}|hps={{icon|Sparklium Seed||x18px}}}}{{#if:{{{2|}}}|&nbsp;&times;&nbsp;{{{2}}}}}<noinclude>


==Info==
==Info==
Use this template when referring to an amount of [[Sparklium]]. This displays an icon, followed by the specified amount.
Use this template when referring to an amount of [[Sparklium]]. This displays an icon, optionally followed by the specified amount.


==Parameters==
==Parameters==
Line 9: Line 9:
|-
|-
! 1
! 1
| '''Yes''' ||  || Version || Version of the icon to use. <code>p4</code> for ''Pikmin 4'', <code>hp</code> for ''Hey! Pikmin'', or <code>hps</code> for a ''Hey! Pikmin'' [[Sparklium Seed]].
|-
! 2
| 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.
|}
|}
Line 14: Line 17:
==Skeleton==
==Skeleton==
<pre>
<pre>
{{sparklium|<amount>}}
{{sparklium|<version>|<amount>}}
</pre>
</pre>


Line 21: Line 24:
! Code || Result
! Code || Result
|-
|-
| <pre>{{sparklium|100}}</pre>
| <pre>{{sparklium|p4|100}}</pre>
| {{sparklium|100}}
| {{sparklium|p4|100}}
|}
|}


Line 28: Line 31:
*[[:Template:Pokos]]
*[[:Template:Pokos]]


[[Category:Inline templates]]
[[Category:Inline templates]]</noinclude>
 
</noinclude>

Latest revision as of 08:53, June 26, 2024


Info

Use this template when referring to an amount of Sparklium. This displays an icon, optionally followed by the specified amount.

Parameters

Parameter Mandatory Default Purpose Detailed description
1 Yes Version Version of the icon to use. p4 for Pikmin 4, hp for Hey! Pikmin, or hps for a Hey! Pikmin Sparklium Seed.
2 No Amount Write the amount of Sparklium to show here. If you don't, the icon appears alone.

Skeleton

{{sparklium|<version>|<amount>}}

Examples

Code Result
{{sparklium|p4|100}}
Sparklium × 100

See also