Difference between revisions of "Template:Currency/Link"
Jump to navigation
Jump to search
imported>SimonTrew (testing) |
imported>SimonTrew (→top: fix bugs) |
||
| Line 1: | Line 1: | ||
<includeonly>[[{{#switch:{{last word|{{Currency/Page|{{{1}}}}}|sep=,}} | <includeonly>[[{{#switch:{{last word|{{Currency/Page|{{{1}}}}}|sep=,}} | ||
| − | |s= | + | |s={{first word|{{Currency/Page|{{{1}}}}}|sep=,}}{{!}}{{first word|{{Currency/Page|{{{1}}}}}|sep=,}}s |
| − | |= | + | |={{Currency/Page|{{{1}}}}} |
| − | | | + | |{{first word|{{Currency/Page|{{{1}}}}}|sep=,}}{{!}}{{last word|{{Currency/Page|{{{1}}}}}|sep=,}} |
}}]]</includeonly><noinclude> | }}]]</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 14:40, 30 November 2015
Creates a Wikilink given a currency abbreviation, in the plural form, using the table encoded ion {{Currency/Page}}.
Usage
Examples
| Parameter | Result |
|---|---|
{{Currency/Link|GBP}} |
pounds sterling |
{{Currency/Link|EUR}} |
Euros |
{{Currency/Link|USD}} |
United States dollars |
{{Currency/Link|GRD}} |
Greek drachmae |
{{Currency/Link|SKR}} |
Swedish kronor |
{{Currency/Link|CNY}} |
Renminbi |
{{Currency/Link|HUF}} |
Hungarian forints |
{{Currency/Link|MYR}} |
Malaysian ringgit |
{{Currency/Link|}} |
United States dollars |
{{Currency/Link}} |
[[unknown parameter value for template Currency/Link: "{{{1}}}"|unknown parameter value for template Currency/Link: "{{{1}}}"]]
|
| The above documentation is transcluded from Template:Currency/Link/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |