Diferencia entre revisiones de «Plantilla:Icono moneda»
De Inkipedia
m (Adding game parameter) |
m (Removing extra newlines) |
||
Línea 19: | Línea 19: | ||
|pe = Power Egg | |pe = Power Egg | ||
|#default = Cash | |#default = Cash | ||
}}|{{{1}}}]]</span>}}</includeonly><noinclude> | }}|{{{1}}}]]</span>}}</includeonly><noinclude>__NOTOC__ | ||
__NOTOC__ | |||
Displays an inline currency icon with a text link. | Displays an inline currency icon with a text link. | ||
Revisión del 17:18 2 ago 2017
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:
|
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|currency=sss|icononly=true}}<br /> {{Cost|200|width=50px}}<br /> {{Cost|200|game=Splatoon 2}}
Output
Usuario:GuyPerfect/Cost
Usuario:GuyPerfect/Cost
Usuario:GuyPerfect/Cost
Usuario:GuyPerfect/Cost
Usuario:GuyPerfect/Cost
Usuario:GuyPerfect/Cost