Jump to content

Template:Euro convergence criteria row: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
convert to time period in ERM rather than date
add functionality for EDP and legal convergence
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"| '''{{flagcountry| {{{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:{{{EDP|}}}|{{#ifeq:{{{EDPA|}}}|Y|yellow|{{#ifeq:{{{EDP|}}}|N|lightgreen|{{#ifeq:{{{EDP|}}}|Y|<nowiki>#</nowiki>ff7f7f|gray}}}}}}|gray}}" | {{#if:{{{EDP|}}}|{{#ifeq: {{{EDP|}}}|N|None|{{#ifeq: {{{EDP|}}}|Y|Open|{{#ifeq: {{{EDP|}}}|NA|NA|?}}}} }}|?}}{{{EDPN|}}}
| style="background:{{#if:{{{EDP|}}}|{{#ifeq:{{{EDPA|}}}|Y|yellow|{{#ifeq:{{{EDP|}}}|N|lightgreen|{{#ifeq:{{{EDP|}}}|Y|<nowiki>#</nowiki>ff7f7f|gray}}}}}}|gray}}" colspan="2"| {{#if:{{{EDP|}}}|{{#ifeq: {{{EDP|}}}|N|None|{{#ifeq: {{{EDP|}}}|Y|Open|{{#ifeq: {{{EDP|}}}|NA|NA|?}}}} }}|?}}{{{EDPN|}}}
| 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:{{{EXCR|}}}|{{#ifeq:{{{EXCR|}}}|NA|gray|{{#ifexpr:{{{EXCR|}}}<={{ECC{{#if:{{{Y|}}}|{{sp}}({{{Y}}})}}/REF|EXCR}}|{{#ifexpr:{{{EXCR|}}}>=-{{ECC{{#if:{{{Y|}}}|{{sp}}({{{Y}}})}}/REF|EXCR}}|lightgreen|<nowiki>#</nowiki>ff7f7f}}|<nowiki>#</nowiki>ff7f7f}}}}|gray}}" rowspan="2"| {{#ifeq:{{{EXCR|}}}|NA|NA|{{{EXCR|?}}}%}}{{{EXCRN|}}}
| style="background:{{#if:{{{INT|}}}|{{#ifexpr:{{{INT|}}}<={{ECC{{#if:{{{Y|}}}|{{sp}}({{{Y}}})}}/REF|INT}}|lightgreen|<nowiki>#</nowiki>ff7f7f}}|gray}}" rowspan="2"| {{{INT|?}}}%{{{INTN|}}}
| style="background:{{#if:{{LEG|}}}|{{#ifeq:{{{LEG|}}}|Y|lightgreen|{{#ifeq:{{{LEG|}}}|N|<nowiki>#</nowiki>ff7f7f|gray}}}}|gray}}" rowspan="2"| {{#if:{{{LEG|}}}|{{#ifeq: {{{LEG|}}}|Y|Yes|{{#ifeq: {{{Leg|}}}|N|No|{{#ifeq: {{{LEG|}}}|NA|NA|?}}}} }}|?}}{{{LEGN|}}}
|- style="text-align:center"
| 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:{{{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:{{{DEB|}}}|{{#ifexpr:{{{DEB|}}}<={{ECC{{#if:{{{Y|}}}|{{sp}}({{{Y}}})}}/REF|DEB}}|lightgreen|<nowiki>#</nowiki>ff7f7f}}|gray}}" | {{{DEB|?}}}%{{{DEBN|}}}
| style="background:{{#if:{{{DEB|}}}|{{#ifexpr:{{{DEB|}}}<={{ECC{{#if:{{{Y|}}}|{{sp}}({{{Y}}})}}/REF|DEB}}|lightgreen|<nowiki>#</nowiki>ff7f7f}}|gray}}" | {{{DEB|?}}}%{{{DEBN|}}}<noinclude>
| 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}}" | {{#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:{{{EXCR|}}}|{{#ifeq:{{{EXCR|}}}|NA|gray|{{#ifexpr:{{{EXCR|}}}<={{ECC{{#if:{{{Y|}}}|{{sp}}({{{Y}}})}}/REF|EXCR}}|{{#ifexpr:{{{EXCR|}}}>=-{{ECC{{#if:{{{Y|}}}|{{sp}}({{{Y}}})}}/REF|EXCR}}|lightgreen|<nowiki>#</nowiki>ff7f7f}}|<nowiki>#</nowiki>ff7f7f}}}}|gray}}" | {{#ifeq:{{{EXCR|}}}|NA|NA|{{{EXCR|?}}}%}}{{{EXCRN|}}}
| style="background:{{#if:{{{INT|}}}|{{#ifexpr:{{{INT|}}}<={{ECC{{#if:{{{Y|}}}|{{sp}}({{{Y}}})}}/REF|INT}}|lightgreen|<nowiki>#</nowiki>ff7f7f}}|gray}}" | {{{INT|?}}}%{{{INTN|}}}<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.

Revision as of 01:11, 27 September 2014

|- style="text-align:center" | style="text-align:left" rowspan="2"|  [[|]] | style="background:gray" rowspan="2"| ?% | style="background:gray" colspan="2"| ? | style="background:gray" rowspan="2"| ? | style="background:gray" rowspan="2"| ?% | style="background:gray" rowspan="2"| ?% | style="background:gray" rowspan="2"| ? |- style="text-align:center" | style="background:gray" | ?% | style="background:gray" | ?%