Difference between revisions of "Template:CNY/doc"

From blackwiki
Jump to navigation Jump to search
imported>Alpha Quadrant
m (minor fix)
imported>Stepho-wrs
(Added link parameter and some minor tidyup.)
Line 5: Line 5:
 
This template represent the Chinese Yuan currency as 'RMB' (linked to the [[Renminbi]] article) followed by the value.
 
This template represent the Chinese Yuan currency as 'RMB' (linked to the [[Renminbi]] article) followed by the value.
  
{{tld|CNY|123.45}} produces {{CNY|123.45}}
+
<nowiki>{{CNY|123.45}}</nowiki> produces {{CNY|123.45}}
  
{{tld|CNY}} by itself produces {{CNY}} (simple currency article link)
+
<nowiki>{{CNY|link=yes|123.45}}</nowiki> produces {{CNY|link=yes|123.45}}
 +
 
 +
<nowiki>{{CNY|link=no|123.45}}</nowiki> produces {{CNY|link=no|123.45}}
 +
 
 +
<nowiki>{{CNY}}</nowiki> by itself produces {{CNY}} (simple currency article link)
 +
 
 +
Note: The template {{tlx|RMB}} is unrelated to Chinese currency.
  
 
=== See also ===
 
=== See also ===
Line 15: Line 21:
 
* [[Template:CAD]]
 
* [[Template:CAD]]
 
* [[Template:HKD]]
 
* [[Template:HKD]]
 +
* [[Template:JPY]]
 
* [[Template:USD]]
 
* [[Template:USD]]
  

Revision as of 01:49, 15 May 2012

Usage

This template represent the Chinese 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|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