« Modèle:Cost » : différence entre les versions
Aller à la navigation
Aller à la recherche
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 1 : | Ligne 1 : | ||
{{ImageLabel|{{#switch:{{{currency| | {{ImageLabel|{{#switch:{{{currency|Argent}}} | ||
|sss = Super Sea Snail.png | |sss = Super Sea Snail.png | ||
|pe = Power Egg.png | |pe = Power Egg.png | ||
|#default = Coins.png | |#default = Coins.png | ||
}}|{{{1|}}} | }}|{{{1|}}} | ||
|size={{{2|30px}}}|link={{#switch:{{{currency| | |size={{{2|30px}}}|link={{#switch:{{{currency|Argent}}} | ||
|sss = Super Sea Snail | |sss = Super Sea Snail | ||
|pe = Power Egg | |pe = Power Egg |
Version du 18 juin 2016 à 22:24
- Summary
A handy template for putting the Cash, Super Sea Snail or Power Egg icon next to a price.
- Usage
- {{cost|<amount>}} for a simple cost in cash.
- {{cost|<amount>|<size>}} makes it 24 pixels wide.
- {{cost|<amount>|<currency=>}} to select the currency
- {{cost|<amount>|<currency=sss>}} shows Super Sea Snail cost.
- {{cost|<amount>|<currency=pe>}} shows Power Egg cost.
- Examples
- {{Cost|400|48px}} gives 400
- {{Cost|1|24px|currency=sss}} gives 1
- {{Cost|300|12px|currency=pe}} gives 300