Difference between revisions of "Template:Currency/Link"

From blackwiki
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=ess {{first word|{{Currency/Page|{{{1}}}}}|sep=,}}{{!}}{{first word|{{Currency/Page|{{{1}}}}}}}s
+
|s={{first word|{{Currency/Page|{{{1}}}}}|sep=,}}{{!}}{{first word|{{Currency/Page|{{{1}}}}}|sep=,}}s
|=blank {{Currency/Page|{{{1}}}}}
+
|={{Currency/Page|{{{1}}}}}
|other {{first word|{{Currency/Page|{{{1}}}}}|sep=,}}{{!}}{{last word|{{Currency/Page|{{{1}}}}}}|sep=,}}
+
|{{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

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}} 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}}}"]]