Template:Infobox Hungarian settlement/doc

Usage


Automatically cited references
If  is specified, a reference called "ksh cite" will be used three times in the template. It should be set up in  in the following form:

In this example replace 33118 with the  for the place and Csomád with the name of the place.

The article must have a template or   tag for this to work.

Ideally this rubber-stamp will be placed into the code, but code limitations in the Wikimedia software means that this is not currently possible (as of January 2010), since template parameters (such as  ) are not elaborated in external references, and must be specified literally.

How to find the KSH code
The KSH code can often be found by hovering over the equivalent article in the Hungarian Wikipedia, or by going to the KSH site for a place (for example, Sülysáp at http://portal.ksh.hu/pls/portal/cp.hnt_telep?NN=21713) and then typing its name in the "Településnév" ("Area name") field at the top. The Hungarian Wikipedia buries the code in subtemplates, so this latter is often the easier route, whether or not you understand Hungarian. As of January 2009, the portal dislikes not being provided with the code of an existing settlement, so it is best to go from one that is known, and search from there.

TemplateData
{	"description": "This is an infobox for storing quick data about settlements of Hungary.", "format": "block", "params": { "name": { "label": "name", "description": "This is the usual name in English. If it's not specified, the infobox will use the 'official_name' as a title unless this too is missing, in which case the page name will be used.", "type": "string", "required": false },		"native_name": { "label": "native_name", "description": "This will display under the name/official name", "type": "string", "required": false },		"official_name": { "label": "official_name", "description": "The official name in English if different from 'name'", "type": "string", "required": false },		"other_name": { "label": "other_name", "description": "For places with a former or more common name like Bombay or Saigon", "type": "string", "required": false },		"settlement_type": { "label": "settlement_type", "description": "Any type can be entered, such as City, Town, Village, Hamlet, Municipality, Reservation, etc. If set, will be displayed under the names, provided that either 'name' or 'official_name' is filled in. Might also be used as a label for total population/area (defaulting to City), if needed to distinguish from Urban, Rural or Metro (if urban, rural or metro figures are not present, the label is Total unless 'total_type' is set).", "type": "string", "required": false },		"image_skyline": { "label": "image_skyline", "description": "Despite the name it can be any image that an editor wishes.", "type": "string", "required": false },		"image_caption": { "label": "image_caption", "description": "Will place a caption under the image_skyline (if present)", "type": "string", "required": false },		"image_shield": { "label": "image_shield", "description": "Can be used for a place with a coat of arms.", "type": "string", "required": false },		"image_seal": { "label": "image_seal", "description": "If the place has an official seal.", "type": "string", "required": false },		"pushpin_label_position": { "label": "pushpin_label_position", "description": "The position of the label on the pushpin map relative to the pushpin coordinate marker. Valid options are {left, right, top, bottom, none}. If this field is not specified, the default value is \"right\".", "type": "string", "required": false },		"county": { "label": "county", "type": "string", "required": true },		"subregion": { "label": "subregion", "type": "string", "required": false },		"district": { "label": "district", "type": "string", "required": false },		"diocese": { "label": "diocese", "type": "string", "required": false },		"rank": { "label": "rank", "type": "string", "required": false },		"mayor": { "label": "leader_name", "description": "Name of the place's mayor", "type": "string", "required": false },		"area_total_km2": { "label": "area_total_km2", "description": "Total area in square kilometers—symbol: km². Value must be entered in raw format, no commas or spaces. Auto-converted to display square miles.", "type": "string", "required": false },		"area_urban_km2": { "label": "area_urban_km2", "type": "number", "required": false },		"area_metro_km2": { "label": "area_metro_km2", "type": "number", "required": false },		"area_magnitude": { "label": "area_magnitude", "description": "Setting this to any non-empty value will create a link to the appropriate order of magnitude of area page (e.g. 1 E+6 m²).", "type": "string", "required": false },		"latd": { "label": "latd", "description": "Latitude degrees. Can also be used for decimal degrees.", "type": "string", "required": false },		"latm": { "label": "latm", "description": "Latitude minutes. Omit or leave blank if 'latd' has a decimal value.", "type": "string", "required": false },		"lats": { "label": "lats", "description": "Latitude seconds. Omit or leave blank if 'latd' has a decimal value.", "type": "string", "required": false },		"longd": { "label": "longd", "description": "Longitude degrees. Can also be used for decimal degrees.", "type": "string", "required": false },		"longm": { "label": "longm", "description": "Longitude minutes. Omit or leave blank if 'longd' has a decimal value.", "type": "string", "required": false },		"longs": { "label": "longs", "description": "Longitude seconds. Omit or leave blank if 'longd' has a decimal value.", "type": "string", "required": false },		"elevation_m": { "label": "elevation_m", "description": "Raw number entered in meters. Will automatically convert to display elevation in feet if elevation_ft is empty. However, if a range in elevation (i.e. 5–50 m ) is desired, use the 'max' and 'min' fields below", "type": "number", "required": false },		"elevation_min_m": { "label": "elevation_min_m", "type": "number", "required": false },		"elevation_max_m": { "label": "elevation_max_m", "type": "number", "required": false },		"population_total": { "label": "population_total", "description": "Actual population (see below for estimates) preferably consisting of digits only (without any commas)", "type": "string", "required": false },		"population_urban": { "label": "population_urban", "type": "string", "required": false },		"population_metro": { "label": "population_metro", "type": "string", "required": false },		"population_as_of": { "label": "population_as_of", "description": "The year for the population total (usually a census year)", "type": "string", "required": false },		"population_footnotes": { "label": "population_footnotes", "description": "Reference(s) for population, placed within tags", "type": "string", "required": false },		"postal_code": { "label": "postal_code", "description": "Postal code/zip code", "type": "string", "required": false },		"area_code": { "label": "area_code", "description": "Telephone area code.", "type": "string", "required": false },		"ksh_code": { "label": "KSH code", "description": "The code of the settlement in the database of the Central Statistical Office (Központi Statisztikai Hivatal)", "type": "number", "required": false },		"footnotes": { "label": "footnotes", "description": "Text to be displayed at the bottom of the infobox.", "type": "string", "required": false },		"website": { "label": "website", "description": "External link to official website, Use the undefined template, thus: example.com", "type": "string", "required": false }	} }