Difference between revisions of "Template:US$"

From annadreambrush.com/wiki
Jump to navigation Jump to search
imported>MSGJ
(allow parameter to be omitted, per request)
imported>MSGJ
(add support for year parameter (code by Yarnalgo))
Line 1: Line 1:
[[United States dollar|US$]]{{{1<includeonly>|</includeonly>}}}<noinclude>
+
[[United States dollar|US$]]{{formatnum: {{{1<includeonly>|</includeonly>}}}}}{{#if: {{{year|{{{2|}}} }}}
 +
|&nbsp;({{#if: {{{about|}}}
 +
  |about ${{formatnum: {{#expr: {{US$/Inflation|year={{{year|}}}|2={{{2|}}}|1={{{1|}}} }} round 0}}}}
 +
  |${{formatnum: {{#ifexpr: {{US$/Inflation|year={{{year|}}}|2={{{2|}}}|1={{{1|}}} }} = {{#expr: {{US$/Inflation|year={{{year|}}}|2={{{2|}}}|1={{{1|}}}}} round 1}}
 +
  |{{#ifexpr: {{US$/Inflation|year={{{year|}}}|2={{{2|}}}|1={{{1|}}} }} = {{#expr: {{US$/Inflation|year={{{year|}}}|2={{{2|}}}|1={{{1|}}} }} round 0}}
 +
    |{{#expr: {{US$/Inflation|year={{{year|}}}|2={{{2|}}}|1={{{1|}}} }} }}
 +
    |{{#expr: {{US$/Inflation|year={{{year|}}}|2={{{2|}}}|1={{{1|}}} }} }}0
 +
  }}
 +
  |{{#expr: {{US$/Inflation|year={{{year|}}}|2={{{2|}}}|1={{{1|}}} }} round 2}}
 +
  }}
 +
}}
 +
}} in 2010)}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 21:53, 16 May 2010

US${{{1}}}

Template documentation[create]