Difference between revisions of "Template:US$"
Jump to navigation
Jump to search
imported>Paradoctor (add named parameter "US" allowing to suppress display of currency disambiguation) |
m (1 revision imported) |
||
(3 intermediate revisions by 3 users not shown) | |||
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:{{{ | + | |[[United States dollar|{{#ifeq:{{{long|yes}}}|yes|US|}}$]] |
− | |{{#ifeq:{{{ | + | |{{#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 | + | -->{{#ifeq:{{{year|{{{2|0}}}}}}|0||{{#ifexpr:{{Inflation/US/startyear}}<={{{year|{{{2|0}}}}}} and {{{year|{{{2|0}}}}}}<{{Inflation/year|US}} |
| ({{#if:{{{about|}}} | | ({{#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 | + | }} 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> |