Templat:Inflasi: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
NikolasKHF (bicara | kontrib) kTidak ada ringkasan suntingan |
|||
(8 revisi perantara oleh 5 pengguna tidak ditampilkan) | |||
Baris 10:
|{{#if:{{{start_year|{{{3|}}}}}}||{{para|start_year}} (parameter 3)}}
}} must be specified.</span><!--
-->{{#if:{{{nocat|}}}||{{main other|[[
-->|{{<!--
Baris 17:
not(
{{#ifexist:Template:Inflation/{{{index|{{{1}}}}}}|1|0}}
and {{Isnumeric|{{Inflation
)
|<span class="error">Error when using {{tl|Inflation}}:<!--
--> {{para|index|'''{{{index|{{{1}}}}}}'''}} (parameter 1) not a recognized index.</span><!--
-->{{#if:{{{nocat|}}}||{{main other|[[
-->|{{<!--
Baris 40:
|{{#if: {{{r|}}} | {{Ifnumber|{{formatnum:{{{r}}}|R}}||{{para|r|'''{{{r}}}'''}}}} }}
}}.</span><!--
-->{{#if:{{{nocat|}}}||{{main other|[[
-->|{{<!--
Baris 48:
( {{{start_year|{{{3}}}}}} >= {{Inflation/{{{index|{{{1}}}}}}/startyear}} )
and(
( {{{start_year|{{{3}}}}}} <= {{{end_year|{{{4|{{Inflation
or ( {{{start_year|{{{3}}}}}} = {{{end_year|{{{4|{{CURRENTYEAR}}}}}}}} )
)
and ( {{{end_year|{{{4|{{Inflation
)
|<span class="error">Error when using {{tl|Inflation}}:<!--
Baris 64:
...and not equal to {{CURRENTYEAR}} if [parameter 4/end_year] is unspecified -->
#ifexpr:
( {{{start_year|{{{3}}}}}} > {{{end_year|{{{4|{{Inflation
and ( {{{start_year|{{{3}}}}}} != {{{end_year|{{{4|{{CURRENTYEAR}}}}}}}} )
|{{para|start_year|'''{{{start_year|{{{3}}}}}}'''}} (parameter 3)<!--
Baris 71:
-->#if:{{{end_year|{{{4|}}}}}}<!--
-->|{{para|end_year|'''{{{end_year|{{{4}}}}}}'''}} (parameter 4)<!--
-->|the latest available year ('''{{Inflation
--> in index "'''{{{index|{{{1}}}}}}'''"<!--
-->}}<!--
-->}}
|{{<!-- 4c: [parameter 4/end_year] greater than [parameter 1/index] highest year -->
#ifexpr: {{{end_year|{{{4|{{Inflation
|{{para|end_year|'''{{{end_year|{{{4}}}}}}'''}} (parameter 4)<!--
--> is greater than the latest available year ('''{{Inflation
--> in index "'''{{{index|{{{1}}}}}}'''"<!--
-->}}<!--
-->}}.</span><!--
-->{{#if:{{{nocat|}}}||{{main other|[[
-->|<!--
begin template proper
-->{{#ifeq:{{{fmt|raw}}}|eq|
-->{{formatnum:
{{
Baris 95:
{{#ifeq:{{{start_year|{{{3}}}}}}|{{CURRENTYEAR}}
| * 1
| {{Inflation/{{{index|{{{1}}}}}}|{{{start_year|{{{3}}}}}}|{{{end_year|{{{4|{{Inflation
}}
round {{{r|0}}}
Baris 101:
|<span class="error">Error when using {{tl|Inflation}}:<!--
--> [[NaN]]/calculation error, please notify [[Template talk:Inflation]].</span><!--
-->{{main other|[[
this error indicates template bug, always categorize
-->}}
|{{#ifeq:{{{fmt|raw}}}|raw|R|}}
}}<!--
-->{{#ifeq:{{{fmt|raw}}}|eq| 
--> {{<!--
-->#ifeq:{{{start_year|{{{3}}}}}}|{{CURRENTYEAR}}<!--
-->|{{CURRENTYEAR}}<!--
-->|{{{end_year|{{{4|{{Inflation
-->}}<!--
-->}}<!--
Baris 119:
-->}}<!-- 2
-->}}<!-- 1 --></includeonly><noinclude>
{{Documentation}}
</noinclude> |