Template:Infobox constituency/doc

This template is used to provide an infobox for electoral districts.

Basic Version
This is a basic version of the template that is suitable for general use; most optional parameters have been removed.

Full Blank Template
This is the full version of the template with all its optional parameters displayed.

TemplateData
{	"params": { "name": { "description": "The name of the electoral district", "type": "string", "required": true },		"abolished": { "description": "The year the constituency was abolished. If the parameter is used, the infobox header will include the word 'Former'. ", "type": "number" },		"type": { "description": "The type of electoral district", "suggested": true },		"parl_name": { "description": "The wikilink of the parliament name", "suggested": true, "label": "Parliament name", "example": "Parliament of Singapore, Legisltive Council of Hong Kong" },		"map1": { "description": "Filename of map ending with Constituency.svg", "type": "string", "suggested": true, "label": "Map name 1", "example": "typing 'XXX' generates " },		"map_size": { "description": "The map size in pixels", "label": "Map size", "example": "240, 240px" },		"image": { "description": "Full filename of a map image", "type": "wiki-file-name", "label": "Image 1", "example": "Image:XXX-constituency.png" },		"image_size": { "description": "The map image size in pixels", "label": "Image size", "example": "240, 240px" },		"map_entity": { "description": "The location of a specified entity on a map", "type": "string", "label": "Map entity" },		"map_year": { "description": "The year of the general election in which the map boundaries were drawn", "type": "number", "label": "Map year" },		"caption": { "description": "Caption for map/image 1", "label": "Caption 1" },		"map2": { "label": "Map name 2", "description": "Filename of map ending with .svg", "type": "string", "example": "typing 'XXX' generates " },		"image2": { "label": "Image 2", "description": "Full filename of a map image", "type": "wiki-file-name", "example": "Image:XXX-constituency.png" },		"region": { "description": "The region, state or province in which the constituency is located at. " },		"caption2": { "label": "Caption 2", "description": "Caption for map/image 2" },		"map3": { "label": "Map name 3", "description": "Filename of map ending with .svg", "type": "string", "example": "typing 'XXX' generates " },		"image3": { "label": "Image 3", "description": "Full filename of a map image", "type": "wiki-file-name", "example": "Image:XXX-constituency.png" },		"caption3": { "label": "Caption 3", "description": "Caption for map/image 3" },		"map4": { "label": "Map name 4", "description": "Filename of map", "type": "string", "example": "typing 'XXX' generates " },		"image4": { "label": "Image 4", "description": "Full filename of a map image", "type": "wiki-file-name", "example": "Image:XXX-constituency.png" },		"caption4": { "label": "Caption 4", "description": "Caption for map/image 4" },		"district_label": { "label": "District label", "description": "Label for the district parameter, otherwise shows as 'District'. " },		"district": { "description": "The district(s) in which the constituency is located at. " },		"region_label": { "description": "Label for the region parameter, otherwise shows as 'Region'. ", "label": "Region label" },		"polling_divisions": { "label": "Polling divisions", "description": "Name of the polling divisions" },		"population": { "description": "The total population within the constituency. ", "type": "number" },		"electorate": { "description": "The number of eligible voters within the constituency. ", "suggested": true, "type": "number" },		"towns": { "description": "Major settlements near the constituency", "label": "Major settlements" },		"future": { "description": "If set to any value, the sub-header will display as 'Future constituency'. ", "label": "Future?" },		"year": { "description": "The year the constituency was first established.", "type": "number" },		"abolished_label": { "description": "Label for the abolished parameter, otherwise shows as 'Abolished'. ", "label": "Abolished label" },		"seats": { "description": "(replaces Number of members) The number of seats in Parliament represented by the constituency. ", "suggested": true, "label": "Seats", "type": "number" },		"party_label": { "description": "Label for the party parameter, otherwise shows as 'Party'. ", "label": "Party label" },		"party": { "description": "The governing party of the electoral district.", "suggested": true, "label": "Party" },		"member_label": { "aliases": [ "members_label" ],			"description": "Label for the members parameter, otherwise shows as 'Member(s)'.", "label": "Member(s) label" },		"member": { "aliases": [ "members" ],			"description": "The number of people governing the constituency.", "label": "Member(s)" },		"local_council_label": { "description": "Label for the local_council parameter, otherwise shows as 'Local council'. ", "label": "Local council label" },		"local_council": { "description": "The name of the local council or office in charge of the constituency. ", "label": "Local council" },		"parts_label": { "label": "Subdivisions label", "description": "Label for the parts parameter, otherwise shows as 'Subdivisions'. " },		"parts": { "label": "Subdivisions", "description": "Name of subdivisions" },		"previous": { "description": "The name of the previous electoral district in which the current electoral district was carved out or merged from. ", "label": "Created from" },		"next": { "description": "The name of the new electoral district carved out or merged from the current electoral district.", "label": "Replaced by" },		"blank1_name": { "description": "Label for extra parameter 1", "label": "Extra parameter 1 label" },		"blank1_info": { "description": "Extra parameter 1", "label": "Extra parameter 1" },		"blank2_name": { "description": "Label for extra parameter 2", "label": "Extra parameter 2 label" },		"blank2_info": { "description": "Extra parameter 2", "label": "Extra parameter 2" },		"blank3_name": { "description": "Label for extra parameter 3", "label": "Extra parameter 3 label" },		"blank3_info": { "description": "Extra parameter 3", "label": "Extra parameter 4" },		"blank4_name": { "description": "Label for extra parameter 4", "label": "Extra parameter 4 label" },		"blank4_info": { "description": "Extra parameter 4", "label": "Extra parameter 4" },		"blank5_name": { "description": "Label for extra parameter 5", "label": "Extra parameter 5 label" },		"blank5_info": { "label": "Extra parameter 5", "description": "Extra parameter 5" },		"constituency_type": { "description": "Label/type for the constituency parameter, otherwise shows as 'constituency'. ", "label": "Constituency type" },		"constituency_link": { "description": "The wikilink of the constituency", "label": "Constitutency wikilink" },		"elects_howmany": { "label": "Number of members", "description": "The number of people elected to Parliament by the constitutency.", "type": "number" },		"area": { "description": "The area of the constituency", "example": "100 square kilometres" },		"nativename": { "label": "Native name", "description": "The native name of the constitutency" }	},	"paramOrder": [ "name", "nativename", "type", "constituency_type", "constituency_link", "parl_name", "map1", "map2", "map3", "map4", "map_size", "map_entity", "map_year", "image", "image2", "image3", "image4", "image_size", "caption", "caption2", "caption3", "caption4", "district_label", "district", "region_label", "region", "polling_divisions", "population", "electorate", "towns", "area", "future", "year", "abolished_label", "abolished", "elects_howmany", "seats", "party_label", "party", "member_label", "member", "local_council_label", "local_council", "parts_label", "parts", "previous", "next", "blank1_name", "blank1_info", "blank2_name", "blank2_info", "blank3_name", "blank3_info", "blank4_name", "blank4_info", "blank5_name", "blank5_info" ] }