Template:Formal pricing

维基百科,自由的百科全书
跳转至: 导航搜索

0

Documentation icon 模板文档[查看] [编辑] [页面历史] [清除]

模板介紹[编辑]

使用方法[编辑]

範例[编辑]

Currencies other than the United States dollar can be found by using the appropriate ISO 4217 currency code

Some of the more well known currencies also provide the ability to use common abbreviations or full names. Note that case shouldn't matter with the parameters, either.

  • {{Formal pricing|1000|US}} gives:US$1,000
  • {{Formal pricing|1000|United States}} gives:US$1,000
  • {{Formal pricing|1000|JPY}} gives:¥1,000

Parameter names can also be used, if preferred:

  • {{Formal pricing|amount=1000|type=US}} gives:US$1,000
  • {{Formal pricing|1000|type=us}} gives:US$1,000
  • {{Formal pricing|Amount=1000|Teuro}} gives:1,000

The first use of a currency should show the value and the full name of the currency, so if the "first" parameter is defined then that is what will be given.

  • {{Formal pricing|Amount=1000|quid|first=yes}} gives:1,000 Euros

注意事项[编辑]

參見[编辑]

{{Formal pricing/Type}} {{Formal pricing/LongType‎}}

给模板编辑者的说明[编辑]

模板结构[编辑]

实现方法[编辑]

编辑注意[编辑]