This template is protected from editing.
Difference between revisions of "Template:Item price"
m |
m |
||
Line 43: | Line 43: | ||
| jpy = <!-- | | jpy = <!-- | ||
+ | -->{{lang | ||
+ | | en = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|¥ |{{common string|Japanese Yen}}}} | ||
+ | | ru = {{ns:0}} | ||
+ | }}<!-- | ||
-->{{Item price/core|currency=jpy|item={{{item|{{BASEPAGENAME}}}}}}}<!-- | -->{{Item price/core|currency=jpy|item={{{item|{{BASEPAGENAME}}}}}}}<!-- | ||
− | -->{{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|¥ |{{common string|Japanese Yen}}}} | + | -->{{lang |
+ | | en = {{ns:0}} | ||
+ | | ru = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|¥ |{{common string|Japanese Yen}}}} | ||
+ | }} | ||
| krw = <!-- | | krw = <!-- | ||
+ | -->{{lang | ||
+ | | en = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|₩ |{{common string|south korean won}}}} | ||
+ | | ru = {{ns:0}} | ||
+ | }}<!-- | ||
-->{{Item price/core|currency=krw|item={{{item|{{BASEPAGENAME}}}}}}}<!-- | -->{{Item price/core|currency=krw|item={{{item|{{BASEPAGENAME}}}}}}}<!-- | ||
− | -->{{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|₩ |{{common string|south korean won}}}} | + | -->{{lang |
+ | | en = {{ns:0}} | ||
+ | | ru = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|₩ |{{common string|south korean won}}}} | ||
+ | }} | ||
| try = <!-- | | try = <!-- | ||
+ | -->{{lang | ||
+ | | en = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|₺|{{common string|turkish lira}}}} | ||
+ | | ru = {{ns:0}} | ||
+ | }}<!-- | ||
-->{{Item price/core|currency=try|item={{{item|{{BASEPAGENAME}}}}}}}<!-- | -->{{Item price/core|currency=try|item={{{item|{{BASEPAGENAME}}}}}}}<!-- | ||
− | -->{{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|₺|{{common string|turkish lira}}}} | + | -->{{lang |
+ | | en = {{ns:0}} | ||
+ | | ru = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|₺|{{common string|turkish lira}}}} | ||
+ | }} | ||
| cny = <!-- | | cny = <!-- | ||
+ | -->{{lang | ||
+ | | en = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|¥ |{{common string|chinese yuan}}}} | ||
+ | | ru = {{ns:0}} | ||
+ | }}<!-- | ||
-->{{Item price/core|currency=cny|item={{{item|{{BASEPAGENAME}}}}}}}<!-- | -->{{Item price/core|currency=cny|item={{{item|{{BASEPAGENAME}}}}}}}<!-- | ||
− | -->{{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|¥ |{{common string|chinese yuan}}}} | + | -->{{lang |
+ | | en = {{ns:0}} | ||
+ | | ru = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|¥ |{{common string|chinese yuan}}}} | ||
+ | }} | ||
| hkd = <!-- | | hkd = <!-- | ||
+ | -->{{lang | ||
+ | | en = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|HK$ |{{common string|hong kong dollar}}}} | ||
+ | | ru = {{ns:0}} | ||
+ | }}<!-- | ||
-->{{Item price/core|currency=hkd|item={{{item|{{BASEPAGENAME}}}}}}}<!-- | -->{{Item price/core|currency=hkd|item={{{item|{{BASEPAGENAME}}}}}}}<!-- | ||
− | -->{{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|HK$ |{{common string|hong kong dollar}}}} | + | -->{{lang |
+ | | en = {{ns:0}} | ||
+ | | ru = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|HK$ |{{common string|hong kong dollar}}}} | ||
+ | }} | ||
| pln = <!-- | | pln = <!-- | ||
-->{{Item price/core|currency=pln|item={{{item|{{BASEPAGENAME}}}}}}}<!-- | -->{{Item price/core|currency=pln|item={{{item|{{BASEPAGENAME}}}}}}}<!-- | ||
− | -->{{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|zł|{{common string|Złoty}}}} | + | -->{{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|zł|{{common string|Złoty}}}}<!-- |
− | + | -->}} | |
− | |||
| <!-- | | <!-- |
Revision as of 18:42, 24 February 2022
$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 / Template:Dictionary/price/item pricezł
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ł