Template:Currency/Type/doc

This is the type sub-template to Template:Currency. The Type sub-template converts the value it is given to the appropriate linked currency name (for example: US$ ).

Usage
Note: This template should generally not be used alone.

There is only one unnamed parameter used in this template, which is matched against a switch\case structure to find the value to output. Note that any value given to it is converted to upper case before processing for matches, so this template does not distinguish between "United States" and "UNITED STATES", for example.