Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  



1.1  Specific currencies  





1.2  Linking  







2 See also  














Template:Dollar sign







فارسی
Bahasa Indonesia
Scots
Tiếng Vit

 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 

(Redirected from Template:$)

  • {{$}}

Usage

This template produces a dollar sign ($). It is designed to be a workaround for a bug caused by bots running on PHP, as the dollar sign indicates a PHP variable in PHP language. It can also produce symbols for various world currencies and can produce links to the relevant article.

Do not subst: this template, otherwise it won't work.

Specific currencies

This template can support various currencies. The complete index of supported currencies and their codes is below.

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:
{{$|NZD}} (New Zealand Dollar) produces:
NZ$
{{$|EUR}} (Euro) produces:

{{$|DOP}} (Dominican peso) produces:
RD$

There is no need to add the additional letters, they are automatically added.

Linking

To link add |lk=on.

See also


Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Dollar_sign&oldid=735130373"

Categories: 
Currency templates
Unit indicator templates
Hidden category: 
Wikipedia semi-protected templates
 



This page was last edited on 18 August 2016, at 19:52 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki