Template:Pokos: Difference between revisions
From Pikmin Fanon
No edit summary |
(Improved by implementing the icon template. Also increased the size of the icon slightly.) |
||
(21 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{icon|Poko||16px|v={{#if:{{{2|}}}|P3|P2}}}}{{#if:{{{1|}}}| {{x|{{{1}}}}}}}<noinclude> | ||
==Info== | ==Info== | ||
Line 11: | Line 10: | ||
! 1 | ! 1 | ||
| No || || Amount || Write the amount of Pokos to show here. If you don't, the icon appears alone. | | No || || Amount || Write the amount of Pokos to show here. If you don't, the icon appears alone. | ||
|- | |||
! 2 | |||
| No || || ''Pikmin 3'' icon || Give this a value, like "y", to show the ''Pikmin 3'' icon instead of the ''Pikmin 2'' one. | |||
|} | |} | ||
==Skeleton== | ==Skeleton== | ||
<pre> | <pre> | ||
{{pokos|<amount>}} | {{pokos|<amount>|<poko style>}} | ||
</pre> | </pre> | ||
Line 22: | Line 24: | ||
! Code || Result | ! Code || Result | ||
|- | |- | ||
| <pre>{{ | | <pre>{{pokos|100}}</pre> | ||
| {{pokos | | {{pokos|100}} | ||
|- | |- | ||
| <pre>{{ | | <pre>{{pokos|100|y}}</pre> | ||
| {{pokos| | | {{pokos|100|y}} | ||
|} | |} | ||
[[Category: | [[Category:Inline templates]]</noinclude> |
Latest revision as of 17:16, 16 July 2022
Info
Use this template when referring to an amount of Pokos. This displays a matching icon, followed by the specified amount.
Parameters
Parameter | Mandatory | Default | Purpose | Detailed description |
---|---|---|---|---|
1 | No | Amount | Write the amount of Pokos to show here. If you don't, the icon appears alone. | |
2 | No | Pikmin 3 icon | Give this a value, like "y", to show the Pikmin 3 icon instead of the Pikmin 2 one. |
Skeleton
{{pokos|<amount>|<poko style>}}
Examples
Code | Result |
---|---|
{{pokos|100}} |
× 100 |
{{pokos|100|y}} |
× 100 |