Difference between revisions of "Template:CNY/doc"

From blackwiki
Jump to navigation Jump to search
imported>Ryulong
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(2 intermediate revisions by 2 users not shown)
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.
Line 27: 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