Template:CNY

Documentation icon Template documentation[view] [edit] [history] [purge]

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