Template:Item price: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{#switch:{{lc:{{{1|{{{currency|}}}}}}}} | usd = <!-- -->{{{{#ifeq:{{{tooltips|yes}}}|yes|tooltip|1}}|$|United States dollars}}<!-- -->{{Item price/core|currency=usd|item={...") |
m (whoops) |
||
Line 31: | Line 31: | ||
=== Usage === | === Usage === | ||
* {{tlx|item price|2=currency=usd}} on the article [[Bot's Beret]] generates: {{item price|item= | * {{tlx|item price|2=currency=usd}} on the article [[Bot's Beret]] generates: {{item price|item=Bot's Beret|currency=usd}} | ||
* {{tlx|item price|2=item= | * {{tlx|item price|2=item=Bionic Beanie}} generates: {{item price|item=Bionic Beanie}} | ||
* You can also remove the tooltips on the currency symbols: {{tlx|item price|3=item= | * You can also remove the tooltips on the currency symbols: {{tlx|item price|3=item=Mann Co. Cap|4=tooltips=no}} generates: {{item price|item=Mann Co. Cap|tooltips=no}} | ||
[[Category:Templates|Item price]] | [[Category:Templates|Item price]] | ||
</noinclude> | </noinclude> |
Revision as of 20:39, 28 April 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.
This is normal.
Documentation for Item price
{{Item price}}
is used to format prices with{{tooltip}}
s and the proper currency symbols.{{Item price/core}}
is used to get the price directly.{{Dictionary/price}}
stores the actual price values. Edit them there.
Usage
- {{item price|currency=usd}} on the article Bot's Beret generates: $1.99
- {{item price|item=Bionic Beanie}} generates: $1.99 / £1.59 / 1.49€
- You can also remove the tooltips on the currency symbols: {{item price|item=Mann Co. Cap|tooltips=no}} generates: Template:1Template:Dictionary/price/mann co. cap / Template:1Template:Dictionary/price/mann co. cap / Template:Dictionary/price/mann co. capTemplate:1