This template is protected from editing.
Difference between revisions of "Template:Item price"
(Added BRL (I hope I didn't break the Wiki though)) |
m (Removing unecessary spaces) |
||
Line 29: | Line 29: | ||
| rub = <!-- | | rub = <!-- | ||
-->{{Item price/core|currency=rub|item={{{item|{{BASEPAGENAME}}}}}}}<!-- | -->{{Item price/core|currency=rub|item={{{item|{{BASEPAGENAME}}}}}}}<!-- | ||
− | -->{{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}| | + | -->{{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|{{common string|rubles}}|{{common string|rubles-tooltip}}}} |
| brl = <!-- | | brl = <!-- | ||
-->{{lang | -->{{lang | ||
− | | en = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|R$ | + | | en = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|R$|{{common string|reais}}}} |
| ru = {{ns:0}} | | ru = {{ns:0}} | ||
}}<!-- | }}<!-- | ||
Line 39: | Line 39: | ||
-->{{lang | -->{{lang | ||
| en = {{ns:0}} | | en = {{ns:0}} | ||
− | | ru = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}| | + | | ru = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|R$|{{common string|reais}}}} |
}} | }} | ||
Line 73: | Line 73: | ||
--> / <!-- | --> / <!-- | ||
-->{{Item price/core|currency=rub|item={{{item|{{BASEPAGENAME}}}}}}}<!-- | -->{{Item price/core|currency=rub|item={{{item|{{BASEPAGENAME}}}}}}}<!-- | ||
− | -->{{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}| | + | -->{{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|{{common string|rubles}}|{{common string|rubles-tooltip}}}}<!-- |
--> / <!-- | --> / <!-- | ||
-->{{lang | -->{{lang | ||
− | | en = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|R$ | + | | en = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|R$|{{common string|reais}}}} |
| ru = {{ns:0}} | | ru = {{ns:0}} | ||
}}<!-- | }}<!-- | ||
Line 83: | Line 83: | ||
-->{{lang | -->{{lang | ||
| en = {{ns:0}} | | en = {{ns:0}} | ||
− | | ru = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}| | + | | ru = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|R$|{{common string|reais}}}} |
}} | }} | ||
Revision as of 18:24, 14 June 2013
$Template:Dictionary/price/item price / £Template:Dictionary/price/item price / Template:Dictionary/price/item price€ / Template:Dictionary/price/item pricerub / R$Template:Dictionary/price/item price
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.- To edit the translations for 'United States dollars', etc, please see
{{Dictionary/common strings}}
.
Usage
{{item price|currency=usd}}
on the article Black Box generates: $1.99{{item price|item=Familiar Fez}}
generates: $7.49 / £5.99 / 7.15€ / 695rub / R$ 37.99 / 30.95zł- You can also remove the tooltips on the currency symbols:
{{item price|item=Degreaser|tooltips=no}}
generates: $1.99 / £1.59 / 1.89€ / 185rub / R$ 9.99 / 8.25zł