Template:Infobox settlement

From MicroWiki, the micronational encyclopædia
Jump to: navigation, search
{{{official_name}}}

Usage

  • 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.
  • An expression error may also occur when any coordinate parameter has a value, but one or more coordinate parameters are blank or invalid.

Basic blank template, ready to cut and paste. See the next section for a copy of the template with all parameters and comments. See the table below that for a full description of each parameter.

Using metric units

{{Infobox settlement
<!-- See Template:Infobox settlement for additional fields and descriptions -->
| name                    = 
| native_name             = 
| native_name_lang        = <!-- ISO 639-2 code e.g. "fr" for French. If more than one, use {{lang}} instead -->
| settlement_type         = 
| image_skyline           = 
| image_alt               = 
| image_caption           = 
| image_flag              = 
| flag_alt                = 
| image_seal              = 
| seal_alt                = 
| image_shield            = 
| shield_alt              = 
| nickname                = 
| motto                   = 
| image_map               = 
| map_alt                 = 
| map_caption             = 
| pushpin_map             = 
| pushpin_label_position  = 
| pushpin_map_alt         = 
| pushpin_map_caption     = 
| latd  =  |latm  =  |lats  =  |latNS  = 
| longd =  |longm =  |longs =  |longEW = 
| coor_pinpoint           = 
| coordinates_type        = 
| coordinates_display     = inline,title
| coordinates_footnotes   = 
| subdivision_type        = Country
| subdivision_name        = 
| subdivision_type1       = 
| subdivision_name1       = 
| subdivision_type2       = 
| subdivision_name2       = 
| subdivision_type3       = 
| subdivision_name3       = 
| established_title       = 
| established_date        = 
| founder                 = 
| seat_type               = 
| seat                    = 
| government_footnotes    = 
| leader_party            = 
| leader_title            = 
| leader_name             = 
| unit_pref               = Metric<!-- or US or UK -->
| area_footnotes          = 
| area_total_km2          = 
| area_land_km2           = 
| area_water_km2          = 
| area_water_percent      = 
| area_note               = 
| elevation_footnotes     = 
| elevation_m             = 
| population_footnotes    = 
| population_total        = 
| population_as_of        = 
| population_density_km2  = auto
| population_demonym      = 
| population_note         = 
| timezone1               = 
| utc_offset1             = 
| timezone1_DST           = 
| utc_offset1_DST         = 
| postal_code_type        = 
| postal_code             = 
| area_code_type          = 
| area_code               = 
| iso_code                = 
| website                 = <!-- {{URL|example.com}} -->
| footnotes               = 
}}

Using non-metric units

{{Infobox settlement
<!-- See Template:Infobox settlement for additional fields and descriptions -->
| name                    = 
| native_name             = 
| native_name_lang        = <!-- ISO 639-2 code e.g. "fr" for French. If more than one, use {{lang}} instead -->
| settlement_type         = 
| image_skyline           = 
| image_alt               = 
| image_caption           = 
| image_flag              = 
| flag_alt                = 
| image_seal              = 
| seal_alt                = 
| image_shield            = 
| shield_alt              = 
| nickname                = 
| motto                   = 
| image_map               = 
| map_alt                 = 
| map_caption             = 
| pushpin_map             = 
| pushpin_label_position  = 
| pushpin_map_alt         = 
| pushpin_map_caption     = 
| latd  =  |latm  =  |lats  =  |latNS  = 
| longd =  |longm =  |longs =  |longEW = 
| coor_pinpoint           = 
| coordinates_type        = 
| coordinates_display     = inline,title
| coordinates_footnotes   = 
| subdivision_type        = Country
| subdivision_name        = 
| subdivision_type1       = 
| subdivision_name1       = 
| subdivision_type2       = 
| subdivision_name2       = 
| subdivision_type3       = 
| subdivision_name3       = 
| established_title       = 
| established_date        = 
| founder                 = 
| seat_type               = 
| seat                    = 
| government_footnotes    = 
| leader_party            = 
| leader_title            = 
| leader_name             = 
| unit_pref               = US<!-- or UK or Metric -->
| area_footnotes          = 
| area_water_percent      = 
| area_note               = 
| elevation_footnotes     = 
| elevation_ft            = 
| population_footnotes    = 
| population_total        = 
| population_as_of        = 
| population_demonym      = 
| population_note         = 
| timezone1               = 
| utc_offset1             = 
| timezone1_DST           = 
| utc_offset1_DST         = 
| postal_code_type        = 
| postal_code             = 
| area_code_type          = 
| area_code               = 
| iso_code                = 
| website                 = <!-- {{URL|example.com}} -->
| footnotes               = 
}}

Complete empty syntax, with comments

This copy of the template lists all parameters except for some of the repeating numbered parameters which are noted in the comments. Comments here should be brief; see the table below for full descriptions of each parameter.

{{Infobox settlement
<!-- See Template:Infobox settlement for additional fields and descriptions -->
| name                    = <!-- at least one of the first two fields must be filled in -->
| official_name           = 
| native_name             = <!-- if different from the English name -->
| native_name_lang        = <!-- ISO 639-2 code e.g. "fr" for French. If more than one, use {{lang}} instead -->
| other_name              = 
| settlement_type         = <!-- such as Town, Village, City, Borough etc. -->
<!-- transliteration(s) -------->
| translit_lang1          = 
| translit_lang1_type     = 
| translit_lang1_info     = 
| translit_lang1_type1    = 
| translit_lang1_info1    = 
| translit_lang1_type2    = 
| translit_lang1_info2    = <!-- etc., up to translit_lang1_type6 / translit_lang1_info6 -->
| translit_lang2          = 
| translit_lang2_type     = 
| translit_lang2_info     = 
| translit_lang2_type1    = 
| translit_lang2_info1    = 
| translit_lang2_type2    = 
| translit_lang2_info2    = 
| translit_lang2_info2    = <!-- etc., up to translit_lang2_type6 / translit_lang2_info6 -->
<!-- images, nickname, motto --->
| image_skyline           = 
| imagesize               = 
| image_alt               = 
| image_caption           = 
| image                   = <!-- other image (specify File: or File: namespace) -->
| image_flag              = 
| flag_size               = 
| flag_alt                = 
| flag_link               =
| image_seal              = 
| seal_size               = 
| seal_alt                = 
| seal_link               = 
| image_shield            = 
| shield_size             = 
| shield_alt              = 
| shield_link             = 
| image_blank_emblem      = 
| blank_emblem_type       = <!-- defaults to Logo -->
| blank_emblem_size       = 
| blank_emblem_alt        = 
| blank_emblem_link       = 
| nickname                = 
| motto                   = 
| anthem                  = 
<!-- maps and coordinates ------>
| image_map               = 
| mapsize                 = 
| map_alt                 = 
| map_caption             = 
| image_map1              = 
| mapsize1                = 
| map_alt1                = 
| map_caption1            = 
| image_dot_map           = 
| dot_mapsize             = 
| dot_map_base_alt        = 
| dot_map_alt             = 
| dot_map_caption         = 
| dot_x = |dot_y = 
| pushpin_map             = <!-- name of a location map as per Template:Location_map -->
| pushpin_label_position  = <!-- position of the pushpin label: left, right, top, bottom, none -->
| pushpin_label           = <!-- only necessary if "name" or "official_name" are too long -->
| pushpin_map_alt         = 
| pushpin_mapsize         = 
| pushpin_map_caption     =  
| pushpin_map1            = 
| pushpin_label_position1 = 
| pushpin_label1          = <!-- only necessary if "name" or "official_name" are too long -->
| pushpin_map_alt1        = 
| pushpin_mapsize1        = 
| pushpin_map_caption1    = 
| latd  =  |latm  =  |lats  =  |latNS  = 
| longd =  |longm =  |longs =  |longEW = 
| coor_pinpoint           = <!-- to specify exact location of coordinates (was coor_type) -->
| coordinates_region      = <!-- ISO 3166-1 alpha-2 or ISO 3166-2 code for country/region containing the coordinates -->
| coordinates_type        = <!-- parameter list passed to Coord template, overrides coordinates_region -->
| coordinates_display     = inline,title
| coordinates_format      = dms
| coordinates_footnotes   = <!-- for references: use <ref> tags -->
<!-- location ------------------>
| subdivision_type        = Country
| subdivision_name        = <!-- the name of the country -->
| subdivision_type1       = 
| subdivision_name1       = 
| subdivision_type2       = 
| subdivision_name2       = <!-- etc., subdivision_type6 / subdivision_name6 -->
<!-- established --------------->
| established_title       = <!-- Settled -->
| established_date        = 
| established_title1      = <!-- Incorporated (town) -->
| established_date1       = 
| established_title2      = <!-- Incorporated (city) -->
| established_date2       = 
| established_title3      = 
| established_date3       = 
| extinct_title           = 
| extinct_date            = 
| founder                 = 
| named_for               = 
<!-- seat, smaller parts ------->
| seat_type               = <!-- defaults to: Seat -->
| seat                    = 
| parts_type              = <!-- defaults to: Boroughs -->
| parts_style             = <!-- list, coll (collapsed list), para (paragraph format) -->
| parts                   = <!-- parts text, or header for parts list -->
| p1                      = 
| p2                      = <!-- etc., up to p50: for separate parts to be listed-->
<!-- government type, leaders -->
| government_footnotes    = <!-- for references: use <ref> tags -->
| government_type         = 
| governing_body          =
| leader_party            = 
| leader_title            = 
| leader_name             = <!-- add &nbsp; (no-break space) to disable automatic links -->
| leader_title1           = 
| leader_name1            = <!-- etc., up to leader_title4 / leader_name4 -->
<!-- display settings  --------->
| total_type              = <!-- to set a non-standard label for total area and population rows -->
| unit_pref               = <!-- enter: Imperial, to display imperial before metric -->
<!-- area ---------------------->
| area_footnotes          = <!-- for references: use <ref> tags -->
| area_magnitude          = <!-- use only to set a special wikilink -->
| area_total_km2          = <!-- ALL fields with measurements have automatic unit conversion -->
| area_total_dunam        = <!-- used in Middle East articles only -->
| area_land_km2           = 
| area_water_km2          = 
| area_water_percent      = 
| area_urban_footnotes    = <!-- for references: use <ref> tags -->
| area_urban_km2          = 
| area_rural_footnotes    = <!-- for references: use <ref> tags -->
| area_rural_km2          = =
| area_metro_footnotes    = <!-- for references: use <ref> tags -->
| area_metro_km2          = 
| area_rank               = 
| area_blank1_title       = 
| area_blank1_km2         = 
| area_blank2_title       = 
| area_blank2_km2         = 
| area_note               = 
<!-- elevation ----------------->
| elevation_footnotes     = <!-- for references: use <ref> tags -->
| elevation_m             = 
| elevation_ft            = 
| elevation_max_footnotes = <!-- for references: use <ref> tags -->
| elevation_max_m         = 
| elevation_max_ft        = 
| elevation_min_footnotes = <!-- for references: use <ref> tags -->
| elevation_min_m         = 
| elevation_min_ft        = 
<!-- population ---------------->
| population_footnotes    = <!-- for references: use <ref> tags -->
| population_total        = 
| population_as_of        = 
| population_rank         = 
| population_density_km2  = <!-- for automatic calculation of any density field, use: auto -->
| population_est          = 
| pop_est_as_of           = 
| population_urban        = 
| population_density_urban_km2   = 
| population_rural        = 
| population_density_rural_km2   = 
| population_metro        = 
| population_density_metro_km2   = 
| population_density      = 
| population_density_rank = 
| population_blank1_title = 
| population_blank1       = 
| population_density_blank1_km2  = 
| population_blank2_title = 
| population_blank2       = 
| population_density_blank2_km2  = 
| population_demonym      = <!-- demonym, ie. Liverpudlian for someone from Liverpool -->
| population_note         = 
<!-- demographics (section 1) -->
| demographics_type1      = 
| demographics1_footnotes = <!-- for references: use <ref> tags -->
| demographics1_title1    = 
| demographics1_info1     = <!-- etc., up to demographics1_title5 / demographics1_info5 -->
<!-- demographics (section 2) -->
| demographics_type2      = 
| demographics2_footnotes = <!-- for references: use <ref> tags -->
| demographics2_title1    = 
| demographics2_info1     = <!-- etc., up to demographics2_title5 / demographics2_info5 -->
<!-- time zone(s) -------------->
| timezone1               = 
| utc_offset1             = 
| timezone1_DST           = 
| utc_offset1_DST         = 
| timezone2               = 
| utc_offset2             = 
| timezone2_DST           = 
| utc_offset2_DST         = 
<!-- postal codes, area code --->
| postal_code_type        = <!-- enter ZIP code, Postcode, Post code, Postal code... -->
| postal_code             = 
| postal2_code_type       = <!-- enter ZIP code, Postcode, Post code, Postal code... -->
| postal2_code            = 
| area_code_type          = <!-- defaults to: Area code(s) -->
| area_code               = 
| geocode                 =
| iso_code                = 
| registration_plate      =
<!-- twin cities --------------->
| twin1                   = 
| twin1_country           = 
| twin2                   = 
| twin2_country           = <!-- etc., up to twin9 / twin9_country -->
<!-- blank fields (section 1) -->
| blank_name_sec1         = 
| blank_info_sec1         = 
| blank1_name_sec1        = 
| blank1_info_sec1        = 
| blank2_name_sec1        = 
| blank2_info_sec1        = <!-- etc., up to blank7_name_sec1 / blank7_info_sec1 -->
<!-- blank fields (section 2) -->
| blank_name_sec2         = 
| blank_info_sec2         = 
| blank1_name_sec2        = 
| blank1_info_sec2        = 
| blank2_name_sec2        = 
| blank2_info_sec2        = <!-- etc., up to blank7_name_sec2 / blank7_info_sec2 -->
<!-- website, footnotes -------->
| website                 = <!-- {{URL|example.com}} -->
| footnotes               = 
}}