Difference between revisions of "Template:MYR/doc"

From blackwiki
Jump to navigation Jump to search
imported>Stepho-wrs
m (Created page with '{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> === Usage === This template renders the abbreviation for the Mal...')
 
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(3 intermediate revisions by 3 users not shown)
Line 8: Line 8:
  
 
<nowiki>{{MYR}}</nowiki> by itself produces {{MYR}} (simple currency article link)
 
<nowiki>{{MYR}}</nowiki> by itself produces {{MYR}} (simple currency article link)
 +
 +
Can be replaced by {{tlx|currency|123.45|MYR}} to produce {{currency|123.45|MYR}}.
  
 
=== See also ===
 
=== See also ===
Line 13: Line 15:
 
* [[Template:USD]]
 
* [[Template:USD]]
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Currencies of Malaysia|{{PAGENAME}}]]
+
{{DEFAULTSORT:Myr}}
[[Category:Currency templates|{{PAGENAME}}]]
+
[[Category:Malaysia economic templates]]
[[Category:Finance templates|{{PAGENAME}}]]
+
[[Category:Currency templates]]
 
+
[[Category:Currencies of Malaysia|*]]
</includeonly>
+
[[Category:Unit indicator templates]]
 +
}}</includeonly>

Latest revision as of 01:51, 26 April 2020

Usage

This template renders the abbreviation for the Malaysian ringgit (RM) linked to the Malaysian ringgit article and followed by its value.

{{MYR|123.45}} produces RM123.45

{{MYR}} by itself produces RM (simple currency article link)

Can be replaced by {{currency|123.45|MYR}} to produce RM123.45.

See also