Template:Data currency

From Hitchwiki
Revision as of 23:11, 24 September 2014 by Kundrt (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is a data template which takes currency code returns currency symbol and currency name (plural) separated by slashes. First position is not used because #titleparts parser function makes first letter uppercase.

Examples:

{{Data currency|USD}} -> /$/US dollars
{{Data currency|ERN}} -> /Nfk/Eritrean nakfas

{{#titleparts: {{Data currency|EUR}} | 1 | 2 }} -> € 
{{#titleparts: {{Data currency|EUR}} | 1 | 3 }} -> euros