Template:Dollar sign
外观
用法
[编辑]本模板將產生一個金錢符號($)。本模板設計源由是為了避免執行PHP時產生缺陷,因為金錢符號用於大多數的PHP程式碼。本模板也可以為全球不同貨幣產生對應的貨幣符號,並產生連至相關條目的連結。
請勿替代引用本模板,否則將無法產生作用。
特定貨幣
[编辑]本模板可支援不同貨幣。完整的可支援貨幣以及其代碼如下:
AUD = Australian dollar BBD = Barbadian dollar BMD = Bermudian dollar BND = Brunei dollar BRZ = Brazilian real BSD = Bahamian dollar BZD = Belize dollar CAD = Canadian dollar COOK = Cook Islands dollar CNY = Chinese yuan CUC = Cuban convertible peso CUP = Cuban peso DOP = Dominican peso EUR = Euro FJD = Fijian dollar FL = Dutch guilder FRF = French franc GBP = Pound sterling GYD = Guyanese dollar HKD = Hong Kong dollar JMD = Jamaican dollar JPY = Japanese yen KYD = Cayman Islands dollar LRD = Liberian dollar MXN = Mexican peso NAD = Namibian dollar NZD = New Zealand dollar PGK = Papua New Guinean kina SGD = Singapore dollar SBD = Solomon Islands dollar SRD = Surinamese dollar TWD = New Taiwan dollar TTD = Trinidad and Tobago dollar TVD = Tuvaluan dollar USD = United States dollar UYU = Uruguayan peso WST = Samoan tala XAF = Central African CFA franc XCD = East Caribbean dollar XOF = West African CFA franc ZAR = South African rand ZWL = Zimbabwean dollar
For a specific currency add the three/four letter ISO 4217 code for the desired currency as an additional parameter, separated by a vertical pipe.
Example:
{{dollarsign|NZD}} (New Zealand Dollar) produces:
NZ$
{{dollarsign|EUR}} (Euro) produces:
€
{{dollarsign|DOP}} (Dominican peso) produces:
RD$
There is no need to add the additional letters, they are automatically added.
連結
[编辑]如需要內部連結,請增加|lk=on
。