Difference between revisions of "Template:US$"

From annadreambrush.com/wiki
Jump to navigation Jump to search
imported>Paradoctor
(add named parameter "US" allowing to suppress display of currency disambiguation)
imported>Stepho-wrs
(Changed 'US' param to 'long' so that it can be used on other currencies and not just specific to the {{US}} template.)
Line 1: Line 1:
 
<span style="white-space: nowrap">{{#ifeq:{{{link|no}}}|yes
 
<span style="white-space: nowrap">{{#ifeq:{{{link|no}}}|yes
  |[[United States dollar|{{#ifeq:{{{US|yes}}}|yes|US|}}$]]
+
  |[[United States dollar|{{#ifeq:{{{long|yes}}}|yes|US|}}$]]
  |{{#ifeq:{{{US|yes}}}|yes|US|}}$
+
  |{{#ifeq:{{{long|yes}}}|yes|US|}}$
 
}}{{formatnum:{{{1|}}}}}</span><!--
 
}}{{formatnum:{{{1|}}}}}</span><!--
 
-->{{#ifeq:{{{year|{{{2|0}}}}}}|0||{{#ifexpr:{{Inflation/US/startyear}}<={{{year|{{{2|0}}}}}} and {{{year|{{{2|0}}}}}}<{{Inflation-year|US}}
 
-->{{#ifeq:{{{year|{{{2|0}}}}}}|0||{{#ifexpr:{{Inflation/US/startyear}}<={{{year|{{{2|0}}}}}} and {{{year|{{{2|0}}}}}}<{{Inflation-year|US}}

Revision as of 12:41, 8 February 2018

US$

Template documentation[create]