Difference between revisions of "Template:CNY/doc"

From blackwiki
Jump to navigation Jump to search
imported>Alpha Quadrant
m (minor fix)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(12 intermediate revisions by 5 users not shown)
Line 3: Line 3:
  
 
=== Usage ===
 
=== Usage ===
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 'CN¥' (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]]
 +
* [[Template:Currency]]
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Currency templates|{{PAGENAME}}]]
+
{{DEFAULTSORT:Cny}}
[[Category:Finance templates|{{PAGENAME}}]]
+
[[Category:People's Republic of China economic templates]]
 
+
[[Category:Currency templates]]
</includeonly>
+
[[Category:Unit indicator templates]]
 +
}}</includeonly>

Latest revision as of 15:30, 24 April 2020

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