Difference between revisions of "Template:Currency/LongType/doc"
Jump to navigation
Jump to search
imported>Ohms law (+ axample) |
imported>Ohms law m (moved User:Ohms law/Currency/LongType/doc to Template:Currency/LongType/doc: move to template space) |
(No difference)
| |
Revision as of 03:26, 10 February 2010
| This is a documentation subpage for Template:Currency/LongType. It contains usage information, categories and other content that is not part of the original template page. |
This is the type sub-template to User:Ohms law/Currency. The LongType sub-template converts the values it is given to the appropriate currency plus the linked currency name (for example: [[United States Dollar]]s).
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.
Example
User:Ohms law/Currency/LongType
See also