Difference between revisions of "Template:Item price/sandbox"
(working onit) |
m (direct usage means lc) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{#switch:{{lc:{{{1|{{{currency|}}}}}}}} | + | {{#if:{{{1|}}}{{{currency|}}} |
− | | usd = <!-- | + | | {{#switch:{{lc:{{{1|{{{currency|}}}}}}}} |
+ | | usd = <!-- | ||
-->{{lang | -->{{lang | ||
| en = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|$|{{common string|United States dollars}}}} | | en = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|$|{{common string|United States dollars}}}} | ||
− | | ru = {{ | + | | ru = {{ns:0}} |
}}<!-- | }}<!-- | ||
-->{{Item price/core|currency=usd|item={{{item|{{BASEPAGENAME}}}}}}}<!-- | -->{{Item price/core|currency=usd|item={{{item|{{BASEPAGENAME}}}}}}}<!-- | ||
-->{{lang | -->{{lang | ||
− | | en = {{ | + | | en = {{ns:0}} |
| ru = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|$|{{common string|United States dollars}}}} | | ru = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|$|{{common string|United States dollars}}}} | ||
}} | }} | ||
− | | gbp = <!-- | + | | gbp = <!-- |
-->{{lang | -->{{lang | ||
| en = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|£|{{common string|Pound sterling}}}} | | en = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|£|{{common string|Pound sterling}}}} | ||
− | | ru = {{ | + | | ru = {{ns:0}} |
}}<!-- | }}<!-- | ||
-->{{Item price/core|currency=gbp|item={{{item|{{BASEPAGENAME}}}}}}}<!-- | -->{{Item price/core|currency=gbp|item={{{item|{{BASEPAGENAME}}}}}}}<!-- | ||
-->{{lang | -->{{lang | ||
− | | en = {{ | + | | en = {{ns:0}} |
| ru = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|£|{{common string|Pound sterling}}}} | | ru = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|£|{{common string|Pound sterling}}}} | ||
}} | }} | ||
− | | eur = <!-- | + | | eur = <!-- |
-->{{Item price/core|currency=eur|item={{{item|{{BASEPAGENAME}}}}}}}<!-- | -->{{Item price/core|currency=eur|item={{{item|{{BASEPAGENAME}}}}}}}<!-- | ||
-->{{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|€|{{common string|Euros}}}} | -->{{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|€|{{common string|Euros}}}} | ||
− | | rub = <!-- | + | | rub = <!-- |
-->{{Item price/core|currency=rub|item={{{item|{{BASEPAGENAME}}}}}}}<!-- | -->{{Item price/core|currency=rub|item={{{item|{{BASEPAGENAME}}}}}}}<!-- | ||
− | -->{{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|{{common string|rubles}}|{{common string|rubles-tooltip}}}} | + | -->{{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}| {{common string|rubles}}|{{common string|rubles-tooltip}}}} |
− | | | + | }} |
+ | |||
+ | | <!-- | ||
# All of the above neatly combined. | # All of the above neatly combined. | ||
− | + | # Edit {{item price/fmt}} to change slashes, spacing, etc. | |
− | + | -->{{dictionary/price/{{lc:{{{item|{{BASEPAGENAME}}}}}}}|_all_|tt={{{tooltips|yes}}}}} | |
− | |||
− | |||
− | |||
− | -->{{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} |