Template:Infobox European Parliament constituency

{{Infobox

| bodyclass = vcard

| abovestyle = background-color: #ddd;

| aboveclass = fn org

| above = {{{title}}}

| subheaderstyle = background-color: #ddd; font-weight: bold;

| subheader = European Parliament constituency

| image = {{#if:{{{locationmap2020|}}}

| {{#invoke:InfoboxImage|InfoboxImage|image={{#ifeq:{{{locationmap2020|}}}|Europe|EP-constituencies|EP-constituency-{{{locationmap2020|}}}}}.svg|upright=1.3|alt=Map of the European Parliament constituencies with {{{title|}}} highlighted in red}}

}}

| caption = {{#switch:{{{locationmap2020|}}}| = | yes = |#default = Location among the current constituencies }}

| image2 = {{#if:{{{locationmap2019|}}}

| {{#invoke:InfoboxImage|InfoboxImage|image={{#ifeq:{{{locationmap2019|}}}|Europe|EP-constituencies|EP-constituency-{{{locationmap2019|}}}}}.svg|upright=1.3|alt=Map of the 2019 European Parliament constituencies with {{{title|}}} highlighted in red}}

}}

| caption2 = {{#switch:{{{locationmap2019|}}}| = | yes = |#default = Location among the 2019 constituencies }}

| image3 = {{#if:{{{locationmap2014|}}}

| {{#invoke:InfoboxImage|InfoboxImage|image={{#ifeq:{{{locationmap2014|}}}|Europe|EP-constituencies|EP-constituency-{{{locationmap2014|}}}}}.svg|upright=1.3|alt=Map of the 2014 European Parliament constituencies with {{{title|}}} highlighted in red}}

}}

| caption3 = {{#switch:{{{locationmap2014|}}}| = | yes = |#default = Location among the 2014 constituencies }}

| image4 = {{#if:{{{pushpin_map|}}}|

{{Location map

| {{{pushpin_map|}}}

| coordinates= {{#if:{{{coordinates|}}}|{{{coordinates}}}|{{#if:{{{lat|}}}{{{long|}}}|{{coord|{{{lat|65.0}}}|{{{long|5.0}}}}} }} }}

| width = {{{pushpin_mapsize|}}}

| float = center | border = infobox

| caption = {{{pushpin_mapcaption|}}}

}}

}}

| image5 = {{#invoke:InfoboxImage|InfoboxImage|image={{{map|}}}|size={{{mapsize|}}}|upright={{{mapupright|1}}}|alt={{{mapalt|}}}}}

| caption5 = {{{mapcaption|}}}

| label1 = Member state

| data1 = {{#if:{{{memberstatelink|}}}|{{{memberstate}}}|{{{memberstate}}}}}

| rowclass1 = adr country-name

| label2 = Electorate

| data2 = {{{electorate population|}}}

| label3 = Created

| data3 = {{#if:{{{created|}}}|{{Infobox European Parliament constituency/election link|{{{created}}}|{{{memberstatelink2}}}}}}}

| label4 = {{#if:{{{replaced|}}}|Replaced}}

| data4 = {{#if:{{{replaced|}}}|{{{replaced|}}}}}

| label5 = Dissolved

| data5 = {{#if:{{{dissolved|}}}| {{#ifeq: {{{dissolved|}}} | 2020 | 31 January 2020 | {{Infobox European Parliament constituency/election link|{{{dissolved}}} }} | {{{memberstatelink2}}}}}}}

| label6 = {{#if:{{{replacedby|}}}|Replaced by}}

| data6 = {{#if:{{{replacedby|}}}|{{{replacedby|}}}}}

| label7 = MEPs

| data7 = {{{meps|}}}

| headerstyle = background-color: #ddd;

| header8 = {{#if:{{{created2|}}}|Recreated}}

| label9 = Created

| data9 = {{#if:{{{created2|}}}|{{Infobox European Parliament constituency/election link|{{{created2}}}|{{{memberstatelink2}}}}}}}

| label10 = {{#if:{{{replaced2|}}}|Replaced}}

| data10 = {{#if:{{{replaced2|}}}|{{{replaced2|}}}}}

| label11 = Dissolved

| data11 = {{#if:{{{dissolved2|}}}| {{#ifeq: {{{dissolved2|}}} | 2020 | 31 January 2020 | {{Infobox European Parliament constituency/election link|{{{dissolved2}}} }} | {{{memberstatelink2}}}}}}}

| label12 = {{#if:{{{replacedby2|}}}|Replaced by}}

| data12 = {{#if:{{{replacedby2|}}}|{{{replacedby2|}}}}}

| label13 = MEPs

| data13 = {{{meps2|}}}

| header14 = {{#if:{{{sources|}}}|Sources}}

| data15 = {{{sources|}}}

}}{{#invoke:Check for unknown parameters|check|unknown={{main other|_VALUE_{{PAGENAME}}}}|preview=Page using Template:Infobox European Parliament constituency with unknown parameter "_VALUE_"|ignoreblank=y| coordinates | created | created2 | dissolved | dissolved2 | electorate population | locationmap2020 | locationmap2019 | locationmap2014 | map | mapalt | mapcaption | mapsize | mapupright | memberstate | memberstatelink | meps | meps2 | pushpin_map | pushpin_mapcaption | pushpin_mapsize | sources | title | memberstatelink2

}}

{{Documentation}}