Template:Inflation and Template:Inflation/sandbox: Difference between pages
From HandWiki
(Difference between pages)
imported>Jworkorg (import) |
imported>Jworkorg m (1 revision imported) |
||
Line 87: | Line 87: | ||
begin template proper | begin template proper | ||
-->{{#ifeq:{{{fmt|raw}}}|eq|equivalent to {{{cursign|$}}}}}<!-- | -->{{#ifeq:{{{fmt|raw}}}|eq|equivalent to {{{cursign|$}}}}}<!-- | ||
-->{{#ifeq:{{{fmt|raw}}}|eqm|equivalent to {{{cursign|$}}}}}<!-- | |||
-->{{formatnum: | -->{{formatnum: | ||
{{ | {{ | ||
#iferror: | #iferror: | ||
{{ | {{round|1={{ | ||
#expr: | #expr: | ||
{{formatnum:{{{value|{{{2}}}}}}|R}} | {{formatnum:{{{value|{{{2}}}}}}|R}} | ||
Line 97: | Line 98: | ||
| {{Inflation/{{{index|{{{1}}}}}}|{{{start_year|{{{3}}}}}}|{{{end_year|{{{4|{{Inflation/year|{{{index|{{{1}}}}}}}}}}}}}}}} | | {{Inflation/{{{index|{{{1}}}}}}|{{{start_year|{{{3}}}}}}|{{{end_year|{{{4|{{Inflation/year|{{{index|{{{1}}}}}}}}}}}}}}}} | ||
}} | }} | ||
}}|2={{{r|0}}}}} | }}|2={{{r|0}}}}} | ||
|<span class="error">Error when using {{tl|Inflation}}:<!-- | |<span class="error">Error when using {{tl|Inflation}}:<!-- | ||
--> [[NaN]]/calculation error, please notify [[ | --> [[NaN]]/calculation error, please notify [[Template talk:Inflation]].</span><!-- | ||
-->{{main other|[[Category:Pages with errors in inflation template]]}}<!-- | -->{{main other|[[Category:Pages with errors in inflation template]]}}<!-- | ||
this error indicates template bug, always categorize | this error indicates template bug, always categorize | ||
Line 107: | Line 107: | ||
}}<!-- | }}<!-- | ||
-->{{#ifeq:{{{fmt|raw}}}|eq| in<!-- | -->{{#ifeq:{{{fmt|raw}}}|eq| in<!-- | ||
--> {{<!-- | |||
-->#ifeq:{{{start_year|{{{3}}}}}}|{{CURRENTYEAR}}<!-- | |||
-->|{{CURRENTYEAR}}<!-- | |||
-->|{{{end_year|{{{4|{{Inflation/year|{{{index|{{{1}}}}}}}}}}}}}}<!-- | |||
-->}}<!-- | |||
-->}}<!-- | |||
-->{{#ifeq:{{{fmt|raw}}}|eqm| million in<!-- | |||
--> {{<!-- | --> {{<!-- | ||
-->#ifeq:{{{start_year|{{{3}}}}}}|{{CURRENTYEAR}}<!-- | -->#ifeq:{{{start_year|{{{3}}}}}}|{{CURRENTYEAR}}<!-- |