Template:Currency/Page/doc
< Template:Currency | Page
Jump to navigation
Jump to search
Revision as of 13:59, 30 November 2015 by imported>SimonTrew (→Examples: greek drachmae)
| This is a documentation subpage for Template:Currency/Page. It contains usage information, categories and other content that is not part of the original template page. |
Returns a comma-separated list of values for the Wikipedia article which can be linked to for a given currency and how to pluralise the currency for display in a piped link.
Usage
The first positional parameter is the name of the currency, which is coded in a lookup table. The template returns the name of the page having information on the currency, and also how to display a plural form. Use {{first word}} to extract the Wikipedia link; Template:Tlx/Currency/Link will format a piped link.
Examples
| Parameter | Result |
|---|---|
{{Currency/Page|GBP}} |
Pound sterling,pounds sterling |
{{Currency/Page|EUR}} |
Euro,s |
{{Currency/Page|USD}} |
United States dollar,s |
{{Currency/Page|GRD}} |
unknown parameter value for template Currency/Page/doc: "DRM"
|
{{Currency/Page|SKR}} |
Swedish krona,Swedish kronor |
{{Currency/Page|1234.56|}} |
United States dollar,s |