Template:Infobox UK constituency: Difference between revisions

From BMG Wiki
Jump to navigation Jump to search
m (1 revision imported)
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 13: Line 13:
|above        = {{{name}}}
|above        = {{{name}}}
|subheader    = {{#if:{{{abolished|}}}|Former}} {{#switch:{{{parliament|uk}}}
|subheader    = {{#if:{{{abolished|}}}|Former}} {{#switch:{{{parliament|uk}}}
   |uk=[[{{{type}}} constituency]]
   |uk=[[Constituency]]
   |ihc=[[{{{type}}} constituency]]
   |ihc=[[{{{type}}} constituency]]
   |#default=constituency}}<br/><span class="category">{{#switch:{{{parliament|uk}}}
   |#default=constituency}}<br/><span class="category">{{#switch:{{{parliament|uk}}}
   |uk=for the [[House of Commons of the United Kingdom|House of Commons]]
   |uk=for the [[House of Commons]]
   |ihc=for the [[Irish House of Commons]]
   |ihc=for the [[Irish House of Commons]]
   |#default=Unknown parliament {{{parliament}}}.}}</span>
   |#default=Unknown parliament {{{parliament}}}.}}</span>


<!-- images -->
<!-- images -->
|image        = {{#if:{{{map1|}}}|[[File:{{{map1}}}Constituency.svg|{{#if:{{{map_size|}}}|{{{map_size}}}|120px}}|alt=Outline map]]|{{{image|}}}}}
|image        = {{#if:{{{map1|}}}|[[File:{{{map1}}}|{{#if:{{{map_size|}}}|{{{map_size}}}|120px}}|alt=Outline map]]|{{{image|}}}}}
|caption1    = {{#if:{{{map1|}}}|Boundary of {{{name}}} in {{{map_entity}}}{{#if:{{{map_year|}}}|&#32;for the {{{map_year}}} general election}}|{{{caption|}}}}}
|caption1    = {{#if:{{{map1|}}}|Boundary of {{{name}}} in {{{map_entity}}}{{#if:{{{map_year|}}}|&#32;for the {{{map_year}}} general election}}|{{{caption|}}}}}
|image2      = {{#if:{{{map2|}}}|[[File:{{{map2}}}.svg|{{#if:{{{map_size|}}}|{{{map_size}}}|120px}}|alt=Outline map]]|{{{image2|}}}}}
|image2      = {{#if:{{{map2|}}}|[[File:{{{map2}}}|{{#if:{{{map_size|}}}|{{{map_size}}}|120px}}|alt=Outline map]]|{{{image2|}}}}}
|caption2    = {{#if:{{{map2|}}}|Location of {{{map_entity}}} within {{{region}}}|{{{caption2|}}}}}
|caption2    = {{#if:{{{map2|}}}|Boundary of {{{name}}}|{{{caption2|}}}}}
|image3      = {{#if:{{{map3|}}}|[[File:{{{map3}}}.svg|{{#if:{{{map_size|}}}|{{{map_size}}}|120px}}|alt=Outline map]]|{{{image3|}}}}}
|image3      = {{#if:{{{map3|}}}|[[File:{{{map3}}}|{{#if:{{{map_size|}}}|{{{map_size}}}|120px}}|alt=Outline map]]|{{{image3|}}}}}
|caption3    = {{#if:{{{map3|}}}|Location of {{{map_entity}}} within {{{region}}}|{{{caption3|}}}}}
|caption3    = {{#if:{{{map3|}}}|Location of {{{map_entity}}} within {{{region}}}|{{{caption3|}}}}}


Line 52: Line 52:
             |Current constituency}}
             |Current constituency}}
|label7  = Created
|label7  = Created
|data7  = {{#if:{{{abolished|}}}||{{Infobox UK constituency/year|{{{parliament|uk}}}|start|{{{year}}}}}}}
|data7  = {{{year|}}}
|label8  = {{#switch:{{{parliament|uk}}}
|label8  = {{#switch:{{{parliament|uk}}}
   |uk=[[Member of Parliament (United Kingdom)|Member of Parliament]]
   |uk=[[Member of Parliament]]
   |#default=Member of Parliament / Assembly member}}
   |#default=Member of Parliament / Assembly member}}
|data8  = {{#if:{{{abolished|}}}||{{#if:{{{mp|}}}|{{{mp}}}|None}} {{#if:{{{party|}}}|({{#ifexist:Template:{{{party}}}/meta/shortname|[[{{{party}}}|<span class="category">{{Template:{{{party}}}/meta/shortname}}</span>]]|{{{party}}}}})}}}}
|data8  = {{#if:{{{abolished|}}}||{{#if:{{{mp|}}}|{{{mp}}}|None}} {{#if:{{{party|}}}|({{#ifexist:Template:{{{party}}}/meta/shortname|[[{{{party}}}|<span class="category">{{Template:{{{party}}}/meta/shortname}}</span>]]|{{{party}}}}})}}}}

Latest revision as of 11:48, 31 March 2023

{{{name}}}
Constituency
for the House of Commons
Current constituency
Member of ParliamentNone