Template:CNY
Usage
This template represents the Chinese Yuan currency as 'CN¥' (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|link=no|123.45}} produces CN¥123.45
{{CNY}} by itself produces CN¥ (simple currency article link)
Note: The template {{RMB}}
is unrelated to Chinese currency.
TemplateData
<templatedata> { "params": { "1": { "label": "Amount", "type": "number", "required": true }, "link": { "label": "Link?", "description": "Creates a link to the page for yuan", "type": "boolean", "default": "No", "suggested": true } }, "paramOrder": [ "1", "link" ] } </templatedata>
See also
- Wikipedia:Manual of Style (dates and numbers)#Currencies
- Template:AUD
- Template:CAD
- Template:HKD
- Template:JPY
- Template:USD
- Template:Currency
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. Please add categories to the /doc subpage. Subpages of this template. |