Difference between revisions of "Template:Infobox London ward/doc"

From blackwiki
Jump to navigation Jump to search
imported>Trimfrim20
imported>Trimfrim20
Line 129: Line 129:
 
|-
 
|-
 
! image
 
! image
| image, e.g.: map of region (or use "map1") || <nowiki>[[Image:....|200px|alt=Map of constituency]]</nowiki>
+
| image, e.g.: map of region (or use "map1") || <nowiki>[[Image:....|200px|alt=Map of ward]]</nowiki>
 
|-
 
|-
 
! caption
 
! caption
Line 149: Line 149:
 
|-
 
|-
 
! map1
 
! map1
| Part of map image (like that for "UK constituency infobox"). Use instead of image and image2 to fill in captions automatically || BlackleyBroughton2007
+
| Part of map image (like that for "UK ward infobox"). Use instead of image and image2 to fill in captions automatically || BlackleyBroughton2007
 
|-
 
|-
 
! map2
 
! map2
| Part of second map image (like that for "UK constituency infobox") || EnglandGreaterLondon
+
| Part of second map image (like that for "UK ward infobox") || EnglandGreaterLondon
 
|-
 
|-
 
! map_entity
 
! map_entity
Line 163: Line 163:
 
| Size of map || 120px
 
| Size of map || 120px
 
|-
 
|-
! colspan="3" style="background: #7cf; color: #000;" | If constituency is currently active
+
! colspan="3" style="background: #7cf; color: #000;" | If ward is currently active
 
|-
 
|-
 
! electorate
 
! electorate
| the electorate of constituency || 47,000 (in 2010)
+
| the electorate of ward || 47,000 (in 2010)
 
|-
 
|-
 
! population
 
! population
| the population of constituency. You may want to use electorate instread: population is hard to find. || 47,000 (in 2010)
+
| the population of ward. You may want to use electorate instread: population is hard to find. || 47,000 (in 2010)
 
|-
 
|-
 
! councillor1
 
! councillor1
Line 189: Line 189:
 
| party of 3rd Councillor || Conservative Party (UK)
 
| party of 3rd Councillor || Conservative Party (UK)
 
|-
 
|-
! colspan="3" style="background: #7cf; color: #000;" | If constituency is not longer active
+
! colspan="3" style="background: #7cf; color: #000;" | If ward is not longer active
 
|-
 
|-
 
! abolished
 
! abolished
| year constituency was abolished. Leave blank if constituency is currently being used. ||
+
| year ward was abolished. Leave blank if ward is currently being used. ||
 
|-
 
|-
 
! next
 
! next
Line 203: Line 203:
 
| How many MPs are elected (for old multiple-member constituencies). || two
 
| How many MPs are elected (for old multiple-member constituencies). || two
 
|-
 
|-
! colspan="3" style="background: #7cf; color: #000;" | Information about previous constituency, which has been abolished in the past
+
! colspan="3" style="background: #7cf; color: #000;" | Information about previous ward, which has been abolished in the past
 
|-
 
|-
 
! year2
 
! year2
| if constituency previously created and abolished, the year of creation || 1910
+
| if ward previously created and abolished, the year of creation || 1910
 
|-
 
|-
 
! abolished2
 
! abolished2
| if constituency previously created and abolished, the year of abolition || 1940
+
| if ward previously created and abolished, the year of abolition || 1940
 
|-
 
|-
 
! type2
 
! type2
| if previous constituency was of a different type to the current constituency, set this to either "County", "Borough" or "Burgh" ||
+
| if previous ward was of a different type to the current ward, set this to either "County", "Borough" or "Burgh" ||
 
|-
 
|-
 
! previous2
 
! previous2
| if constituency previously created and abolished, what constituencies were abolished to create it ||
+
| if ward previously created and abolished, what constituencies were abolished to create it ||
 
|-
 
|-
 
! next2
 
! next2
| if constituency previously created and abolished, what constituencies were created when it was abolished || <nowiki>[[Rayleigh (UK Parliament constituency)|Rayleigh]]</nowiki>
+
| if ward previously created and abolished, what constituencies were created when it was abolished || <nowiki>[[Rayleigh (UK Parliament ward)|Rayleigh]]</nowiki>
 
|-
 
|-
 
! elects_howmany2
 
! elects_howmany2
 
| How many MPs are elected (for old multiple-member constituencies). || two
 
| How many MPs are elected (for old multiple-member constituencies). || two
 
|-
 
|-
! colspan="3" style="background: #7cf; color: #000;" | Overlaps with these areas (if constituency is active)   
+
! colspan="3" style="background: #7cf; color: #000;" | Overlaps with these areas (if ward is active)   
 
|-
 
|-
 
! region
 
! region
Line 232: Line 232:
 
|-
 
|-
 
! towns
 
! towns
| major population centers associated with constituency, if any || <nowiki>[[Rayleigh]]</nowiki>
+
| major population centers associated with ward, if any || <nowiki>[[Rayleigh]]</nowiki>
 
|-
 
|-
 
! westminster
 
! westminster
| Constituency in the UK Parliament (for when parliament is not "uk") ||
+
| ward in the UK Parliament (for when parliament is not "uk") ||
 
|-
 
|-
 
! european
 
! european

Revision as of 21:28, 10 April 2018

Usage

Template:Parameter names example

See also Template:Infobox London ward/testcases

Blank example for current constituencies:

{{Infobox UK constituency
 |name        = 
 |council     = 
 |map1        = 
 |map2        = 
 |map_entity  = 
 |map_year    = 
 |year        = 
 |abolished   = 
 |previous    = 
 |next        = 
 |electorate  = 
 |councillor1 = 
 |councillor2 = 
 |councillor3 = 
 |party1      = 
 |party2      = 
 |party3      = 
 |region      = England
 |county      = Greater London
 |european    = London
}}

Blank example for abolished constituencies:

{{Infobox UK constituency
 |name        = 
 |council     = 
 |map1        = 
 |map2        = 
 |map_entity  = 
 |map_year    = 
 |year        = 
 |abolished   = 
 |previous    = 
 |next5       = <!-- This next5 field is for where the seat has during its lifetime spawned a new seat within its territory and is described accordingly. -->
 |next        = 
 |region      = England
 |county      = 
}}

All parameters

{{Infobox UK constituency
 |name        = 
 |council     = 

 |image       = 
 |caption     = 
 |image2      = 
 |caption2    = 
 
 |map1        = 
 |map2        = 
 |map_entity  = 
 |map_year    = 
 |map_size    = 
 
 |year        = 
 |abolished   = 
 |type        = 
 |previous    = 
 |next5       =
 |next        = 
 |elects_howmany = 

 |year2       = 
 |abolished2  = 
 |type2       = 
 |previous2   = 
 |next2       = 
 |elects_howmany2 = 

 |year3       = 
 |abolished3  = 
 |type3       = 
 |previous3   = 
 |next3       = 
 |elects_howmany3 = 

 |population  = 
 |electorate  = 
 |councillor1 = 
 |councillor2 = 
 |councillor3 = 
 |party1      = 
 |party2      = 
 |party3      = 

 |region      = 
 |county      = 
 |towns       = 

 |westminster = 
 |european    = 
}}

Explanation

parameter name description example
Information about ward
name name of ward South Croydon
council set to name of london borough which contains the ward Croydon
year year of first election where this boundary was used 2018
previous link(s) to wards abolished by this one (to aid navigation) Croham, Selsdon and Ballards
Image
image image, e.g.: map of region (or use "map1") [[Image:....|200px|alt=Map of ward]]
caption caption for image Boundary of South Croydon in the 2018 election, shown within Croydon
image2 image, e.g.: a second map (or use "map2") [[Image:....|200px|alt=Map]]
caption2 caption of second image Location of Croydon within Greater London
image3 image, e.g.: a third map [[Image:....|200px|alt=Another map]]
caption3 caption of second image Location of Greater London within England
... or use the default map images
map1 Part of map image (like that for "UK ward infobox"). Use instead of image and image2 to fill in captions automatically BlackleyBroughton2007
map2 Part of second map image (like that for "UK ward infobox") EnglandGreaterLondon
map_entity Region shown in map1 Greater London
map_year Year of boundary shown in maps 2010
map_size Size of map 120px
If ward is currently active
electorate the electorate of ward 47,000 (in 2010)
population the population of ward. You may want to use electorate instread: population is hard to find. 47,000 (in 2010)
councillor1 name of 1st current Councillor (defaults to "None") Maria Gatland
councillor2 name of 2nd current Councillor Michael Neal
councillor3 name of 3rd current Councillor Jason Perry
party1 party of 1st Councillor Conservative Party (UK)
party2 party of 2nd Councillor Conservative Party (UK)
party3 party of 3rd Councillor Conservative Party (UK)
If ward is not longer active
abolished year ward was abolished. Leave blank if ward is currently being used.
next link to constituencies created when this was abolished (to aid navigation)
next5 link to any directly related ('offspring') constituencies (if applicable) created at any other time during its lifetime (to aid navigation)
elects_howmany How many MPs are elected (for old multiple-member constituencies). two
Information about previous ward, which has been abolished in the past
year2 if ward previously created and abolished, the year of creation 1910
abolished2 if ward previously created and abolished, the year of abolition 1940
type2 if previous ward was of a different type to the current ward, set this to either "County", "Borough" or "Burgh"
previous2 if ward previously created and abolished, what constituencies were abolished to create it
next2 if ward previously created and abolished, what constituencies were created when it was abolished [[Rayleigh (UK Parliament ward)|Rayleigh]]
elects_howmany2 How many MPs are elected (for old multiple-member constituencies). two
Overlaps with these areas (if ward is active)
region Constituent country: England, Scotland, Northern Ireland or Wales England
county County, District or Subdivision (depending on how region is set) Essex
towns major population centers associated with ward, if any [[Rayleigh]]
westminster ward in the UK Parliament (for when parliament is not "uk")
european European parliament seat East of England

Microformat

Template:UF-hcard-place