Template:Item price: Difference between revisions

From the Portal Wiki
Jump to navigation Jump to search
m (fixed somethin~)
(+translation switching)
Line 1: Line 1:
{{#switch:{{lc:{{{1|{{{currency|}}}}}}}}
{{#switch:{{lc:{{{1|{{{currency|}}}}}}}}
| usd = <!--  
| usd = <!--  
   -->{{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|$|United States dollars}}<!--  
   -->{{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|$|{{lang
  | en = United States dollars
}}}}<!--  
   -->{{Item price/core|currency=usd|item={{{item|{{BASEPAGENAME}}}}}}}
   -->{{Item price/core|currency=usd|item={{{item|{{BASEPAGENAME}}}}}}}


| gbp = <!--  
| gbp = <!--  
   -->{{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|£|Pound sterling}}<!--  
   -->{{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|£|{{lang
  | en = Pound sterling
}}}}<!--  
   -->{{Item price/core|currency=gbp|item={{{item|{{BASEPAGENAME}}}}}}}
   -->{{Item price/core|currency=gbp|item={{{item|{{BASEPAGENAME}}}}}}}


| eur = <!--  
| eur = <!--  
   -->{{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}}|€|{{lang
  | en = Euros
}}}}


| #default = <!--  
| #default = <!--  
Line 25: Line 31:
   -->{{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|€|Euros}}
   -->{{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|€|Euros}}


}}<noinclude>{{doc begin}}
}}<noinclude>{{translation switching|en}}
{{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.

Revision as of 20:43, 13 June 2011

$Template:Dictionary/price/item price / £Template:Dictionary/price/item price / 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