Jump to content

Template:Euro convergence criteria row: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
update with content from my sandbox
mNo edit summary
 
(30 intermediate revisions by 5 users not shown)
Line 1: Line 1:
|- style="text-align:center"
|- style="text-align:center;"
| style="text-align:left" | '''{{flagcountry| {{{1|}}} }}'''{{{NOTE|}}}
| style="text-align:left;" rowspan="2"| '''{{flag icon| {{{1|}}} }} [[{{country name| {{{1|}}} }} and the euro|{{country name| {{{1|}}} }}]]'''{{{NOTE|}}}
| style="background:{{#if:{{{HICP|}}}|{{#ifexpr:{{{HICP|}}}<={{ECC{{#if:{{{Y|}}}|{{sp}}({{{Y}}})}}/REF|HICP}}|lightgreen|<nowiki>#</nowiki>ff7f7f}}|gray}}" | {{{HICP|?}}}%{{{HICPN|}}}
| style="background:{{#if:{{{HICP|}}}|{{#ifexpr:{{{HICP|}}}<={{ECC{{#if:{{{Y|}}}|{{sp}}({{{Y}}})}}/REF|HICP}}|lightgreen|<nowiki>#</nowiki>ff7f7f}}|gray}};" rowspan="2"| {{{HICP|?}}}%{{{HICPN|}}}
| style="background:{{#if:{{{DEF1|}}}|{{#ifexpr:{{{DEF1|}}}<={{ECC{{#if:{{{Y|}}}|{{sp}}({{{Y}}})}}/REF|DEF}}|lightgreen|{{#ifeq:{{{DEF1E|}}}|Y|yellow|<nowiki>#</nowiki>ff7f7f}} }}|gray}}" | {{{DEF1|?}}}%{{#ifexpr: {{{DEF1|0}}}<0.0|<small> (surplus)</small>}}{{#ifeq: {{{DEF1E|}}}|Y|<small> (exempt)</small>}}{{{DEF1N|}}}
| colspan="2" {{#ifeq:{{{EDP|}}}|NA|{{n/a}}|style="background:{{#ifeq:{{{EDPA|}}}|Y|yellow|{{#switch:{{{EDP|}}}|Y=<nowiki>#</nowiki>ff7f7f|N=lightgreen|gray}}}}" {{!}} {{#switch:{{{EDP|}}}|Y=Open|N=None|?}}}}{{{EDPN|}}}
| style="background:{{#if:{{{DEF2|{{{DEF|}}}}}}|{{#ifexpr:{{{DEF2|{{{DEF|}}}}}}<={{ECC{{#if:{{{Y|}}}|{{sp}}({{{Y}}})}}/REF|DEF}}|lightgreen|{{#ifeq:{{{DEF2E|}}}|Y|yellow|<nowiki>#</nowiki>ff7f7f}} }}|gray}}" | {{{DEF2|{{{DEF|?}}}}}}%{{#ifexpr: {{{DEF2|{{{DEF|0}}} }}}<0.0|<small> (surplus)</small>}}{{#ifeq: {{{DEF2E|}}}|Y|<small> (exempt)</small>}}{{{DEF2N|{{{DEFN|}}} }}}
| style="background:{{#if:{{{ERM|}}}{{{ERMY|}}}|{{#ifeq: {{{ERM|}}}|N|<nowiki>#</nowiki>ff7f7f |{{#ifexpr:{{age|{{{ERMY|}}}|{{{ERMM|}}}|{{{ERMD|}}}|{{ECC{{#if:{{{Y|}}}|{{sp}}({{{Y}}})}}/REF|YC}}|{{ECC{{#if:{{{Y|}}}|{{sp}}({{{Y}}})}}/REF|MC}}|{{ECC{{#if:{{{Y|}}}|{{sp}}({{{Y}}})}}/REF|DC}} }}>={{ECC{{#if:{{{Y|}}}|{{sp}}({{{Y}}})}}/REF|ERM}}|lightgreen|<nowiki>#</nowiki>ff7f7f}} }}|gray}};" rowspan="2"| {{#if:{{{ERM|}}}{{{ERMY|}}}|{{#ifeq: {{{ERM|}}}|N|No |{{Age in years and months|{{{ERMY|}}}|{{{ERMM|}}}|{{{ERMD|}}}|{{ECC{{#if:{{{Y|}}}|{{sp}}({{{Y}}})}}/REF|YC}}|{{ECC{{#if:{{{Y|}}}|{{sp}}({{{Y}}})}}/REF|MC}}|{{ECC{{#if:{{{Y|}}}|{{sp}}({{{Y}}})}}/REF|DC}} }} }}|?}}{{{ERMN|}}}
| style="background:{{#if:{{{DEF3|}}}|{{#ifexpr:{{{DEF3|}}}<={{ECC{{#if:{{{Y|}}}|{{sp}}({{{Y}}})}}/REF|DEF}}|lightgreen|{{#ifeq:{{{DEF3E|}}}|Y|yellow|<nowiki>#</nowiki>ff7f7f}} }}|gray}}" | {{{DEF3|?}}}%{{#ifexpr: {{{DEF3|0}}}<0.0|<small> (surplus)</small>}}{{#ifeq: {{{DEF3E|}}}|Y|<small> (exempt)</small>}}{{{DEF3N|}}}
| rowspan=2 {{#if:{{{EXCR|}}}|{{#ifeq:{{{EXCR|}}}|NA|{{n/a}}|style="background:{{#ifexpr:{{{EXCR|}}}<={{ECC{{#if:{{{Y|}}}|{{sp}}({{{Y}}})}}/REF|EXCR}} and {{{EXCR|}}}>=-{{ECC{{#if:{{{Y|}}}|{{sp}}({{{Y}}})}}/REF|EXCR}}|lightgreen|<nowiki>#</nowiki>ff7f7f}};" {{!}} {{{EXCR|}}}%}}|{{unknown}}}}{{{EXCRN|}}}
| style="background:{{#if:{{{BDDC|}}}|{{#ifeq:{{{BDDC|}}}|Y|lightgreen|{{#ifeq:{{{BDDCE|}}}|Y|yellow|{{#ifeq:{{{BDDC|}}}|N|<nowiki>#</nowiki>ff7f7f|{{#ifeq:{{{BDDC|}}}|NA|gray}} }} }} }}|gray}}" | {{#ifeq: {{{BDDC|}}}|Y|Yes|{{#ifeq: {{{BDDC|}}}|N|No|{{#ifeq: {{{BDDC|}}}|NA|NA|?}}}} }}{{#ifeq: {{{BDDCE|}}}|Y|<small> (exempt)</small>}}{{{BDDCN|}}}
| rowspan="2" {{#if:{{{INT|}}}|style="background:{{#ifexpr: {{{INT|}}}<={{ECC{{#if:{{{Y|}}}|{{sp}}({{{Y}}})}}/REF|INT}}|lightgreen|<nowiki>#</nowiki>ff7f7f}};" {{!}} {{{INT|}}}%|{{unknown}}}}{{{INTN|}}}
| rowspan="2" {{#ifexpr:{{#switch:{{{LEG|}}}|Y=1|N=1|0}}|style="background:{{#switch:{{{LEG|}}}|Y=lightgreen|N=<nowiki>#</nowiki>ff7f7f }};" {{!}} {{#switch:{{{LEG|}}}|Y=Yes|N=No}}|{{#switch:{{{LEG|}}}|NA={{n/a}}|{{unknown}}}}}}{{{LEGN|}}}
| style="background:{{#if:{{{DEB|}}}|{{#ifexpr:{{{DEB|}}}<={{ECC{{#if:{{{Y|}}}|{{sp}}({{{Y}}})}}/REF|DEB}}|lightgreen|{{#ifeq: {{{BDDC|}}}|Y|{{#ifeq: {{{FDDC|}}}|Y|yellow|{{#ifeq: {{{FDDCE|}}}|Y|yellow|<nowiki>#</nowiki>ff7f7f}} }}|{{#ifeq: {{{BDDCE|}}}|Y|{{#ifeq: {{{FDDC|}}}|Y|yellow|{{#ifeq: {{{FDDCE|}}}|Y|yellow|<nowiki>#</nowiki>ff7f7f}} }}|<nowiki>#</nowiki>ff7f7f}} }} }}|gray}}" | {{{DEB|?}}}%{{#if:{{{DEB|}}}|{{#ifexpr:{{{DEB|}}}<={{ECC{{#if:{{{Y|}}}|{{sp}}({{{Y}}})}}/REF|DEB}}||{{#ifeq: {{{BDDC|}}}|Y|{{#ifeq: {{{FDDC|}}}|Y|<small> (exempt)</small>|{{#ifeq: {{{FDDCE|}}}|Y|<small> (exempt)</small>|}} }}|{{#ifeq: {{{BDDCE|}}}|Y|{{#ifeq: {{{FDDC|}}}|Y|<small> (exempt)</small>|{{#ifeq: {{{FDDCE|}}}|Y|<small> (exempt)</small>|}} }}|}} }} }}| }}{{{DEBN|}}}
|- style="text-align:center;"
| style="background:{{#if:{{{FDDC|}}}|{{#ifeq:{{{FDDC|}}}|Y|lightgreen|{{#ifeq:{{{FDDCE|}}}|Y|yellow|{{#ifeq:{{{FDDC|}}}|N|<nowiki>#</nowiki>ff7f7f}} }} }}|gray}}" | {{#ifeq: {{{FDDC|}}}|Y|Yes|{{#ifeq: {{{FDDC|}}}|N|No|?}} }}{{#ifeq: {{{FDDCE|}}}|Y|<small> (exempt)</small>}}{{{FDDCN|}}}
| style="background:{{#if:{{{ERM|}}}|{{#ifeq: {{{ERM|}}}|N|<nowiki>#</nowiki>ff7f7f |{{#ifexpr:{{age|{{{ERMY|}}}|{{{ERMM|}}}|{{{ERMD|}}}|{{ECC{{#if:{{{Y|}}}|{{sp}}({{{Y}}})}}/REF|YC}}|{{ECC{{#if:{{{Y|}}}|{{sp}}({{{Y}}})}}/REF|MC}}|{{ECC{{#if:{{{Y|}}}|{{sp}}({{{Y}}})}}/REF|DC}} }}>={{ECC{{#if:{{{Y|}}}|{{sp}}({{{Y}}})}}/REF|ERM}}|lightgreen|<nowiki>#</nowiki>ff7f7f}} }}|gray}}" | {{#if:{{{ERM|}}}|{{#ifeq: {{{ERM|}}}|N|No |{{dts|format=dmy|{{{ERMY|}}}|{{{ERMM|}}}|{{{ERMD|}}} }} }}|?}}{{{ERMN|}}}
| style="background:{{#if:{{{DEF|}}}|{{#ifexpr:{{{DEF|}}}<={{ECC{{#if:{{{Y|}}}|{{sp}}({{{Y}}})}}/REF|DEF}}|lightgreen|{{#ifeq:{{{DEFE|}}}|Y|yellow|<nowiki>#</nowiki>ff7f7f}} }}|gray}}" | {{{DEF|?}}}%{{#ifexpr: {{{DEF|0}}}<0.0|<small> (surplus)</small>}}{{#ifeq: {{{DEFE|}}}|Y|<small> (exempt)</small>}}{{{DEFN|}}}
| style="background:{{#if:{{{INT|}}}|{{#ifexpr:{{{INT|}}}<={{ECC{{#if:{{{Y|}}}|{{sp}}({{{Y}}})}}/REF|INT}}|lightgreen|<nowiki>#</nowiki>ff7f7f}}|gray}}" | {{{INT|?}}}%{{sp}}{{{INTN|}}}<noinclude>
| style="background:{{#if:{{{DEB|}}}|{{#ifexpr:{{{DEB|}}}<={{ECC{{#if:{{{Y|}}}|{{sp}}({{{Y}}})}}/REF|DEB}}|lightgreen|{{#ifeq:{{{DEBE|}}}|Y|yellow|<nowiki>#</nowiki>ff7f7f}} }}|gray}}" | {{{DEB|?}}}%{{#ifeq: {{{DEBE|}}}|Y|<small> (exempt)</small>}}{{{DEBN|}}}<noinclude>
{{documentation| content=
{{documentation| content=
This template is used by {{tl|Euro convergence criteria}} (and associated historical templates) to display a row of convergence values for a specific country.
This template is used by {{tl|Euro convergence criteria}} (and associated historical templates) to display a row of convergence values for a specific country.
Line 15: Line 15:
==Usage==
==Usage==
The template accepts one unnamed argument and 16 named arguments:
The template accepts one unnamed argument and 16 named arguments:
* <code>1=ISO</code> - This outputs the {{tlx|flagcountry|ISO}} template for country "ISO"
* <code>1=ISO</code> - This outputs the {{tlx|flag country|ISO}} template for country "ISO"
* <code>HICP</code> - [[Harmonised Index of Consumer Prices]]
* <code>HICP</code> - [[Harmonised Index of Consumer Prices]]
* <code>DEF1</code> - [[Government budget deficit]] to [[Gross domestic product]] in the preceding year
* <code>EDP</code> - Y if an excessive deficit procedure is open for the state, N non is open, NA if not applicable
* <code>DEF2</code> - [[Government budget deficit]] to [[Gross domestic product]] in the reference year
* <code>EDPA</code> - Y if Council subsequently decides to abrogate the excessive deficit procedure later that year
* <code>DEF3</code> - [[Government budget deficit]] to [[Gross domestic product]] in the following year
* <code>DEF</code> - [[Government budget deficit]] to [[Gross domestic product]] in the reference year
* <code>DEF1E</code> - Y if exempt from a breech of [[Government budget deficit]] to [[Gross domestic product]] in the preceding year
* <code>DEFE</code> - Y if exempt from a breach of [[Government budget deficit]] to [[Gross domestic product]] in the reference year
* <code>DEF2E</code> - Y if exempt from a breech of [[Government budget deficit]] to [[Gross domestic product]] in the reference year
* <code>DEF3E</code> - Y if exempt from a breech of [[Government budget deficit]] to [[Gross domestic product]] in the following year
* <code>DEB</code> - [[debt-to-GDP ratio]]
* <code>DEB</code> - [[debt-to-GDP ratio]]
* <code>BDDC</code> - Y if backwards declining debt compliant
* <code>DEBE</code> - Y if exempt from a breach of [[debt-to-GDP ratio]]
* <code>FDDC</code> - Y if forwards declining debt compliant
* <code>BDDCE</code> - Y if exempt from a breech of backwards declining debt compliance
* <code>FDDCE</code> - Y if exempt from a breech of forwards declining debt compliance
* <code>ERM</code> - N if not yet a member
* <code>ERM</code> - N if not yet a member
* <code>ERMY</code> - year of [[European Exchange Rate Mechanism]] II membership
* <code>ERMY</code> - year of [[European Exchange Rate Mechanism]] II membership
* <code>ERMM</code> - month of [[European Exchange Rate Mechanism]] II membership
* <code>ERMM</code> - month of [[European Exchange Rate Mechanism]] II membership
* <code>ERMD</code> - day of [[European Exchange Rate Mechanism]] II membership
* <code>ERMD</code> - day of [[European Exchange Rate Mechanism]] II membership
* <code>EXCR</code> - annual change in the average exchange rate with the euro, NA if not applicable
* <code>INT</code> - long-term [[interest rate]].
* <code>INT</code> - long-term [[interest rate]].
* <code>NOTE</code> - Adds a note after the country name (useful for things like {{tl|kosovo-note}})
* <code>NOTE</code> - Adds a note after the country name (useful for things like {{tl|kosovo-note}})
* <code>HICPN</code> - Adds a note after the HICP
* <code>HICPN</code> - Adds a note after the HICP
* <code>DEF1N</code> - Adds a note after the budget deficit to GDP in the preceding year
* <code>DEFN</code> - Adds a note after the budget deficit to GDP in the current year
* <code>DEF2N</code> - Adds a note after the budget deficit to GDP in the current year
* <code>EDPN</code> - Adds a note after the excessive deficit procedure
* <code>DEF3N</code> - Adds a note after the budget deficit to GDP in the following year
* <code>DEBN</code> - Adds a note after the debt to GDP
* <code>DEBN</code> - Adds a note after the debt to GDP
* <code>BDDCN</code> - Adds a note after the backwards declining debt compliance
* <code>FDDCN</code> - Adds a note after the forwards declining debt compliance
* <code>ERMN</code> - Adds a note after the number of years as a member of the ERM II
* <code>ERMN</code> - Adds a note after the number of years as a member of the ERM II
* <code>EXCRN</code> - Adds a note after the exchange rate
* <code>INTN</code> - Adds a note after the long-term [[interest rate]]
* <code>INTN</code> - Adds a note after the long-term [[interest rate]]
* <code>Y</code> - This is the year that the convergence evaluation was performed, and is used for disambiguation of the historic version of {{tl|Euro convergence criteria}} (ie {{tl|Euro convergence criteria (2012)}}). It must equal the year of the tables (ie the part of the file name in brackets) or 2012 in this example.
* <code>Y</code> - This is the year that the convergence evaluation was performed, and is used for disambiguation of the historic version of {{tl|Euro convergence criteria}} (ie {{tl|Euro convergence criteria (2012)}}). It must equal the year of the tables (ie the part of the file name in brackets) or 2012 in this example.
Line 48: Line 42:
}}
}}


[[Category:Eurozone|τ]]
[[Category:European Union economic templates]]


</noinclude>
</noinclude>

Latest revision as of 13:39, 30 July 2024

|- style="text-align:center;" | style="text-align:left;" rowspan="2"| [[and the euro|]] | style="background:gray;" rowspan="2"| ?% | colspan="2" style="background:gray" | ? | style="background:gray;" rowspan="2"| ? | rowspan=2 style="background: var(--background-color-interactive, #EEE); color: var(--color-base, black); vertical-align: middle; white-space: nowrap; text-align: center; " class="table-Un­known" | Un­known | rowspan="2" style="background: var(--background-color-interactive, #EEE); color: var(--color-base, black); vertical-align: middle; white-space: nowrap; text-align: center; " class="table-Un­known" | Un­known | rowspan="2" style="background: var(--background-color-interactive, #EEE); color: var(--color-base, black); vertical-align: middle; white-space: nowrap; text-align: center; " class="table-Un­known" | Un­known |- style="text-align:center;" | style="background:gray" | ?% | style="background:gray" | ?%