Template:Infobox Russian city/doc

From Wikipedia, the free encyclopedia

[edit] Usage

  • Important: Please enter all numeric values in a raw, unformatted fashion; i.e. no commas or spaces. 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.

[edit] Syntax

{{Infobox Russian city
|EnglishName= Name in English
|RussianName= Name in Russian
|LocalName1= Name in another official language of the federal subject
|LocalName2= ...
|LocalName3= ...
|LocalName4= ...
|OtherName=Name in a language that is not official, but important in the city/town
|LocalLangName1= Name of the language in which LocalName1 is given
|LocalLangName2= ...
|LocalLangName3= ...
|LocalLangName4= ...
|OtherLangName= Name of the language in which OtherName is given
|Skyline= Name of the city/town skyline image
|SkylineLegend= Legend for the skyline image
----All coordinates default to north latitude and east longitude----
|LatDeg=City/town latitude, degrees
|LatMin=City/town latitude, minutes (omit if only degrees are known)
|LatSec=City/town latitude, seconds (omit if only degrees or degrees/minutes are known)
|LonDeg=City/town longitude, degrees
|LonMin=City/town longitude, minutes (omit if only degrees are known)
|LonSec=City/town longitude, seconds (omit if only degrees or degrees/minutes are known)
|LocatorMap= Name of the locator map image.  If no image is supplied, the map is generated automatically.
|LocatorMapLegend= Caption for the locator map.  When no image is supplied, the map caption is generated automatically
|CoatOfArms= Name of the coat of arms image
|Flag= Name of the flag image
|CityDay= Official City Day, as designated by the city
|FederalSubject= Name of the federal subject on the territory of which the city/town is located
|InJurisdictionOf= Name of the entity in jurisdiction of which the city/town belongs
|AdmCtrType= "capital" for capitals of the republics; "administrative center" otherwise.  "Administrative center" is the default value
|AdmCtrOf= Name of the entity which the city/town is the administrative center of
|SelfGovAsOf=date of which the information in the "Local Self-Government" section is current
|Charter= Name of the city/town's Charter
|MunStatus= municipal status ("urban okrug" or "urban settlement")
|LeaderType= Title of the city/town's leader.  "Mayor" is the default value
|LeaderName= Name of the city/town leader.
|Legislature= Name of the city/town's legislative body
|Area_km2= City/town's area in square kilometers (RAW format only—no spaces or commas; will convert to show sq miles)
|Population= City/town's population as of the 2002 Census (RAW format only—no spaces or commas)
|PopulationRank= City/town's population rank within Russia
|FoundationDate= Date on which the city/town was founded
|Event1= Use to describe events such as granting of town status, granting of status of urban-type settlement, demoting to urban-type settlement, demoting to rural settlement, renamings, etc.
|Event2= ...
|Event3= ...
|Event4= ...
|Event5= ...
|Event6= ...
|Event7= ...
|Event8= ...
|Event9= ...
|Event1Date= Date of Event1
|Event2Date= ...
|Event3Date= ...
|Event4Date= ...
|Event5Date= ...
|Event6Date= ...
|Event7Date= ...
|Event8Date= ...
|Event9Date= ...
|AbolishmentDate= Date on which the city/town was abolished.  Note this parameter is only for cases when city/town ceases to exist completely.  Use Event1..Event9 for cases when the city/town is merely demoted in status
|PostalCode= Postal code (range) for the city/town
|DialingCode= Dialing code for the city/town.  No need to specify "+7" for Russia
|DialingCode2= If there is another dialing code, enter it here.  No need to specify "+7" for Russia
|Website= Official website of the city/town
}}

[edit] Microformat

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.

hCard uses HTML classes including:

  • "adr"
  • "county-name"
  • "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.

When giving coordinates, please don't be overly precise.