Template:Infobox Malaysia electoral district/sandbox

This is a work-in-progress proposal for a migration to an updated infobox based on infobox constituency.

{	"params": { "name": { "label": "Name", "description": "The name of constituency.", "type": "string", "default": "", "suggested": true },		"type": { "label": "Legislature", "description": "Legislature to which a member is elected from this constituency. Overrides 'fed-status' and 'state'.", "type": "content", "suggestedvalues": [ "Dewan Rakyat", "Johor State Legislative Assembly", "Kedah State Legislative Assembly", "Kelantan State Legislative Assembly", "Malacca State Legislative Assembly", "Negeri Sembilan State Legislative Assembly", "Pahang State Legislative Assembly", "Penang State Legislative Assembly", "Perak State Legislative Assembly", "Perlis State Legislative Assembly", "Sabah State Legislative Assembly", "Sarawak State Legislative Assembly", "Council Negri", "Selangor State Legislative Assembly", "Legislative Assembly of Singapore", "Terengganu State Legislative Assembly" ],			"suggested": true },		"fed-status": { "label": "Federal constituency?", "description": "Insert any string to indicate that this is a constituency of the Dewan Rakyat.", "example": "yes", "type": "boolean", "deprecated": "Use '|type=Dewan Rakyat' instead." },		"state": { "aliases": [ "territory" ],			"label": "State or territory", "description": "State or territory in which this constituency is located. Required if 'type' and 'fed-status' are not set.", "type": "string", "suggestedvalues": [ "Johor", "Kedah", "Kelantan", "Malacca", "Negeri Sembilan", "Pahang", "Penang", "Perak", "Perlis", "Sabah", "Sarawak", "Selangor", "Singapore", "Terengganu" ],			"deprecated": "Use 'type' instead." },		"map1": { "description": "Passed through to . Filename of the map ending in \"-Constituency.svg\". \"-Constituency.svg\" will automatically be appended to whatever value is provided here.", "label": "Constituency map", "type": "string" },		"map_size": { "description": "Passed through to . The display dimensions of all maps, in pixels.", "label": "Map size", "type": "string" },		"image": { "description": "Passed through to .", "aliases": [ "imagemap" ]		},		"image_size": { "description": "Passed through to ." },		"map_entity": { "description": "Passed through to ." },		"map_year": { "description": "Passed through to ." },		"caption": { "description": "Passed through to ." },		"map2": { "description": "Passed through to ." },		"image2": { "description": "Passed through to ." },		"caption2": { "description": "Passed through to ." },		"map3": { "description": "Passed through to ." },		"image3": { "description": "Passed through to ." },		"caption3": { "description": "Passed through to ." },		"map4": { "description": "Passed through to ." },		"image4": { "description": "Passed through to ." },		"caption4": { "description": "Passed through to ." },		"population": { "description": "Passed through to and overrides 'demo-pop', 'demo-census-date' and 'demo-pop-ref'. Population of the constituency, including non-electors.", "label": "Population", "type": "content" },		"demo-pop": { "label": "Population", "description": "Population of the constituency, including non-electors.", "type": "number" },		"demo-census-date": { "label": "Population census year", "description": "Year in which the population in 'demo-pop' was counted.", "type": "number" },		"demo-pop-ref": { "label": "Population reference", "description": "Citation for the population value.", "type": "content" },		"electorate": { "description": "Passed through to ." },		"demo-electors": {}, "demo-electors-date": {}, "demo-electors-ref": {}, "area": { "description": "Passed through to ." },		"demo-area": {}, "demo-area-ref": {}, "future": { "description": "Passed through to ." },		"year": { "aliases": [ "fed-created", "state-created" ],			"label": "Year created", "description": "Passed through to .", "type": "number" },		"abolished_label": { "description": "Passed through to ." },		"abolished": { "aliases": [ "fed-abolished", "state-abolished" ],			"label": "Year abolished", "description": "Year this constituency was abolished.", "type": "number" },		"members_label": { "description": "Passed through to ." },		"members": { "aliases": [ "fed-rep", "state-rep" ],			"type": "string" },		"seats": { "description": "Passed through to .", "type": "number", "default": "1", "autovalue": "1" },		"party_label": { "description": "Passed through to ." },		"party": { "aliases": [ "fed-rep-party", "state-rep-party" ]		},		"local_council_label": { "description": "Passed through to ." },		"local_council": { "description": "Passed through to ." },		"next": { "description": "Passed through to ." },		"previous": { "description": "Passed through to ." }	},	"description": "Temporary wrapper template for for electoral constituencies in Malaysia. To migrate, substitute and clean up any parser functions.", "paramOrder": [ "name", "type", "fed-status", "state", "map1", "map_size", "image", "image_size", "map_entity", "map_year", "caption", "map2", "image2", "caption2", "map3", "image3", "caption3", "map4", "image4", "caption4", "population", "demo-pop", "demo-census-date", "demo-pop-ref", "electorate", "demo-electors", "demo-electors-date", "demo-electors-ref", "area", "demo-area", "demo-area-ref", "future", "year", "abolished_label", "abolished", "members_label", "members", "seats", "party_label", "party", "local_council_label", "local_council", "next", "previous" ],	"format": "block" }