Difference between revisions of "Template:US$"

From annadreambrush.com/wiki
Jump to navigation Jump to search
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.)
m (1 revision imported)
 
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
  |{{#ifeq:{{{long|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}}
 
  |&#32;({{#if:{{{about|}}}
 
  |&#32;({{#if:{{{about|}}}
 
   |equivalent to about ${{formatnum:{{Inflation|US|{{formatnum:{{{1|}}}|R}}|{{{year|{{{2}}}}}}|r={{{round|0}}}}}}}
 
   |equivalent to about ${{formatnum:{{Inflation|US|{{formatnum:{{{1|}}}|R}}|{{{year|{{{2}}}}}}|r={{{round|0}}}}}}}
 
   |equivalent to ${{formatnum:{{Inflation|US|{{formatnum:{{{1|}}}|R}}|{{{year|{{{2}}}}}}|r={{{round|{{#ifexpr:{{Inflation|US|{{formatnum:{{{1|}}}|R}}|{{{year|{{{2}}}}}}}}>1000|0|2}}}}}}}}}
 
   |equivalent to ${{formatnum:{{Inflation|US|{{formatnum:{{{1|}}}|R}}|{{{year|{{{2}}}}}}|r={{{round|{{#ifexpr:{{Inflation|US|{{formatnum:{{{1|}}}|R}}|{{{year|{{{2}}}}}}}}>1000|0|2}}}}}}}}}
  }} in {{Inflation-year|US}})
+
  }} in {{Inflation/year|US}})
 
}}}}<noinclude>
 
}}}}<noinclude>
 
{{documentation}}<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
{{documentation}}<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Latest revision as of 17:55, 9 March 2020

US$

Template documentation[create]