Template:CNY: Difference between revisions
Appearance
Content deleted Content added
Stepho-wrs (talk | contribs) Restored 'CN¥'. Drastic changes like that should be discussed first. The recent discussion was undecided (which means no change). |
then remove this space too |
||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{{link}}}|yes|[[Renminbi|CN¥]]|CN¥}}{{#if:{{{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> |
Revision as of 03:08, 1 December 2014
![]() | → 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 |