Difference between revisions of "Template:Districts of Turkey"

From blackwiki
Jump to navigation Jump to search
imported>Mttll
imported>Mttll
Line 8: Line 8:
 
   | "{{{provname}}} Province" = [[{{{provname}}} Province]]
 
   | "{{{provname}}} Province" = [[{{{provname}}} Province]]
 
   | #default = {{PAGENAME}} in [[{{{provname}}} Province]]
 
   | #default = {{PAGENAME}} in [[{{{provname}}} Province]]
}} (in the {{region of Turkey|provname={{{provname}}}}} region) of [[Turkey]] </div>
+
}}
| image = {{#switch: "{{region of Turkey|provname={{{provname}}}}}"
 
  | "Istanbul"
 
  | "Western Marmara"
 
  | "Aegean"
 
  | "Eastern Marmara"
 
  | "Western Anatolia"
 
  | "Mediterranean"
 
  | "Central Anatolia"
 
  | "Western Black Sea"
 
  | "Eastern Black Sea"
 
  | "Northeastern Anatolia"
 
  | "Central-Eastern Anatolia"
 
  | "Southeastern Anatolia"
 
 
   | #default = [[Image:NUTS Map of Turkey.png|100px|center]]
 
   | #default = [[Image:NUTS Map of Turkey.png|100px|center]]
 
}}<br /><br /><!--
 
}}<br /><br /><!--
Line 219: Line 206:
  
 
| group9 = Mediterranean
 
| group9 = Mediterranean
| list9  = [[Adana Province|Adana]] - [[Antalya Province|Antalya]]- [[Burdur Province|Burdur]] - [[Hatay Province|Hatay]] - [[Isparta Province|Isparta]] - [[Kahramanmaraş Province|Kahramanmaraş]] - [[Mersin Province|Mersin]] - [[Osmaniye Province|Osmaniye]]  
+
| list9  = [[Adana Province|Adana]] - [[Antalya Province|Antalya]] - [[Burdur Province|Burdur]] - [[Hatay Province|Hatay]] - [[Isparta Province|Isparta]] - [[Kahramanmaraş Province|Kahramanmaraş]] - [[Mersin Province|Mersin]] - [[Osmaniye Province|Osmaniye]]  
 
| list9style  = background:#cdf;
 
| list9style  = background:#cdf;
  

Revision as of 15:59, 9 July 2012



[[Image:{{{provname}}} districts.png|100px|center|Districts of {{{provname}}}]]

| group1 = Urban districts | list1 = (list of urban districts)| group2 = Rural districts

| list2 = (list of rural districts)| group3 =

Regions

| list3 = Provinces | list3style = background:#cdf;

| group4 = Istanbul | list4 = Istanbul | list4style = background:#cdf;

| group5 = Western Marmara | list5 = Balıkesir - Çanakkale - Edirne - Kırklareli - Tekirdağ | list5style = background:#cdf;

| group6 = Aegean | list6 = Afyonkarahisar - Aydın - Denizli - Izmir - Kütahya - Manisa - Muğla - Uşak | list6style = background:#cdf;

| group7 = Eastern Marmara | list7 = Bilecik - Bolu - Bursa - Düzce - Eskişehir - Kocaeli - Sakarya - Yalova | list7style = background:#cdf;

| group8 = Western Anatolia | list8 = Ankara - Karaman - Konya | list8style = background:#cdf;

| group9 = Mediterranean | list9 = Adana - Antalya - Burdur - Hatay - Isparta - Kahramanmaraş - Mersin - Osmaniye | list9style = background:#cdf;

| group10 = Central Anatolia | list10 = Aksaray - Kayseri - Kırıkkale - Kırşehir - Nevşehir - Niğde - Sivas - Yozgat | list10style = background:#cdf;

| group11 = Western Black Sea | list11 = Amasya - Bartın - Çankırı - Çorum - Karabük - Kastamonu - Samsun - Sinop - Tokat - Zonguldak | list11style = background:#cdf;

| group12 = Eastern Black Sea | list12 = Artvin - Giresun - Gümüşhane - Ordu - Rize - Trabzon | list12style = background:#cdf;

| group13 = Northeastern Anatolia | list13 = Ağrı - Ardahan - Bayburt - Erzincan - Erzurum - Iğdır - Kars | list13style = background:#cdf;

| group14 = Central-Eastern Anatolia | list14 = Bingöl - Bitlis - Elâzığ - Hakkâri - Malatya - Muş - Tunceli - Van | list14style = background:#cdf;

| group15 = Southeastern Anatolia | list15 = Adıyaman - Batman - Diyarbakır - Gaziantep - Kilis - Mardin - Siirt - Şanlıurfa - Şırnak | list15style = background:#cdf; }}</includeonly>

Parameters

  • Usage: {{Districts of Turkey|provname= X |image= Y|sortkey= Z}}
  • X; name of province-without "province" word- . Do not worry about the rest of the data template will add it for you.
  • Y; if the X does not match the imagename in imagename Turkey Provinces locator.gif to bring correct map to template. If they are same, no need Y parameter.
  • Z; if the name contains any of the Turkish characters ıİ, öÖ, üÜ, çÇ, ğĞ, şŞ, provide a transcription with these characters replaced with Ascii characters iI oO uU cC gG sS, to serve as a sorting key for categorization.

Functions

Headline

The headline is not static and it reflects the info of the location: (a) the province (b) the region.

note:some of the functionality is achieved by a sub-template:Template:Regions of Turkey

Maps

The maps at the sidebar also changes based on the location and the region

note:this functionality is achieved by a sub-template:Template:Regions of Turkey

Categorization

The current structure of this template adds these categories (if a change performed please keep this section update)

If the page is a "X Province"
  • adds; Category:Provinces of Turkey
  • adds; Category:X Province
If the page is a X metropole
  • adds; Category:Cities in Turkey
  • adds; Category:X Province
    • note: "Districts of X" is listed under "X Province"
If the page is a X District
  • adds; Category:Districts of X
    • note: "Districts of X" is listed under "X Province"
If the page is in X region
  • adds; Category:X Region, Turkey

ckb:داڕێژە:پارێزگاکانی تورکیا fa:الگو:استان‌های ترکیه ms:Templat:Districts of Turkey sco:Template:Destricts o Turkey sw:Kigezo:Wilaya za Uturuki tr:Şablon:Türkiye idari