Şablon:Türkiye idari

Vikipedi, özgür ansiklopedi

Git ve: kullan, ara


Bu şablonun kodunda, çalışmasını zorlaştıran gizli sözdizimleri bulunmaktadır.

Konu başlıkları

[değiştir] Parameters

  • Usage: {{Districts of Turkey|provname= X |image= Y|sortkey= Z}}
  • X; name of (il)-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 (il)s 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.

[değiştir] Özellikleri

[değiştir] Başlık

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

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

[değiştir] Haritalar

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

[değiştir] Otomatik Kategoriler

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

If the page is a "X (il)"
  • adds; Category:Provinces of Turkey
  • adds; Category:X (il)
If the page is a X metropole
  • adds; Category:Cities in Turkey
  • adds; Category:X (il)
    • note: "Districts of X" is listed under "X (il)"
If the page is a X District
  • adds; Category:Districts of X
    • note: "Districts of X" is listed under "X (il)"
If the page is in X region
  • adds; Category:X Region, Turkey
Diğer diller