Template:CNY/doc
This is a documentation subpage for Template:CNY. It contains usage information, categories and other content that is not part of the original template page. |
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