Template:Formal pricing

0

文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

模板介紹 编辑

使用方法 编辑

範例 编辑

美元之外的货币可以用对应的ISO 4217货币代码 查找到。

对于一些更知名的货币,除了全名之外,也可以使用常用缩写。注意此参数亦是大小写不敏感的。

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

如果想的话,使用参数名也可以:

  • {{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

第一使用某种货币时,需要展示汇率及货币全名。所以如果参数 first 被定义时,就会展示传入模板的相应内容。

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

注意事项 编辑

參見 编辑

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

给模板编辑者的说明 编辑

模板结构 编辑

实现方法 编辑

编辑注意 编辑