Difference between revisions of "Template:CNY"

From blackwiki
Jump to navigation Jump to search
imported>Ryulong
(Undid revision 633789254 by Stepho-wrs (talk) the yuan is a unit of the currency which is known as the reminbi)
imported>Stepho-wrs
(Restored 'CN¥'. Drastic changes like that should be discussed first. The recent discussion was undecided (which means no change).)
Line 1: Line 1:
<includeonly>{{#ifeq:{{{link}}}|yes|[[Renminbi|RMB]]|RMB}}{{#if:{{{1|}}}|&nbsp;{{formatnum:{{{1|}}}}}|}}</includeonly><noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc subpage, not here! --></noinclude>
+
<includeonly>{{#ifeq:{{{link}}}|yes|[[Renminbi|CN¥]]|CN¥}}{{#if:{{{1|}}}|&nbsp;{{formatnum:{{{1|}}}}}|}}</includeonly><noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc subpage, not here! --></noinclude>

Revision as of 02:50, 1 December 2014

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

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