Difference between revisions of "Template:CNY/doc"

From blackwiki
Jump to navigation Jump to search
imported>Stepho-wrs
(Restored 'CN¥'. Drastic changes like that should be discussed first. The recent discussion was undecided (which means no change).)
imported>Ryulong
Line 12: Line 12:
  
 
<nowiki>{{CNY}}</nowiki> by itself produces {{CNY}} (simple currency article link)
 
<nowiki>{{CNY}}</nowiki> by itself produces {{CNY}} (simple currency article link)
 +
 +
<nowiki>{{CNY|123.45|RMB=yes}}</nowiki> produces {{CNY|123.45|RMB=yes}}
  
 
Note: The template {{tlx|RMB}} is unrelated to Chinese currency.
 
Note: The template {{tlx|RMB}} is unrelated to Chinese currency.

Revision as of 03:16, 1 December 2014

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)

{{CNY|123.45|RMB=yes}} produces CN¥123.45

Note: The template {{RMB}} is unrelated to Chinese currency.

See also