Template:CNY: Difference between revisions
Content deleted Content added
then remove this space too |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{{link}}}|yes|[[Renminbi|CN¥]]|CN¥}}{{#if:{{{1|}}}|{{formatnum:{{{1|}}}}}|}}</includeonly><noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc subpage, not here! --></noinclude> |
<includeonly>{{#ifeq:{{{link}}}|yes|[[Renminbi|{{#ifeq:{{{RMB}}}|yes|RMB|CN¥}}]]|{{#ifeq:{{{RMB}}}|yes|RMB|CN¥}}}}{{#if:{{{1|}}}|{{#ifeq:{{{RMB}}}|yes| |}}{{formatnum:{{{1|}}}}}|}}</includeonly><noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc subpage, not here! --></noinclude> |
Revision as of 03:15, 1 December 2014
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
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Amount | 1 | no description | Number | required |
Link? | link | Creates a link to the page for yuan
| Boolean | suggested |