Template:Euro convergence criteria row: Difference between revisions
Appearance
Content deleted Content added
Danlaycock (talk | contribs) +/- |
Danlaycock (talk | contribs) 1 missing case |
||
Line 6: | Line 6: | ||
| 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|}}} |
||
| 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 |{{dts|format=dmy|{{{ERMY|}}}|{{{ERMM|}}}|{{{ERMD|}}} }} }}|?}}{{{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}}" | {{#if:{{{ERM|}}}{{{ERMY|}}}|{{#ifeq: {{{ERM|}}}|N|No |{{dts|format=dmy|{{{ERMY|}}}|{{{ERMM|}}}|{{{ERMD|}}} }} }}|?}}{{{ERMN|}}} |
||
| style="background:{{#if:{{{EXCR|}}}|{{#ifexpr:{{{EXCR|}}}<={{ECC{{#if:{{{Y|}}}|{{sp}}({{{Y}}})}}/REF|EXCR}}|{{#ifexpr:{{{EXCR|}}}>=-{{ECC{{#if:{{{Y|}}}|{{sp}}({{{Y}}})}}/REF|EXCR}}|lightgreen|<nowiki>#</nowiki>ff7f7f}} |
| style="background:{{#if:{{{EXCR|}}}|{{#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}}" | {{{EXCR|?}}}%{{sp}}{{{EXCRN|}}} |
||
| 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:{{{INT|}}}|{{#ifexpr:{{{INT|}}}<={{ECC{{#if:{{{Y|}}}|{{sp}}({{{Y}}})}}/REF|INT}}|lightgreen|<nowiki>#</nowiki>ff7f7f}}|gray}}" | {{{INT|?}}}%{{sp}}{{{INTN|}}}<noinclude> |
||
{{documentation| content= |
{{documentation| content= |
Revision as of 22:08, 5 July 2014
|- style="text-align:center" | style="text-align:left" | [[|]] | style="background:gray" | ?% | style="background:gray" | ? | style="background:gray" | ?% | style="background:gray" | ?% | style="background:gray" | ? | style="background:gray" | ?% | style="background:gray" | ?%
Template documentation
This template is used by {{Euro convergence criteria}} (and associated historical templates) to display a row of convergence values for a specific country.
Usage
The template accepts one unnamed argument and 16 named arguments:
1=ISO
- This outputs the{{flagcountry|ISO}}
template for country "ISO"HICP
- Harmonised Index of Consumer PricesEDP
- Y if an excessive deficit procedure is open for the stateDEF
- Government budget deficit to Gross domestic product in the reference yearDEFE
- Y if exempt from a breach of Government budget deficit to Gross domestic product in the reference yearDEB
- debt-to-GDP ratioERM
- N if not yet a memberERMY
- year of European Exchange Rate Mechanism II membershipERMM
- month of European Exchange Rate Mechanism II membershipERMD
- day of European Exchange Rate Mechanism II membershipEXCR
- average annual exchange rate with the euroINT
- long-term interest rate.NOTE
- Adds a note after the country name (useful for things like {{kosovo-note}})HICPN
- Adds a note after the HICPDEFN
- Adds a note after the budget deficit to GDP in the current yearEDPN
- Adds a note after the excessive deficit procedureDEBN
- Adds a note after the debt to GDPERMN
- Adds a note after the number of years as a member of the ERM IIEXCRN
- Adds a note after the exchange rateINTN
- Adds a note after the long-term interest rateY
- This is the year that the convergence evaluation was performed, and is used for disambiguation of the historic version of {{Euro convergence criteria}} (ie {{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.
The template uses the reference values saved in {{ECC (Y)/REF}} (where Y is the option year disambiguator for historical tables) to compare the inputed values against the criteria and colour the cells accordingly.