Difference between revisions of "Template:INRConvert/Currency"

From blackwiki
Jump to navigation Jump to search
imported>Joshua Issac
(Subtemplate for displaying currency symbols.)
 
imported>Joshua Issac
(Added JP prefix to yen sign to differentiate from CNY.)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>This subtemplate is for displaying currency symbols using their ISO code. This is intended to be used with {{tl|INRConvert/Wordify}}, as {{tl|Currency}} cannot be combined with it without tight coupling.
+
<noinclude>This subtemplate is for displaying currency symbols using their ISO code. This is intended to be used with {{tl|INRConvert/Wordify}}, as {{tl|Currency}} cannot be combined with it without tight coupling. If no code is supplied, it is defaulted to <code>USD</code>.
  
 
</noinclude>{{#switch: {{{code|USD}}}
 
</noinclude>{{#switch: {{{code|USD}}}
Line 7: Line 7:
 
| GBP = £
 
| GBP = £
 
| DEM = DM
 
| DEM = DM
| JPY = ¥}}
+
| JPY = JP¥}}

Latest revision as of 16:00, 16 August 2020

This subtemplate is for displaying currency symbols using their ISO code. This is intended to be used with {{INRConvert/Wordify}}, as {{Currency}} cannot be combined with it without tight coupling. If no code is supplied, it is defaulted to USD.

US$