Difference between revisions of "Template:Currency/Link"

From blackwiki
Jump to navigation Jump to search
imported>SimonTrew
m (SimonTrew moved page Template:Tlx/Currency/Link to Template:Currency/Link: Mistakenly created at wrong place)
imported>SimonTrew
(testing)
Line 1: Line 1:
 
<includeonly>[[{{#switch:{{last word|{{Currency/Page|{{{1}}}}}|sep=,}}
 
<includeonly>[[{{#switch:{{last word|{{Currency/Page|{{{1}}}}}|sep=,}}
|s={{first word|{{Currency/Page|{{{1}}}}}|sep=,}}{{!}}{{first word|{{Currency/Page|{{{1}}}}}}}s
+
|s=ess {{first word|{{Currency/Page|{{{1}}}}}|sep=,}}{{!}}{{first word|{{Currency/Page|{{{1}}}}}}}s
|={{Currency/Page|{{{1}}}}}
+
|=blank {{Currency/Page|{{{1}}}}}
|{{first word|{{Currency/Page|{{{1}}}}}|sep=,}}{{!}}{{last word|{{Currency/Page|{{{1}}}}}}|sep=,}}
+
|other {{first word|{{Currency/Page|{{{1}}}}}|sep=,}}{{!}}{{last word|{{Currency/Page|{{{1}}}}}}|sep=,}}
 
}}]]</includeonly><noinclude>
 
}}]]</includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 14:36, 30 November 2015

50px Template documentation[view] [edit] [history] [purge]

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}} Euro,ss
{{Currency/Link|USD}} Uniteds
{{Currency/Link|GRD}} Greek drachmae}
{{Currency/Link|SKR}} Swedish kronor}
{{Currency/Link|CNY}} Renminbi}
{{Currency/Link|HUF}} Hungarians
{{Currency/Link|MYR}} Malaysian ringgit}
{{Currency/Link|}} Uniteds
{{Currency/Link}} [[other unknown parameter value for template Currency/Link: "{{{1}}}"|unknown parameter value for template Currency/Link: "{{{1}}}"}]]