Difference between revisions of "Template:CNY"
Jump to navigation
Jump to search
imported>Dpmuk (Reverting to stable version. The discussion linked on the talk page shows there's no consensus for this change (there may be a consensus for a change but the consensus seems to be against changing it to this) so it should stay at the stable version.) |
imported>Primefac m (Protected "Template:CNY": semi-protecting highly-visible templates in response to recent template-space vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefinite))) |
||
(3 intermediate revisions by 2 users not shown) | |||
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> |
Latest revision as of 19:16, 10 January 2018
Usage
This template represent 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.
See also
- Wikipedia:Manual of Style (dates and numbers)#Currencies
- Wikipedia:WikiProject China
- 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. |