Template:Item price: Difference between revisions

From the Portal Wiki
Jump to navigation Jump to search
m (fixed somethin~)
mNo edit summary
 
(8 intermediate revisions by 7 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}}|$|United States dollars}}<!--  
| usd = <!--  
   -->{{Item price/core|currency=usd|item={{{item|{{BASEPAGENAME}}}}}}}
   -->{{lang
    | en = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|$|{{common string|United States dollars}}}}
    | ru = {{ns:0}}
    }}<!--  
   -->{{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}}|£|Pound sterling}}<!--  
   -->{{lang
   -->{{Item price/core|currency=gbp|item={{{item|{{BASEPAGENAME}}}}}}}
    | en = {{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|£|{{common string|Pound sterling}}}}
    | ru = {{ns:0}}
    }}<!--  
   -->{{Item price/core|currency=gbp|item={{{item|{{BASEPAGENAME}}}}}}}<!--
  -->{{lang
    | 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}}|€|Euros}}
   -->{{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|€|{{common string|Euros}}}}
 
| rub = <!--
  -->{{Item price/core|currency=rub|item={{{item|{{BASEPAGENAME}}}}}}}<!--
  -->{{{{#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>{{doc begin}}
}}<noinclude>{{doc begin}}
Line 29: Line 148:
* {{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