Template:Currency/LongType/doc

This is the type sub-template to Template:Currency. The LongType sub-template converts the values it is given to the appropriate currency plus the linked currency name (for example: United States Dollars ).

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

This template uses two unnamed parameters, the second of which is matched against a switch\case structure to find the linked currency name 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. The first parameter should be the amount of the currency.