Template:Infobox City in Afghanistan/doc

From Wikipedia, the free encyclopedia

This is a documentation subpage for Template:Infobox City in Afghanistan (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

[edit] Usage

Coordinates: 34°31′59″N 69°09′58″E / 34.533, 69.166

Kabul
کابل
The Friday Mosque in Herāt
The Friday Mosque in Herāt

Kabul

Province Kabul
Coordinates 34°31′59″N 69°09′58″E / 34.533, 69.166
Population  (2005)
 - Density
 - Metro Area (2006)
2,994,000 (2nd)
9,294 /km² (24,071 /sq mi)
20.8 million
City Districts Shahr-e Naw
 • Sherpur
 • Macro Ryans
 • Wazir Akbar Khan
 • Khair Khana
 • Klola Pushta
 • Kartey Naw
 • Kartey 3 & 4
 • Darul-Aman
 • Chehlstoon
Area
 - Elevation
 - Districts
1,483 km² (573 sq mi)
239 m (784 ft)
9
Time zone UTC+4:30 Kabul
Mayor Rohullah Aman
Chief of Police Asmatullah Dawlatzai
{{Template:Infobox Afghan City
|official_name =Kabul
|native_name   =کابل
|province_name =Kabul

|image          = Herat_Friday_Mosque.jpg
|image_size     = 250px
|image_caption  = The Friday Mosque in Herāt

|latd          = 34.533
|longd         = 69.166

|districts=Shahr-e Naw<br />&nbsp;•&nbsp;Sherpur<br />...

| population_total       = 2994000| population_as_of       = 2005

| population_metro       = 20.8 million
| population_metro_as_of = 2006
| population_rank        = 2nd
| population_density_km2     = 9294

| area_total_km2             = 1483
| elevation_m               = 239
| numdistricts           = 9
| leader_title   = [[Mayor]]
| leader_name    = Rohullah Aman
| leader_title_2 = [[Chief of Police]]
| leader_name_2  = Asmatullah Dawlatzai

| footnote       =
}}

[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.