Kigezo:Infobox settlement
![]() | This template employs intricate features of template syntax. You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the local /sandbox or your user space before changing anything here. |
UsageEdit
- Important: Please enter all numeric values in a raw, unformatted fashion. References are to be included in their respective section footnotes field. Numeric values that are not "raw" may create an "Expression error". Raw values will be automatically formatted by the template. If you find a raw value is not formatted in your usage of the template, please post a notice on the discussion page for this template.
- Empty Syntax
For questions see the talk page.
Sehemu fupi ya kigezo inayoweza kutumiwa kwenye swwiki
{{Infobox Settlement |jina_rasmi = |picha_ya_mji = |pushpin_map = |pushpin_map_caption = |settlement_type = |subdivision_type = |subdivision_name = |subdivision_type1 = |subdivision_name1 = |subdivision_type2 = |subdivision_name2 = |wakazi_kwa_ujumla = |latd= |latm= |lats= |latNS= |longd= |longm= |longs= |longEW= |website = }}
{{Infobox settlement <!--See the Table at Infobox Settlement for all fields and descriptions of usage--> <!-- Basic info ----------------> |jina_rasmi = |other_name = |native_name = <!-- for cities whose native name is not in English --> |nickname = |settlement_type = <!--For Town or Village (Leave blank for the default City)--> |motto = <!-- images and maps -----------> |picha_ya_mji = |imagesize = |maelezo_ya_picha = |picha_ya_bendera = |ukubwa_ya_bendera = |picha_ya_nembo = |ukubwa_ya_nembo = |picha_ya_ngao = |shield_size = |image_map = |mapsize = |map_caption = |image_map1 = |mapsize1 = |map_caption1 = |image_dot_map = |dot_mapsize = |dot_map_caption = |dot_x = |dot_y = |pushpin_map = <!-- the name of a location map as per http://en.wikipedia.org/wiki/Template:Location_map --> |pushpin_label_position = <!-- the position of the pushpin label: left, right, top, bottom, none --> |pushpin_map_caption = |pushpin_mapsize = <!-- Location ------------------> |subdivision_type = <!--Country--> |subdivision_name = <!--the name of the country--> |subdivision_type1 = |subdivision_name1 = |subdivision_type2 = |subdivision_name2 = |subdivision_type3 = |subdivision_name3 = |subdivision_type4 = |subdivision_name4 = <!-- Politics -----------------> |government_footnotes = |government_type = |leader_title = |leader_name = |leader_title1 = <!-- for places with, say, both a mayor and a city manager --> |leader_name1 = |leader_title2 = |leader_name2 = |established_title = <!-- Settled --> |established_date = <!-- Eneo ---------------------> |area_magnitude = |area_total_km2 = |area_land_km2 = |area_water_km2 = <!-- Population -----------------------> |population_as_of = |population_footnotes = |population_note = |wakazi_kwa_ujumla = |population_density_km2 = <!-- General information ---------------> |latd= |latm= |lats= |latNS= |longd= |longm= |longs= |longEW= |elevation_footnotes = <!--for references: use <ref> </ref> tags--> |elevation_m = <!-- Area/postal codes & others --------> |postal_code = |area_code = |website = |footnotes = }}
TableEdit
This table is still under construction.
Name and mottoEdit | ||
Field Name | Usage | Description |
official_name | required | The official name in English |
other_name | optional | For places with a former or more common name like Bombay or Saigon |
native_name | optional | This will display under the official name in parentheses as such: Warsaw (Warszawa) |
settlement_type | optional | Any type of settlement can be entered, such as towns or villages (Leave blank for the default—City). Examples: see Town, Village, Hamlet, Governorate, Reservation. |
nickname | optional | For a well known nickname(s). |
motto | optional | Will place the motto under the nicknames |
Images and mapsEdit | ||
These variables are only used for generating categories for this article | ||
Field Name | Usage | Description |
image_skyline | optional | Despite the name it can be any image that an editor wishes. Default size will be 250px |
imagesize | optional | Can be used to tweak the size of the image_skyline up or down. This can can helpful if an editor want to make the infobox wider. |
image_caption | optional | Will place a caption under the image_skyline (if present) |
image_flag | optional | Used for a flag. Default size:100px |
flag_size | optional | Can be used to tweak the size of the image_flag up or down from 100px as desired. |
flag_link | optional | |
image_seal | optional | If the place has an official seal. |
seal_link | optional | |
seal_size | optional | |
image_shield | optional | Can be used for a place with a coat of arms. |
shield_link | optional | Can be used if a wiki article if known but is not automatically linked by the template. See Coquitlam, British Columbia's infobox for an example. |
shield_size | optional | |
image_map | optional | |
mapsize | optional | |
map_caption | optional | |
image_map1 | optional | A secondary map image. The field image_map must be filled in first. Example see: Bloomsburg, Pennsylvania. |
mapsize1 | optional | |
map_caption1 | optional | |
image_dot_map | optional | A field for manually superimposing a dot over a blank map using an "X" & "Y" system. Blank maps, if available, can be found over at Wikimedia Commons. Example see: Rainbow Lake, Alberta |
dot_mapsize | optional | To change the dot map size; default is 180px. |
dot_map_caption | optional | For placing a caption under the dot map. |
dot_x dot_y |
optional | For manually superimposing the dot left/right and up/down on the map. |
pushpin_map | optional | The name of a location map as per Template:Location map (eg. Indonesia or Russia). The coordinate fields (eg. latd and longd) position a pushpin coordinate marker and label on the map automatically. Example see: Padang, Indonesia |
pushpin_label_position | optional | 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. |
pushpin_mapsize | optional | Must be entered as only a number—no need for px. The default value is 250. |
pushpin_map_caption | optional | Fill out if a different caption from map_caption is desired. |
Government and established informationEdit | ||
Field Name | Usage | Description |
subdivision_type | optional | This field is almost always "Country". |
subdivision_name | optional | Depends on the subdivision_type |
subdivision_type1 to subdivision_type4 |
optional | Can be State/Province, region, county. |
subdivision_name1 to subdivision_name4 |
optional | |
government_footnotes | optional | If a reference(s) is available this where to put them using the <ref> </ref> tags and possibly the citing format at {{Cite web}} within the ref tags. |
government_type | optional | Example: |
leader_title | optional | First title of the place's leader, e.g. Mayor |
leader_name | optional | |
leader_title1 to leader_title2 |
optional | |
leader_name1 to leader_name2 |
optional | For long lists use {{Collapsible list}}. See Halifax for an example. |
established_title | optional | Example: First settled |
established_date | optional | |
Geographic informationEdit | ||
These fields have dual automatic unit conversion meaning that if only metric values are entered, the imperial values will be automatically converted and vise-versa. If an editor wishes to over-ride the automatic conversion, e.g. if the source gives both metric and imperial or if a range of values is needed, they can should enter both values in their respective fields. | ||
Field Name | Usage | Description |
area_footnotes | optional | If a reference(s) is available this where to put them using the <ref> </ref> tags and possibly the citing format at {{Cite web}} within the ref tags. |
area_magnitude | optional | Area magnitude of total_area in terms of m². Should enter 1 E+6 for area of 1.0 km². See 1 E+6 m² |
area_total_km2 | optional | Total area in square kilometers—abbreviation: km², which is wiki-linked. Value must be entered in raw format, no comms or spaces. Auto-converted to display square miles if area_total_sq_mi is empty. Deprecated name =area_total |
area_land_km2 | optional | Land area in square kilometers—abbreviation: km². Value must be entered in raw format, no comms or spaces. Auto-converted to display square miles if area_land_sq_mi is empty. Deprecated name =area_land |
area_water_km2 | optional | Water area in square kilometers—abbreviation: km². Value must be entered in raw format, no comms or spaces. Auto-converted to display square miles if area_water_sq_mi is empty. Deprecated name =area_water |
elevation_m | optional | 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, the editor must enter a converted range in the elevation_ft field to over-ride the automatic conversion. Deprecated name =elevation |
latd | optional | Latitude degrees. Can also be used for decimal degrees. |
latm | optional | Latitude minutes |
lats | optional | Latitude seconds |
latNS | optional | Latitude North or South. |
longd | optional | |
longm | optional | |
longs | optional | |
longEW | optional | |
Population informationEdit | ||
The density fields have duel automatic unit conversion meaning that if only metric values are entered, the imperial values will be automatically converted and vise-versa. If an editor wishes to over-ride the automatic conversion, e.g. if the source gives both metric and imperial or if a range of values is needed, they can should enter both values in their respective fields. | ||
Field Name | Usage | Description |
population_as_of | optional | |
population_footnotes | optional | If a reference(s) is available this where to put them using the <ref> </ref> tags and possibly the citing format at {{Cite web}} within the ref tags. |
population_total | optional | |
population_density_km2 | optional | Deprecated name =population_density |
population_note | optional | A place for additional infomation such as the name of the source. See Windsor, Ontario for example. |
Other informationEdit | ||
Field Name | Usage | Description |
postal_code_type | optional | |
postal_code | optional | |
area_code | optional | |
footnotes | optional | |
website | optional |
MicroformatEdit
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. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. 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, use {{Start date}}.
hCard uses HTML classes including:
- adr
- agent
- category
- county-name
- extended-address
- fn
- label
- locality
- nickname
- note
- org
- region
- street-address
- vcard
Geo is produced by calling {{coord}}, and uses HTML classes:
- geo
- latitude
- longitude
Please do not rename or remove these classes; nor collapse nested elements which use them.
When giving coordinates, please don't be overly precise.