This template is protected from editing.
Difference between revisions of "Template:Item price"
Line 1: | Line 1: | ||
{{#switch:{{uc:{{{1|{{{currency|}}}}}}}} | {{#switch:{{uc:{{{1|{{{currency|}}}}}}}} | ||
| USD = {{tooltip|$|United States dollars}}{{Item price/core|currency=USD|item={{{item|{{BASEPAGENAMEE}}}}}}} | | USD = {{tooltip|$|United States dollars}}{{Item price/core|currency=USD|item={{{item|{{BASEPAGENAMEE}}}}}}} | ||
− | | GBP = {{tooltip|£| | + | | GBP = {{tooltip|£|Pounds sterling}}{{Item price/core|currency=GBP|item={{{item|{{BASEPAGENAMEE}}}}}}} |
− | | EUR = {{tooltip|€| | + | | EUR = {{tooltip|€|Euros}}{{Item price/core|currency=EUR|item={{{item|{{BASEPAGENAMEE}}}}}}} |
| ALL | | ALL | ||
Line 8: | Line 8: | ||
-->{{tooltip|$|United States dollars}}{{Item price/core|currency=USD|item={{{item|{{BASEPAGENAMEE}}}}}}}<!-- | -->{{tooltip|$|United States dollars}}{{Item price/core|currency=USD|item={{{item|{{BASEPAGENAMEE}}}}}}}<!-- | ||
-->}}{{#ifeq:{{Item price/core|currency=GBP|item={{{item|{{BASEPAGENAMEE}}}}}}}|-|NULL|<!-- | -->}}{{#ifeq:{{Item price/core|currency=GBP|item={{{item|{{BASEPAGENAMEE}}}}}}}|-|NULL|<!-- | ||
− | --> / {{tooltip|£| | + | --> / {{tooltip|£|Pounds sterling}}{{Item price/core|currency=GBP|item={{{item|{{BASEPAGENAMEE}}}}}}}<!-- |
-->}}{{#ifeq:{{Item price/core|currency=EUR|item={{{item|{{BASEPAGENAMEE}}}}}}}|-|NULL|<!-- | -->}}{{#ifeq:{{Item price/core|currency=EUR|item={{{item|{{BASEPAGENAMEE}}}}}}}|-|NULL|<!-- | ||
− | --> / {{tooltip|€| | + | --> / {{tooltip|€|Euros}}{{Item price/core|currency=EUR|item={{{item|{{BASEPAGENAMEE}}}}}}}<!-- |
-->}} | -->}} | ||
}}<noinclude>{{doc begin}} | }}<noinclude>{{doc begin}} |
Revision as of 18:42, 31 October 2010
$Template:Dictionary/price/item price / £Template:Dictionary/price/item price / €Template:Dictionary/price/item price
Documentation for Item price
This is a template to display item prices. The prices themselves are defined in the template {{Item price/core}}
. This template acts as a container to display the item prices.
Usage
{{item price|USD}}
on the article Black Box generates: $1.99{{item price|all|item=Familiar_Fez}}
generates: