Template:Infobox UK constituency and Template:Infobox UK constituency/sandbox: Difference between pages
Appearance
(Difference between pages)
Content deleted Content added
Mibblepedia (talk | contribs) Added original_name field |
separate field to name borough |
||
Line 14: | Line 14: | ||
|subheader = {{#if:{{{abolished|}}}|Former}} {{#switch:{{{parliament|uk}}} |
|subheader = {{#if:{{{abolished|}}}|Former}} {{#switch:{{{parliament|uk}}} |
||
|uk=[[{{{type}}} constituency]] |
|uk=[[{{{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 of the United Kingdom|House of Commons]] |
||
|ihc=for the [[Irish House of Commons]] |
|||
|#default=Unknown parliament {{{parliament}}}.}}</span> |
|#default=Unknown parliament {{{parliament}}}.}}</span> |
||
Line 52: | Line 50: | ||
|Current constituency}} |
|Current constituency}} |
||
|label7 = Created |
|label7 = Created |
||
|data7 = {{#if:{{{abolished|}}}||{{Infobox UK constituency/year|{{{parliament|uk}}}|start|{{{year}}} |
|data7 = {{#if:{{{abolished|}}}||{{Infobox UK constituency/year|{{{parliament|uk}}}|start|{{{year}}}}}}} |
||
|label8 = {{#switch:{{{parliament|uk}}} |
|label8 = {{#switch:{{{parliament|uk}}} |
||
|uk=[[Member of Parliament (United Kingdom)|Member of Parliament]] |
|uk=[[Member of Parliament (United Kingdom)|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:{{{party}}}|[[{{{party}}}|<span class="category">{{ |
|data8 = {{#if:{{{abolished|}}}||{{#if:{{{mp|}}}|{{{mp}}}|None}} {{#if:{{{party|}}}|({{#ifexist:Template:{{{party}}}/meta/shortname|[[{{{party}}}|<span class="category">{{Template:{{{party}}}/meta/shortname}}</span>]]|{{{party}}}}})}}}} |
||
|label9 = |
|label9 = Number of members |
||
|data9 = |
|data9 = {{{elects_howmany|}}} |
||
|label31 = During its existence contributed to new seat(s) of: |
|label31 = During its existence contributed to new seat(s) of: |
||
|data31 = {{{next5|}}} |
|data31 = {{{next5|}}} |
||
|label10 |
|label10 = Replaced by |
||
|data10 |
|data10 = {{{next|}}} |
||
|label11 = |
|label11 = Created from |
||
|data11 = {{{ |
|data11 = {{{previous|}}} |
||
<!-- previously a constituency between these years --> |
<!-- previously a constituency between these years --> |
||
Line 70: | Line 68: | ||
|{{Infobox UK constituency/year|{{{parliament|uk}}}|start|{{{year2}}}}}–{{Infobox UK constituency/year|{{{parliament|uk}}}|end|{{{abolished2}}}}} |
|{{Infobox UK constituency/year|{{{parliament|uk}}}|start|{{{year2}}}}}–{{Infobox UK constituency/year|{{{parliament|uk}}}|end|{{{abolished2}}}}} |
||
}} |
}} |
||
|label13 = |
|label13 = Number of members |
||
|data13 = |
|data13 = {{{elects_howmany2|}}} |
||
|label14 = Type of constituency |
|label14 = Type of constituency |
||
|data14 = {{#if:{{{type2|}}}|[[{{{type2}}} constituency]]}} |
|data14 = {{#if:{{{type2|}}}|[[{{{type2}}} constituency]]}} |
||
|label15 = |
|label15 = Replaced by |
||
|data15 = {{{ |
|data15 = {{{next2|}}} |
||
|label16 = |
|label16 = Created from |
||
|data16 = {{{ |
|data16 = {{{previous2|}}} |
||
<!-- previously a constituency between these years --> |
<!-- previously a constituency between these years --> |
||
Line 83: | Line 81: | ||
|{{Infobox UK constituency/year|{{{parliament|uk}}}|start|{{{year3}}}}}–{{Infobox UK constituency/year|{{{parliament|uk}}}|end|{{{abolished3}}}}} |
|{{Infobox UK constituency/year|{{{parliament|uk}}}|start|{{{year3}}}}}–{{Infobox UK constituency/year|{{{parliament|uk}}}|end|{{{abolished3}}}}} |
||
}} |
}} |
||
|label18 = |
|label18 = Number of members |
||
|data18 = |
|data18 = {{{elects_howmany3|}}} |
||
|label19 = Type of constituency |
|label19 = Type of constituency |
||
|data19 = {{#if:{{{type3|}}}|[[{{{type3}}} constituency]]}} |
|data19 = {{#if:{{{type3|}}}|[[{{{type3}}} constituency]]}} |
||
|label20 = |
|label20 = Replaced by |
||
|data20 = {{{ |
|data20 = {{{next3|}}} |
||
|label21 = |
|label21 = Created from |
||
|data21 = {{{ |
|data21 = {{{previous3|}}} |
||
<!-- previously a constituency between these years --> |
<!-- previously a constituency between these years --> |
||
Line 96: | Line 94: | ||
|{{Infobox UK constituency/year|{{{parliament|uk}}}|start|{{{year4}}}}}–{{Infobox UK constituency/year|{{{parliament|uk}}}|end|{{{abolished4}}}}} |
|{{Infobox UK constituency/year|{{{parliament|uk}}}|start|{{{year4}}}}}–{{Infobox UK constituency/year|{{{parliament|uk}}}|end|{{{abolished4}}}}} |
||
}} |
}} |
||
|label23 = |
|label23 = Number of members |
||
|data23 = |
|data23 = {{{elects_howmany4|}}} |
||
|label24 = Type of constituency |
|label24 = Type of constituency |
||
|data24 = {{#if:{{{type4|}}}|[[{{{type4}}} constituency]]}} |
|data24 = {{#if:{{{type4|}}}|[[{{{type4}}} constituency]]}} |
||
|label25 = |
|label25 = Replaced by |
||
|data25 = {{{ |
|data25 = {{{next4|}}} |
||
|label26 = |
|label26 = Created from |
||
|data26 = {{{ |
|data26 = {{{previous4|}}} |
||
<!-- overlaps with these constituencies. only makes sense for current constituencies --> |
<!-- overlaps with these constituencies. only makes sense for current constituencies --> |
||
Line 110: | Line 108: | ||
|Northern Ireland=[[Northern Ireland Assembly]] |
|Northern Ireland=[[Northern Ireland Assembly]] |
||
|Scotland=[[Scottish Parliament]] |
|Scotland=[[Scottish Parliament]] |
||
|Wales=[[ |
|Wales=[[National Assembly for Wales|Welsh Assembly]] |
||
|#default=National government in {{{region}}}}} |
|#default=National government in {{{region}}}}} |
||
|data28 = {{#switch:{{{region|}}} |
|data28 = {{#switch:{{{region|}}} |
||
|Northern Ireland={{#ifexist:{{{national}}} (Assembly constituency)|[[{{{national}}} (Assembly constituency)|{{{national}}}]]|{{{national|}}}}} |
|Northern Ireland={{#ifexist:{{{national}}} (Assembly constituency)|[[{{{national}}} (Assembly constituency)|{{{national}}}]]|{{{national|}}}}} |
||
|Wales={{#ifexist:{{{national}}} ( |
|Wales={{#ifexist:{{{national}}} (National Assembly for Wales electoral region)|[[{{{national}}} (National Assembly for Wales electoral region)|{{{national}}}]]|{{{national|}}}}} |
||
|Scotland={{#ifexist:{{{national}}} (Scottish Parliament region)|[[{{{national}}} (Scottish Parliament region)|{{{national}}}]]|{{{national|}}}}} |
|Scotland={{#ifexist:{{{national}}} (Scottish Parliament region)|[[{{{national}}} (Scottish Parliament region)|{{{national}}}]]|{{{national|}}}}} |
||
|#default={{{national|}}}}} |
|#default={{{national|}}}}} |