Template:CNY
From Wikipedia, the free encyclopedia
Relevant discussion at | → Template talk:Currency#Suggestions for a standard set of options for each template |
Usage
This template represent the Chinese renminbi yuan currency as '¥ RMB' (linked to the Renminbi article) followed by the value.
{{CNY|123.45}} produces CN¥123.45
{{CNY|link=yes|123.45}} produces CN¥123.45
{{CNY}} by itself produces CN¥ (simple currency abbreviation)
Suppress "RMB"
For situations where it is clear RMB is meant and not the Japanese yen, the abbreviation may be suppressed.
{{CNY|long=no|123.45}} produces CN¥123.45
Note: The template {{RMB}}
is unrelated to Chinese currency.
TemplateData
More information Parameter, Description ...
Parameter | Description | Type | Status | |
---|---|---|---|---|
Amount | 1 | no description | Number | required |
Link? | link | Creates a link to the page for yuan
| Boolean | suggested |
Close
See also
The above documentation is transcluded from Template:CNY/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.