Difference between pages "Template:Infobox European Parliament constituency" and "Template:Infobox European Parliament constituency/sandbox"

Jump to navigation Jump to search
Page 1
Page 2
(Created page with "{{Infobox | bodyclass = vcard | abovestyle = background-color: #ddd; | aboveclass = fn org | above = {{{title}}} | subheaderstyle = background-color: #ddd; font-weight: b...")
 
(Created page with "{{Infobox | bodyclass = vcard | abovestyle = background-color: #ddd; | aboveclass = fn org | above = {{{title}}} | subheaderstyle = background-color: #ddd; font-weight: b...")
 
Line 9: Line 9:
| subheader = [[European Parliament constituency]]
| subheader = [[European Parliament constituency]]


| image = {{#if:{{{locationmap2020|}}}
| image = {{#switch:{{{locationmap2014|}}}
  | {{#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}}
  | =
}}
| yes = {{Location map
| caption = {{#switch:{{{locationmap2020|}}}| = | yes = |#default = Location among the current constituencies }}
  | European Parliament constituencies 2014
 
  | AlternativeMap = EP-constituencies.svg
| image2 = {{#if:{{{locationmap2019|}}}
  | coordinates    = {{#if:{{{coordinates|}}}|{{{coordinates}}}|{{#if:{{{lat|}}}{{{long|}}}|{{coord|{{{lat|65.0}}}|{{{long|5.0}}}}} }} }}
| {{#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}}
  | float = center | border = infobox
}}
  | caption  = Location among the 2014 constituencies [[Category:Pages using infobox European Parliament constituency with unknown parameters|λ{{PAGENAME}}]]
| caption2 = {{#switch:{{{locationmap2019|}}}| = | yes = |#default = Location among the 2019 constituencies }}
  }}
 
  | #default = {{#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}}
| 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 }}
| caption = {{#switch:{{{locationmap2014|}}}| = | yes = |#default = Location among the 2014 constituencies }}
 
{{#if:{{{pushpin_map|}}}||{{{coordinates|}}}}}
| image4 = {{#if:{{{pushpin_map|}}}|
| image2 = {{#if:{{{pushpin_map|}}}|
   {{Location map
   {{Location map
   | {{{pushpin_map|}}}
   | {{{pushpin_map|}}}
Line 31: Line 29:
   | float      = center | border = infobox
   | float      = center | border = infobox
   | caption    = {{{pushpin_mapcaption|}}}
   | caption    = {{{pushpin_mapcaption|}}}
{{{coordinates|}}}
   }}
   }}
  }}
  }}


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


|    label1  = [[Member state of the European Union|Member state]]
|    label1  = [[Member state of the European Union|Member state]]
Line 43: Line 42:
|    data2  = {{{electorate population|}}}
|    data2  = {{{electorate population|}}}
|    label3  = Created
|    label3  = Created
|    data3  = {{#if:{{{created|}}}|{{Infobox European Parliament constituency/election link|{{{created}}}|{{{memberstatelink2}}}}}}}
|    data3  = {{#if:{{{created|}}}|{{Infobox European Parliament constituency/election link|{{{created}}}|{{{memberstate}}}}}}}
|    label4  = Dissolved
|    label4  = Dissolved
|    data4  = {{#if:{{{dissolved|}}}| {{#ifeq: {{{dissolved|}}} | 2020 | [[Brexit|31 January 2020]] | {{Infobox European Parliament constituency/election link|{{{dissolved}}} }} | {{{memberstatelink2}}}}}}}
|    data4  = {{#if:{{{dissolved|}}}|{{Infobox European Parliament constituency/election link|{{{dissolved}}}|{{{memberstate}}}}}}}
|    label5  = [[Member of the European Parliament|MEPs]]
|    label5  = [[Member of the European Parliament|MEPs]]
|    data5  = {{{meps|}}}
|    data5  = {{{meps|}}}
Line 52: Line 51:
|  header6  = {{#if:{{{created2|}}}|Recreated}}
|  header6  = {{#if:{{{created2|}}}|Recreated}}
|    label7  = Created
|    label7  = Created
|    data7  = {{#if:{{{created2|}}}|{{Infobox European Parliament constituency/election link|{{{created2}}}|{{{memberstatelink2}}}}}}}
|    data7  = {{#if:{{{created2|}}}|{{Infobox European Parliament constituency/election link|{{{created2}}}|{{{memberstate}}}}}}}
|    label8  = Dissolved
|    label8  = Dissolved
|    data8  = {{#if:{{{dissolved2|}}}| {{#ifeq: {{{dissolved2|}}} | 2020 | [[Brexit|31 January 2020]] | {{Infobox European Parliament constituency/election link|{{{dissolved2}}} }} | {{{memberstatelink2}}}}}}}
|    data8  = {{#if:{{{dissolved2|}}}|{{Infobox European Parliament constituency/election link|{{{dissolved2}}}|{{{memberstate}}}}}}}
|    label9  = MEPs
|    label9  = MEPs
|    data9  = {{{meps2|}}}
|    data9  = {{{meps2|}}}
Line 60: Line 59:
|  header10 = {{#if:{{{sources|}}}|Sources}}
|  header10 = {{#if:{{{sources|}}}|Sources}}
|    data11 = {{{sources|}}}
|    data11 = {{{sources|}}}
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox European Parliament constituency with unknown parameters|_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
}}{{#invoke:Check for unknown parameters|check|unknown=[[Category:Pages using infobox European Parliament constituency with unknown parameters|_VALUE_{{PAGENAME}}]]|preview=Page using [[Template:Infobox European Parliament constituency]] with unknown parameter "_VALUE_"|ignoreblank=y| coordinates | created | created2 | dissolved | dissolved2 | electorate population | locationmap2014 | map | mapalt | mapcaption | mapsize | mapupright | memberstate | memberstatelink | meps | meps2 | pushpin_map | pushpin_mapcaption | pushpin_mapsize | sources | title  
}}<noinclude>
}}<noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>