Jump to content

Template:Euro convergence criteria row: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
you have broken the EXCRN note. if you want to restructure the logic then it must be repeated in each case. also, there is a difference between "N/A" and "?" One is not applicable and the other is unknown.
Factor EXCR note to out of EXCR processing
Line 4: Line 4:
| 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:{{{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:{{{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|}}}
| rowspan=2 {{#if:{{{EXCR|}}}|{{#ifeq:{{{EXCR|}}}|NA|{{n/a}}{{{EXCRN|}}}|style="background:{{#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}};" {{!}} {{{EXCR|?}}}%{{{EXCRN|}}}}}|{{dunno}}%}}
| rowspan=2 {{#if:{{{EXCR|}}}|{{#ifeq:{{{EXCR|}}}|NA|{{n/a}}|style="background:{{#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}};" {{!}} {{{EXCR|?}}}%}}|{{dunno}}%}}{{{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:{{{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="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|}}}

Revision as of 20:05, 28 March 2015

|- 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"| ? | 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" | ?% | style="background:gray;" rowspan="2"| ?% | style="background:gray;" rowspan="2"| ? |- style="text-align:center;" | style="background:gray" | ?% | style="background:gray" | ?%