Difference between revisions of "Template:CNY/doc"

From blackwiki
Jump to navigation Jump to search
imported>Ryulong
(Undid revision 629173973 by Benlisquare (talk))
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(6 intermediate revisions by 3 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.
  
 
<nowiki>{{CNY|123.45}}</nowiki> produces {{CNY|123.45}}
 
<nowiki>{{CNY|123.45}}</nowiki> produces {{CNY|123.45}}
Line 25: Line 25:
 
* [[Template:Currency]]
 
* [[Template:Currency]]
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
{{DEFAULTSORT:Cny}}  
 
{{DEFAULTSORT:Cny}}  
 
[[Category:People's Republic of China economic templates]]
 
[[Category:People's Republic of China economic templates]]
 
[[Category:Currency 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