模板: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‎}}

給模板編輯者的說明[編輯]

模板結構[編輯]

實現方法[編輯]

編輯注意[編輯]