Difference between revisions of "Template:Currency/Symbol"
Jump to navigation
Jump to search
imported>SimonTrew (cropped from Currency/Type) |
imported>SimonTrew (default) |
||
Line 129: | Line 129: | ||
|XBT=BTC | |XBT=BTC | ||
|ZAR=R | |ZAR=R | ||
− | |=US$ | + | |={{{1|US$}}} |
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 12:28, 30 November 2015
Returns the currency symbol for a given currency. If the symbol is not known, it returns the parameter unchanged; if it is empty, US$
is returned.
Examples
Parameter | Result |
---|---|
{{Currency/Symbol|GBP}} |
GB£ |
{{Currency/Symbol|CAD}} |
CA$ |
{{Currency/Symbol|EUR}} |
€ |
{{Currency/Symbol|altarian dollar}} |
|
{{Currency/Symbol|HUF}} |
Ft |
{{Currency/Symbol|CNY}} |
CN¥ |
{{Currency/Symbol|}} |
The above documentation is transcluded from Template:Currency/Symbol/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |