Template:Infobox Scotland ward/doc: Difference between revisions

From The Global Wiki
Jump to navigation Jump to search
en>Stevie fae Scotland
No edit summary
 
m (1 revision imported)
 
(No difference)

Latest revision as of 01:26, 18 January 2023

Usage

Blank example for current ward:

{{Infobox Scotland ward
 |name        = 
 |council     = 
 |map1        = 
 |map2        = 
 |map_entity  = 
 |map_year    = 
 |year        = 
 |abolished   = 
 |previous    = 
 |next        = 
 |electorate  = 
 |councillor1 = 
 |councillor2 = 
 |councillor3 = 
 |councillor4 = 
 |councillor5 = 
 |party1      = 
 |party2      = 
 |party3      = 
 |party4      = 
 |party5      = 
}}

Blank example for abolished ward:

{{Infobox Scotland ward
 |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        = 
}}

All parameters

{{Infobox Scotland ward
 |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       = 

 |scot_parl   = 
 |scot_parl2  = 
 |scot_region = 
 |westminster = 
 |westminster2= 
}}

Explanation

parameter name description example
Information about ward
name name of ward Ballochmyle
council set to short name of council ie Glasgow for Glasgow City Council East Ayrshire
year year of first election where this boundary was used 2007
previous link(s) to wards abolished by this one (to aid navigation) [[Mauchline (ward)|Mauchline]]
Image
image image, e.g.: map of region (or use "map1") [[File:....|200px|alt=Map of ward]]
caption caption for image Boundary of Ballochmyle in East Ayrshire from 2007–2017
image2 image, e.g.: a second map (or use "map2") [[File:....|200px|alt=Map]]
caption2 caption of second image Location of East Ayrshire within Scotland
image3 image, e.g.: a third map [[File:....|200px|alt=Another map]]
caption3 caption of second image
... 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 Ballochmyle.svg
map2 Part of second map image (like that for "UK ward infobox") East Ayrshire in Scotland.svg
map_entity Region shown in map1 East Ayrshire
map_year Year of boundary shown in maps 2007–2017
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. 47,000 (in 2010)
councillor1 name of 1st current Councillor (defaults to "None") Claire Leitch
councillor2 name of 2nd current Councillor Linda Holland
councillor3 name of 3rd current Councillor Alyson Simmons
councillor4 name of 4th current Councillor William Lennox
party1 party of 1st Councillor Scottish National Party
party2 party of 2nd Councillor Scottish Labour Party
party3 party of 3rd Councillor Scottish Conservative and Unionist Party
party4 party of 4th Councillor Scottish National Party
If ward is not longer active
abolished year ward was abolished. Leave blank if ward is currently being used.
next link to wards created when this was abolished (to aid navigation)
next5 link to any directly related ('offspring') wards (if applicable) created at any other time during its lifetime (to aid navigation)
elects_howmany How many councillors are elected (for old multiple-member wards). four
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
previous2 if ward previously created and abolished, what wards were abolished to create it
next2 if ward previously created and abolished, what wards were created when it was abolished
elects_howmany2 How many councillors were elected (for old multiple-member wards). one
Overlaps with these areas (if ward is active)
towns major population centers associated with ward, if any [[Mauchline]]
scot_parl Scottish Parliament constituency Carrick, Cumnock and Doon Valley
scot_parl2 Second Scottish Parliament constituency, if needed
scot_region Scottish Parliament electoral region South Scotland
westminster UK Parliament constituency Kilmarnock and Loudon
westminster2 Second UK Parliament constituency if needed Ayr, Carrick and Cumnock

Microformat

The HTML mark up produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. For more information about the use of microformats on Wikipedia, please see the microformat project.

If the place or venue has an "established", "founded", "opened" or similar date that is specific to the day, use {{start date}} unless the date is before 1583 CE. If it has a URL, use {{URL}}.

hCard uses HTML classes including:

  • adr
  • category
  • country-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • street-address
  • url
  • vcard

Please do not rename or remove these classes nor collapse nested elements which use them.