Template:Item price: Difference between revisions
Jump to navigation
Jump to search
(+translation switching) |
m (Finnish support...) |
||
Line 3: | Line 3: | ||
-->{{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|$|{{lang | -->{{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|$|{{lang | ||
| en = United States dollars | | en = United States dollars | ||
| fi = Yhdysvaltain dollaria | |||
}}}}<!-- | }}}}<!-- | ||
-->{{Item price/core|currency=usd|item={{{item|{{BASEPAGENAME}}}}}}} | -->{{Item price/core|currency=usd|item={{{item|{{BASEPAGENAME}}}}}}} | ||
Line 9: | Line 10: | ||
-->{{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|£|{{lang | -->{{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|£|{{lang | ||
| en = Pound sterling | | en = Pound sterling | ||
| fi = Englannin puntaa | |||
}}}}<!-- | }}}}<!-- | ||
-->{{Item price/core|currency=gbp|item={{{item|{{BASEPAGENAME}}}}}}} | -->{{Item price/core|currency=gbp|item={{{item|{{BASEPAGENAME}}}}}}} | ||
Line 16: | Line 18: | ||
-->{{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|€|{{lang | -->{{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|€|{{lang | ||
| en = Euros | | en = Euros | ||
| fi = Euroa | |||
}}}} | }}}} | ||
Line 31: | Line 34: | ||
-->{{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|€|Euros}} | -->{{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|€|Euros}} | ||
}}<noinclude>{{translation switching|en}} | }}<noinclude>{{translation switching|en, fi}} | ||
{{doc begin}} | {{doc begin}} | ||
* {{tl|Item price}} is used to format prices with {{tl|tooltip}}s and the proper currency symbols. | * {{tl|Item price}} is used to format prices with {{tl|tooltip}}s and the proper currency symbols. |
Revision as of 21:05, 13 June 2011
$Template:Dictionary/price/item price / £Template:Dictionary/price/item price / Template:Dictionary/price/item price€
This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. Template:Item price/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: en, fi (add) |
The template above may be partially or fully invisible or glitched due to the respected strings aren't entered.
This is normal.
This is normal.
Documentation for Item price
{{Item price}}
is used to format prices with{{tooltip}}
s and the proper currency symbols.{{Item price/core}}
is used to get the price directly.{{Dictionary/price}}
stores the actual price values. Edit them there.
Usage
- {{item price|currency=usd}} on the article Bot's Beret generates: $1.99
- {{item price|item=Bionic Beanie}} generates: $1.99 / £1.59 / 1.49€
- You can also remove the tooltips on the currency symbols: {{item price|item=Automaton's Tophat|tooltips=no}} generates: Template:11.99 / Template:11.59 / 1.49Template:1