Template:Item price: Difference between revisions

From the Portal Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{#switch:{{lc:{{{1|{{{currency|}}}}}}}}
{{#if:{{{1|}}}{{{currency|}}}
| usd = <!--  
| {{#switch:{{lc:{{{1|{{{currency|}}}}}}}}
   -->{{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|$|{{lang
| usd = <!--  
  | en = United States dollars
   -->{{lang
  | fr = Dollars Américain
    | en = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|$|{{common string|United States dollars}}}}
  | fi = Yhdysvaltain dollaria
    | ru = {{ns:0}}
  | pl = Dolarów amerykańskich
    }}<!--  
}}}}<!--  
   -->{{Item price/core|currency=usd|item={{{item|{{BASEPAGENAME}}}}}}}<!--
   -->{{Item price/core|currency=usd|item={{{item|{{BASEPAGENAME}}}}}}}
  -->{{lang
    | en = {{ns:0}}
    | ru = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|$|{{common string|United States dollars}}}}
    }}


| gbp = <!--  
| gbp = <!--  
   -->{{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|£|{{lang
   -->{{lang
  | en = Pound sterling
    | en = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|£|{{common string|Pound sterling}}}}
  | fr = Livres Sterling
    | ru = {{ns:0}}
  | fi = Englannin puntaa
    }}<!--  
  | pl = Funtów szterlingów
   -->{{Item price/core|currency=gbp|item={{{item|{{BASEPAGENAME}}}}}}}<!--
}}}}<!--  
  -->{{lang
   -->{{Item price/core|currency=gbp|item={{{item|{{BASEPAGENAME}}}}}}}
    | en = {{ns:0}}
    | 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}}|€|{{lang
   -->{{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|€|{{common string|Euros}}}}
   | en = Euros
 
   | fr = Euros
| rub = <!--
   | fi = Euroa
  -->{{Item price/core|currency=rub|item={{{item|{{BASEPAGENAME}}}}}}}<!--
   | pl = Euro
  -->{{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|{{common string|rubles}}|{{common string|rubles-tooltip}}}}
}}}}
 
| brl = <!--
  -->{{lang
    | en = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|R$&nbsp;|{{common string|reais}}}}
    | ru = {{ns:0}}
    }}<!--
  -->{{Item price/core|currency=brl|item={{{item|{{BASEPAGENAME}}}}}}}<!--
  -->{{lang
    | en = {{ns:0}}
    | ru = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|R$&nbsp;|{{common string|reais}}}}
    }}
 
| jpy = <!--
  -->{{lang
    | en = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|¥&nbsp;|{{common string|Japanese Yen}}}}
    | ru = {{ns:0}}
    }}<!--
  -->{{Item price/core|currency=jpy|item={{{item|{{BASEPAGENAME}}}}}}}<!--
  -->{{lang
    | en = {{ns:0}}
    | ru = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|¥&nbsp;|{{common string|Japanese Yen}}}}
    }}
 
| krw = <!--
  -->{{lang
    | en = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|₩&nbsp;|{{common string|south korean won}}}}
    | ru = {{ns:0}}
    }}<!--
  -->{{Item price/core|currency=krw|item={{{item|{{BASEPAGENAME}}}}}}}<!--
  -->{{lang
    | en = {{ns:0}}
    | ru = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|₩&nbsp;|{{common string|south korean won}}}}
    }}
 
| try = <!--
  -->{{lang
    | en = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|₺|{{common string|turkish lira}}}}
    | ru = {{ns:0}}
    }}<!--
  -->{{Item price/core|currency=try|item={{{item|{{BASEPAGENAME}}}}}}}<!--
  -->{{lang
    | en = {{ns:0}}
    | ru = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|₺|{{common string|turkish lira}}}}
    }}
 
| cny = <!--
  -->{{lang
    | en = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|¥&nbsp;|{{common string|chinese yuan}}}}
    | ru = {{ns:0}}
    }}<!--
  -->{{Item price/core|currency=cny|item={{{item|{{BASEPAGENAME}}}}}}}<!--
  -->{{lang
    | en = {{ns:0}}
    | ru = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|¥&nbsp;|{{common string|chinese yuan}}}}
    }}
 
| hkd = <!--
   -->{{lang
    | en = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|HK$&nbsp;|{{common string|hong kong dollar}}}}
    | ru = {{ns:0}}
    }}<!--
   -->{{Item price/core|currency=hkd|item={{{item|{{BASEPAGENAME}}}}}}}<!--
   -->{{lang
    | en = {{ns:0}}
    | ru = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|HK$&nbsp;|{{common string|hong kong dollar}}}}
    }}
 
| pln = <!--
   -->{{Item price/core|currency=pln|item={{{item|{{BASEPAGENAME}}}}}}}<!--
  -->{{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|zł|{{common string|Złoty}}}}<!--
  -->}}


| #default = <!--  
| <!--  
   # All of the above neatly combined.
   # All of the above neatly combined.
   -->{{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|$|United States dollars}}<!--  
   -->{{lang
    | en = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|$|{{common string|United States dollars}}}}
    | ru = {{ns:0}}
    }}<!--  
   -->{{Item price/core|currency=usd|item={{{item|{{BASEPAGENAME}}}}}}}<!--  
   -->{{Item price/core|currency=usd|item={{{item|{{BASEPAGENAME}}}}}}}<!--  
  -->{{lang
    | en = {{ns:0}}
    | ru = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|$|{{common string|United States dollars}}}}
    }}<!--


  -->&#32;/&#32;<!--  
  -->&#32;/&#32;<!--  
   -->{{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|£|Pound sterling}}<!--  
   -->{{lang
    | en = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|£|{{common string|Pound sterling}}}}
    | ru = {{ns:0}}
    }}<!--
   -->{{Item price/core|currency=gbp|item={{{item|{{BASEPAGENAME}}}}}}}<!--  
   -->{{Item price/core|currency=gbp|item={{{item|{{BASEPAGENAME}}}}}}}<!--  
  -->{{lang
    | en = {{ns:0}}
    | ru = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|£|{{common string|Pound sterling}}}}
    }}<!--


  -->&#32;/&#32;<!--  
  -->&#32;/&#32;<!--  
   -->{{Item price/core|currency=eur|item={{{item|{{BASEPAGENAME}}}}}}}<!--  
   -->{{Item price/core|currency=eur|item={{{item|{{BASEPAGENAME}}}}}}}<!--  
   -->{{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|€|Euros}}
   -->{{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|€|{{common string|Euros}}}}<!--
 
-->&#32;/&#32;<!--
  -->{{Item price/core|currency=rub|item={{{item|{{BASEPAGENAME}}}}}}}<!--
  -->{{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|{{common string|rubles}}|{{common string|rubles-tooltip}}}}<!--
 
-->&#32;/&#32;<!--
  -->{{lang
    | en = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|R$&nbsp;|{{common string|reais}}}}
    | ru = {{ns:0}}
    }}<!--
  -->{{Item price/core|currency=brl|item={{{item|{{BASEPAGENAME}}}}}}}<!--
  -->{{lang
    | en = {{ns:0}}
    | ru = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|R$&nbsp;|{{common string|reais}}}}
    }}


}}<noinclude>{{translation switching|en, fi, fr, pl}}
}}<noinclude>{{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.
* {{tl|Item price/core}} is used to get the price directly.
* {{tl|Item price/core}} is used to get the price directly.
* '''{{tl|Dictionary/price}}''' stores the actual price values. Edit them there.
* '''{{tl|Dictionary/price}}''' stores the actual price values. Edit them there.
* To edit the translations for 'United States dollars', etc, please see {{tl|Dictionary/common strings}}.


=== Usage ===
=== Usage ===

Latest revision as of 15:23, 25 June 2024

$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

The template above may be partially or fully invisible or glitched due to the respected strings aren't entered.
This is normal.

Documentation for Item price

Usage