Difference between revisions of "Template:Infobox London ward"

From blackwiki
Jump to navigation Jump to search
(duplicate parameters, already a label30 and data3)
imported>Primefac
(merge complete)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Infobox
+
#REDIRECT [[Template:Infobox England and Wales ward]]
|decat = yes
 
|bodyclass    = vcard <!-- for Wikipedia:WikiProject Microformats -->
 
  
|headerstyle    = background: #ccf;
+
{{r from merge}}
|subheaderstyle = font-weight: bold;
 
|labelstyle    = width: 50%
 
|datastyle      =
 
|belowstyle    = background: #ddf;
 
 
 
<!-- headers -->
 
|aboveclass  = fn org
 
|above        = {{{name}}}
 
|subheader    = {{#if:{{{abolished|}}}|Former}} {{#switch:{{{council|uk}}}
 
  |uk=[[{{{type}}} ward]]
 
  |#default=ward}}<br/><span class="category">{{#switch:{{{council|uk}}}
 
  |Barking and Dagenham=for [[Barking and Dagenham London Borough Council|Barking and Dagenham Council]]
 
  |Barnet=for [[Barnet London Borough Council|Barnet Council]]
 
  |Bexley=for [[Bexley London Borough Council|Bexley Council]]
 
  |Brent=for [[Brent London Borough Council|Brent Council]]
 
  |Bromley=for [[Bromley London Borough Council|Bromley Council]]
 
  |Camden=for [[Camden London Borough Council|Camden Council]]
 
  |Croydon=for [[Croydon London Borough Council|Croydon Council]]
 
  |Ealing=for  [[Ealing London Borough Council|Ealing Council]]
 
  |Enfield=for [[Enfield London Borough Council|Enfield Council]]
 
  |Greenwich=for [[Greenwich London Borough Council|Greenwich Council]]
 
  |Hackney=for [[Hackney London Borough Council|Hackney Council]]
 
  |Hammersmith and Fulham=for [[Hammersmith and Fulham London Borough Council|Hammersmith and Fulham Council]]
 
  |Haringey=for [[Haringey London Borough Council|Haringey Council]]
 
  |Harrow=for [[Harrow London Borough Council|Harrow Council]]
 
  |Havering=for [[Havering London Borough Council|Havering Council]]
 
  |Hillingdon=for [[Hillingdon London Borough Council|Hillingdon Council]]
 
  |Hounslow=for [[Hounslow London Borough Council|Hounslow Council]]
 
  |Islington=for [[Islington London Borough Council|Islington Council]]
 
  |Kensington and Chelsea=for [[Kensington and Chelsea London Borough Council|Kensington and Chelsea Council]]
 
  |Kingston upon Thames=for [[Kingston upon Thames London Borough Council|Kingston upon Thames Council]]
 
  |Lambeth=for [[Lambeth London Borough Council|Lambeth Council]]
 
  |Leiwsham=for [[Lewisham London Borough Council|Lewisham Council]]
 
  |Merton=for [[Merton London Borough Council|Merton Council]]
 
  |Newham=for [[Newham London Borough Council|Newham Council]]
 
  |Redbridge=for [[Redbridge London Borough Council|Redbridge Council]]
 
  |Richmond upon Thames=for [[Richmond upon Thames London Borough Council|Richmond upon Thames Council]]
 
  |Southwark=for [[Southwark London Borough Council|Southwark Council]]
 
  |Sutton=for [[Sutton London Borough Council|Sutton Council]]
 
  |Tower Hamlets=for [[Tower Hamlets London Borough Council|Tower Hamlets Council]]
 
  |Waltham Forest=for [[Waltham Forest London Borough Council|Waltham Forest Council]]
 
  |Wandsworth=for [[Wandsworth London Borough Council|Wandsworth Council]]
 
  |Westminster=for [[Westminster London Borough Council|Westminster Council]]
 
  |#default=Unknown council {{{council}}}.}}</span>
 
 
 
<!-- images -->
 
|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; from {{{map_year}}}}}.|{{{caption|}}}}}
 
|image2      = {{#if:{{{map2|}}}|[[File:{{{map2}}}.svg|{{#if:{{{map_size|}}}|{{{map_size}}}|120px}}|alt=Outline map]]|{{{image2|}}}}}
 
|caption2    = {{#if:{{{map2|}}}|Location of {{{map_entity}}} within {{{region}}}.|{{{caption2|}}}}}
 
|image3      = {{#if:{{{map3|}}}|[[File:{{{map3}}}.svg|{{#if:{{{map_size|}}}|{{{map_size}}}|120px}}|alt=Outline map]]|{{{image3|}}}}}
 
|caption3    = {{#if:{{{map3|}}}|Location of {{{map_entity}}} within {{{region}}}.|{{{caption3|}}}}}
 
 
 
<!-- main content -->
 
|label1  = {{#switch:{{{region|}}}
 
  |England=[[Ceremonial counties of England|County]]
 
  |Northern Ireland=[[Local government in Northern Ireland|Districts of Northern Ireland]]
 
  |Scotland=[[Subdivisions of Scotland]]
 
  |Wales=[[Preserved counties of Wales|Preserved county]]
 
  |#default=Local government in {{{region}}}}}
 
|class1  = label <!-- hCard magic -->
 
|data1  = {{{county|}}}
 
|label2  = Population
 
|data2  = {{{population|}}}
 
|label3  = [[Electoral registration in the United Kingdom|Electorate]]
 
|data3  = {{{electorate|}}}
 
|label4  = Major settlements
 
|data4  = {{{towns|}}}
 
 
 
<!-- currently a ward, or previously a ward (if abolished is set) -->
 
|header5 = {{#if:{{{abolished|}}}
 
            |{{Infobox UK ward/year|{{{council|uk}}}|start|{{{year}}}}}–{{Infobox UK ward/year|{{{council|uk}}}|end|{{{abolished}}}}}
 
            |Current ward}}
 
|label6  = Created
 
|data6  = {{#if:{{{abolished|}}}||{{Infobox UK ward/year|{{{council|uk}}}|start|{{{year}}}}}}}
 
|label7  = {{#switch:{{{council|uk}}}
 
  |uk=[[Councillor]]
 
  |#default=Councillor}}
 
|data7  = {{#if:{{{abolished|}}}||{{#if:{{{councillor1|}}}|{{{councillor1}}}|None}} {{#if:{{{party1|}}}|({{#ifexist:Template:{{{party1}}}/meta/shortname|[[{{{party1}}}|<span class="category">{{Template:{{{party1}}}/meta/shortname}}</span>]]|{{{party1}}}}})}}}}
 
|label8  = {{#switch:{{{council|uk}}}
 
  |uk=[[Councillor]]
 
  |#default=Councillor}}
 
|data8  = {{#if:{{{abolished|}}}||{{#if:{{{councillor2|}}}|{{{councillor2}}}|}} {{#if:{{{party2|}}}|({{#ifexist:Template:{{{party2}}}/meta/shortname|[[{{{party2}}}|<span class="category">{{Template:{{{party2}}}/meta/shortname}}</span>]]|{{{party2}}}}})}}}}
 
|label9  = {{#switch:{{{council|uk}}}
 
  |uk=[[Councillor]]
 
  |#default=Councillor}}
 
|data9  = {{#if:{{{abolished|}}}||{{#if:{{{councillor3|}}}|{{{councillor3}}}|}} {{#if:{{{party3|}}}|({{#ifexist:Template:{{{party3}}}/meta/shortname|[[{{{party3}}}|<span class="category">{{Template:{{{party3}}}/meta/shortname}}</span>]]|{{{party3}}}}})}}}}
 
|label10  = Number of councillors
 
|data10  = {{{elects_howmany|}}}
 
|label11  = Replaced by
 
|data11  = {{{next|}}}
 
|label12  = Created from
 
|data12  = {{{previous|}}}
 
 
 
<!-- previously a ward between these years -->
 
|header13 = {{#if:{{{abolished2|}}}
 
              |{{Infobox UK ward/year|{{{council|uk}}}|start|{{{year2}}}}}–{{Infobox UK ward/year|{{{council|uk}}}|end|{{{abolished2}}}}}
 
              }}
 
|label14  = Number of councillors
 
|data14  = {{{elects_howmany2|}}}
 
|label15  = Type of ward
 
|data15  = {{#if:{{{type2|}}}|[[{{{type2}}} ward]]}}
 
|label16  = Replaced by
 
|data16  = {{{next2|}}}
 
|label17  = Created from
 
|data17  = {{{previous2|}}}
 
 
 
<!-- previously a ward between these years -->
 
|header18 = {{#if:{{{abolished3|}}}
 
              |{{Infobox UK ward/year|{{{council|uk}}}|start|{{{year3}}}}}–{{Infobox UK ward/year|{{{council|uk}}}|end|{{{abolished3}}}}}
 
              }}
 
|label19  = Number of councillors
 
|data19  = {{{elects_howmany3|}}}
 
|label20  = Type of ward
 
|data20  = {{#if:{{{type3|}}}|[[{{{type3}}} ward]]}}
 
|label21  = Replaced by
 
|data21  = {{{next3|}}}
 
|label22  = Created from
 
|data22  = {{{previous3|}}}
 
 
 
<!-- previously a ward between these years -->
 
|header23 = {{#if:{{{abolished4|}}}
 
              |{{Infobox UK ward/year|{{{council|uk}}}|start|{{{year4}}}}}–{{Infobox UK ward/year|{{{council|uk}}}|end|{{{abolished4}}}}}
 
              }}
 
|label24  = Number of councillors
 
|data24  = {{{elects_howmany4|}}}
 
|label25  = Type of ward
 
|data25  = {{#if:{{{type4|}}}|[[{{{type4}}} ward]]}}
 
|label26  = Replaced by
 
|data26  = {{{next4|}}}
 
|label27  = Created from
 
|data27  = {{{previous4|}}}
 
 
 
<!-- overlaps with these constituencies. only makes sense for current constituencies -->
 
|header28 = {{#if:{{{abolished|}}}||Overlaps}}
 
|label29  = {{#switch:{{{region|}}}
 
  |Northern Ireland=[[Northern Ireland Assembly]]
 
  |Scotland=[[Scottish Parliament]]
 
  |Wales=[[National Assembly for Wales|Welsh Assembly]]
 
  |#default=National government in {{{region}}}}}
 
|data29  = {{#switch:{{{region|}}}
 
  |Northern Ireland={{#ifexist:{{{national}}} (Assembly constituency)|[[{{{national}}} (Assembly constituency)|{{{national}}}]]|{{{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|}}}}}
 
  |#default={{{national|}}}}}
 
|label30  = [[Parliament of the United Kingdom|UK Parliament constituency]]
 
|data30  = {{#if:{{{westminster1|}}}|[[{{{westminster1}}} (UK Parliament constituency)|{{{westminster1}}}]]}}
 
|label31  = [[Parliament of the United Kingdom|UK Parliament constituency]]
 
|data31  = {{#if:{{{westminster2|}}}|[[{{{westminster2}}} (UK Parliament constituency)|{{{westminster2}}}]]}}
 
|label32  = [[European Parliament|European Parliament constituency]]
 
|data32  = {{#if:{{{european|}}}|[[{{{european}}} (European Parliament constituency)|{{{european}}}]]}}
 
 
 
|below =
 
}}<noinclude>
 
{{documentation}}
 
</noinclude>
 

Latest revision as of 20:24, 23 August 2020

  • From a merge: This is a redirect from a page that was merged into another page. This redirect was kept in order to preserve this page's edit history after its content was merged into the target page's content. Please do not remove the tag that generates this text (unless the need to recreate content on this page has been demonstrated) or delete this page.