Template:Infobox Province TR
| Infobox Province TR Province | |
|---|---|
| — Province of Turkey — | |
| [[File:{{{map}}}|300px|none|alt=|Location of Infobox Province TR Province in Turkey]]Location of Infobox Province TR Province in Turkey | |
| Country | Turkey |
| Region | [[{{{region}}} Region, Turkey|{{{region}}}]] |
| Capital | {{{seat}}} |
| Largest City | {{{largest_city}}} |
| Districts | {{{p1}}}, {{{p2}}}, {{{p3}}}, {{{p4}}}, {{{p5}}}, {{{p6}}}, {{{p7}}}, {{{p8}}}, {{{p9}}}, {{{p10}}}, {{{p11}}}, {{{p12}}}, {{{p13}}}, {{{p14}}}, {{{p15}}} |
| Government | |
| • Governor | {{{governor}}} |
| Population (2010-12-31)[1] | |
| • Urban{{{upop_ref}}} ({{{upop_as_of}}}) | {{{urban population}}} |
| • Rural{{{rpop_ref}}} ({{{rpop_as_of}}}) | {{{rural population}}} |
| Area code(s) | 0{{{area_code}}} |
| Vehicle registration | {{{licence}}} |
| Website | {{{name}}}.gov.tr |
| This template is a customized wrapper for {{Infobox settlement}}. Any field from {{Infobox settlement}} can work so long as it is added to this template first. It will also emit the same hCard and Geo microformats as {{Infobox settlement}}. Questions? Just ask here or over at Template talk:Infobox settlement. |
Contents |
[edit] Example usage
| Izmir Province | |
|---|---|
| — Province of Turkey — | |
| Location of Izmir Province in Turkey | |
| Country | Turkey |
| Region | Aegean |
| Capital | Izmir |
| Government | |
| • Governor | Mustafa Cahit Kıraç |
| Area | |
| • Total | 11,973 km2 (4,623 sq mi) |
| Population (2010-12-31)[2] | |
| • Total | 3,769,000 |
| • Density | 310/km2 (820/sq mi) |
| Area code(s) | 0232 |
| Vehicle registration | 35 |
| Website | izmir.gov.tr |
The wikicode below will create the infobox to the right:
{{Infobox Province TR
|name = Izmir
|map = Izmir in Turkey.svg
|region = Aegean
|area = 11,973
|total population = 3,769,000
|tpop_as_of = 2007
|licence = 35
|area_code = 232
|governor = Mustafa Cahit Kıraç
|website = [http://www.izmir.gov.tr/ izmir.gov.tr]
}}
- Notes
- name= (Name of the province-without "Province" word)
- map= Name of file
- turkname= If different than Name.(Name of the province-without "Province" word) with Turkish letters
- region = region of X(Aegean,Black Sea, Central Anatolia, Eastern Anatolia, Marmara, Mediterranean, Southeastern Anatolia)
- area= Area of the province (in km2-without "km2")
- total population= (Total population of the province-only numbers, ie;3,500,000)
- popdens= (Population density of province; "Total Pop/area"-two decimal digits)
- tpop_ref= (Reference of Total population)
- tpop_as_of= (Census year of Total population, ie;2005)
- urban population= (Urban population of the province-only numbers, ie;3,500,000)
- upop_ref= (Reference of Urban population)
- upop_as_of= (Census year of Urban population, ie;2005)
- rural population= (Rural-district population of the province-only numbers, ie;3,500,000)
- rpop_ref= (Reference of Rural population)
- rpop_as_of= (Census year of Rural population, ie;2005)
- licence= (Plate licence code of the province-only numbers)
- area_code= (Area code-call prefix- of the province-only numbers, ex; 212)
- governor= (Name and Surname of the Governor of the province)
- website= (Web address of the Governorate of the province;ex; "http://www.ankara.gov.tr")
[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.
[edit] Sub-templates
If the place or venue has an "established", "founded", "opened" or similar date, use {{Start date}} (unless the date is before 1583 CE).
If it has a URL, use {{URL}}.
Please do not remove instances of these sub-templates.
[edit] Classes
hCard uses HTML classes including:
- adr
- agent
- category
- county-name
- extended-address
- fn
- label
- locality
- nickname
- note
- org
- region
- street-address
- url
- 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.
[edit] Precision
When giving coordinates, please don't be overly precise.
References
- ^ Turkish Statistical Institute, MS Excel document – Population of province/district centers and towns/villages and population growth rate by provinces
- ^ Turkish Statistical Institute, MS Excel document – Population of province/district centers and towns/villages and population growth rate by provinces
| The above documentation is transcluded from Template:Infobox Province TR/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |
References
- ^ Turkish Statistical Institute, MS Excel document – Population of province/district centers and towns/villages and population growth rate by provinces
- ^ Turkish Statistical Institute, MS Excel document – Population of province/district centers and towns/villages and population growth rate by provinces