Diferencia entre revisiones de «Plantilla:Icono moneda»
De Inkipedia
m (44 revisiones importadas desde en:Template:Cost) |
m (A22PG trasladó la página Plantilla:Cost a Plantilla:Precio sin dejar una redirección: Traducido al español) |
(Sin diferencias)
|
Revisión del 14:52 19 ago 2022
Displays an inline currency icon with a text link.
Usage
{{Cost|<game>|<price>|<currency>|<size>|<link>|<textwidth>}}
game
|
Unnamed, required | The game that the cost belongs to. Must be one of the following:
| ||
price
|
Unnamed, required | The number / string to show as the cost. If set empty, the template will show the icon but no number. Use 0 or Free for free items.
| ||
currency
|
Unnamed, optional | The currency to use. The default value is cash .
| ||
Must be one of the following: | S | S2 | ||
cash |
Plantilla:Cost | Plantilla:Cost | ||
pe |
Plantilla:Cost | Plantilla:Cost | ||
sss |
Plantilla:Cost | Plantilla:Cost | ||
ge |
Plantilla:Cost | |||
sard |
Plantilla:Cost | |||
ac |
Plantilla:Cost | |||
cqp |
Plantilla:Cost | |||
size
|
Unnamed, optional | The icon size for the currency icon. The default is 24 .
| ||
link
|
Unnamed, optional | If present, the amount text will be a link to the currency's page. | ||
textwidth
|
Unnamed, optional | Requries size and link to both be present.If specified, the label will be set inside a right-aligned rectangle of the specified width |
Markup
*{{Cost|S|200}} *{{Cost|S2|200}} *{{Cost|S|}} *{{Cost|S|1|sss}} *{{Cost|S2| |ac}} *{{Cost|S|200|cash|48}} *{{Cost|S|200|cash|link}} *{{Cost|S|200|cash|48|link}} *{{Cost|S|200|cash|24|link|60}} *{{Cost|S|200|cash|24| |60}}