Template:Cost
From Inkipedia, the Splatoon wiki
Displays an inline currency icon with a text link.
Parameters
price |
Unnamed. | The numeric price to display. |
size |
Unnamed, optional. | A MediaWiki image size value to use for the icon. The default size is 24px. |
currency |
Optional. | The type of currency to display. The default value is "cash". Must be one of the following:
|
game |
Optional. | The game the cost applies to. The default value is "Splatoon". Must be one of the following:
|
link |
Optional. | If present and set to true , the text label will be a link.
|
icononly |
Optional. | If present and set to true , the text label will be omitted.
|
width |
Optional. | A CSS width value to use for the text label. The text itself will be right-aligned. |
Examples
Markup
{{Cost|200}}<br /> {{Cost|200|48px}}<br /> {{Cost|200|currency=pe}}<br /> {{Cost|200|currency=sss|link=true}}<br /> {{Cost|200|icononly=true}}<br /> {{Cost|200|width=50px}}<br /> {{Cost|200|game=Splatoon 2}}
Output
200
200
200
200
200
200