Difference between revisions of "Template:Districts of Turkey"
(can't see any reason for non-standard fonts, make it easier to edit (FWIW categories should be placed directly in articles, NOT via templates)) |
imported>Shhhnotsoloud (Fix ambiguous wikilink) |
||
| (94 intermediate revisions by 42 users not shown) | |||
| Line 1: | Line 1: | ||
{{Navbox | {{Navbox | ||
| name = Districts of Turkey | | name = Districts of Turkey | ||
| − | |state = <includeonly>collapsed</includeonly> | + | | state = {{{state<includeonly>|collapsed</includeonly>}}} |
| − | | | + | | bodyclass = hlist |
| − | + | ||
| − | + | | title = {{#switch: "{{PAGENAME}}" | |
| − | | title = | ||
| "{{{provname}}} Province" = [[{{{provname}}} Province]] | | "{{{provname}}} Province" = [[{{{provname}}} Province]] | ||
| #default = {{PAGENAME}} in [[{{{provname}}} Province]] | | #default = {{PAGENAME}} in [[{{{provname}}} Province]] | ||
| − | }} | + | }} of [[Turkey]] |
| image = {{#switch: "{{region of Turkey|provname={{{provname}}}}}" | | image = {{#switch: "{{region of Turkey|provname={{{provname}}}}}" | ||
| − | | "[[ | + | | "[[Istanbul Region (statistical)|Istanbul]]" |
| − | | "[[ | + | | "[[West Marmara Region (statistical)|West Marmara]]" |
| − | | "[[Aegean Region|Aegean]]" | + | | "[[Aegean Region (statistical)|Aegean]]" |
| − | | "[[ | + | | "[[East Marmara Region (statistical)|East Marmara]]" |
| − | | "[[ | + | | "[[West Anatolia Region (statistical)|West Anatolia]]" |
| − | | "[[ | + | | "[[Mediterranean Region (statistical)|Mediterranean]]" |
| − | | "[[ | + | | "[[Central Anatolia Region (statistical)|Central Anatolia]]" |
| − | | #default = [[Image:Turkey | + | | "[[West Black Sea Region (statistical)|West Black Sea]]" |
| − | + | | "[[East Black Sea Region (statistical)|East Black Sea]]" | |
| − | + | | "[[Northeast Anatolia Region (statistical)|Northeast Anatolia]]" | |
| − | + | | "[[Central East Anatolia Region (statistical)|Central East Anatolia]]" | |
| + | | "[[Southeast Anatolia Region (statistical)|Southeast Anatolia]]" | ||
| + | | #default = [[Image:NUTS Map of Turkey.png|100px|center]]<br /><br /> | ||
| + | }}[[Image:{{{provname}}} districts.png|100px|center|Districts of {{{provname}}}]] | ||
| − | | group1 = | + | | group1 = Districts |
| list1 = {{#switch: {{{provname}}} | | list1 = {{#switch: {{{provname}}} | ||
| − | + | | Adana= | |
| − | + | * [[Aladağ, Adana|Aladağ]] | |
| − | + | * [[Ceyhan]] | |
| − | + | * [[Çukurova, Adana|Çukurova]] | |
| − | + | * [[Feke]] | |
| − | + | * [[İmamoğlu]] | |
| − | + | * [[Karaisalı]] | |
| + | * [[Karataş]] | ||
| + | * [[Kozan, Adana|Kozan]] | ||
| + | * [[Pozantı]] | ||
| + | * [[Saimbeyli]] | ||
| + | * [[Sarıçam]] | ||
| + | * [[Seyhan]] | ||
| + | * [[Tufanbeyli]] | ||
| + | * [[Yumurtalık]] | ||
| + | * [[Yüreğir]] | ||
| + | | Adıyaman= | ||
| + | * '''[[Adıyaman]]''' | ||
| + | * [[Besni]] | ||
| + | * [[Çelikhan]] | ||
| + | * [[Gerger]] | ||
| + | * [[Gölbaşı, Adıyaman|Gölbaşı]] | ||
| + | * [[Kâhta]] | ||
| + | * [[Samsat, Turkey|Samsat]] | ||
| + | * [[Sincik]] | ||
| + | * [[Tut, Turkey|Tut]] | ||
| + | | Afyonkarahisar= | ||
| + | * '''[[Afyonkarahisar]]''' | ||
| + | * [[Başmakçı]] | ||
| + | * [[Bayat, Afyonkarahisar|Bayat]] | ||
| + | * [[Bolvadin]] | ||
| + | * [[Çay]] | ||
| + | * [[Çobanlar]] | ||
| + | * [[Dazkırı]] | ||
| + | * [[Dinar, Afyonkarahisar|Dinar]] | ||
| + | * [[Emirdağ]] | ||
| + | * [[Evciler]] | ||
| + | * [[Hocalar]] | ||
| + | * [[İhsaniye]] | ||
| + | * [[İscehisar]] | ||
| + | * [[Kızılören]] | ||
| + | * [[Sandıklı]] | ||
| + | * [[Sinanpaşa]] | ||
| + | * [[Sultandağı]] | ||
| + | * [[Şuhut]] | ||
| + | | Ağrı= | ||
| + | * '''[[Ağrı]]''' | ||
| + | * [[Diyadin]] | ||
| + | * [[Doğubeyazıt]] | ||
| + | * [[Eleşkirt]] | ||
| + | * [[Hamur]] | ||
| + | * [[Patnos]] | ||
| + | * [[Taşlıçay]] | ||
| + | * [[Tutak, Turkey|Tutak]] | ||
| + | | Aksaray= | ||
| + | * '''[[Ağaçören]]''' | ||
| + | * [[Aksaray]] | ||
| + | * [[Eskil]] | ||
| + | * [[Gülağaç]] | ||
| + | * [[Güzelyurt]] | ||
| + | * [[Ortaköy, Aksaray|Ortaköy]] | ||
| + | * [[Sarıyahşi]] | ||
| + | * [[Sultanhanı]] | ||
| + | | Amasya= | ||
| + | * '''[[Amasya]]''' | ||
| + | * [[Göynücek]] | ||
| + | * [[Gümüşhacıköy]] | ||
| + | * [[Hamamözü]] | ||
| + | * [[Merzifon]] | ||
| + | * [[Suluova]] | ||
| + | * [[Taşova]] | ||
| + | | Ankara= | ||
| + | * [[Akyurt]] | ||
| + | * [[Altındağ, Ankara|Altındağ]] | ||
| + | * [[Ayaş, Ankara|Ayaş]] | ||
| + | * [[Balâ, Ankara|Bala]] | ||
| + | * [[Beypazarı, Ankara|Beypazarı]] | ||
| + | * [[Çamlıdere, Ankara|Çamlıdere]] | ||
| + | * [[Çankaya, Ankara|Çankaya]] | ||
| + | * [[Çubuk, Ankara|Çubuk]] | ||
| + | * [[Elmadağ, Ankara|Elmadağ]] | ||
| + | * [[Etimesgut]] | ||
| + | * [[Evren, Ankara|Evren]] | ||
| + | * [[Gölbaşı, Ankara|Gölbaşı]] | ||
| + | * [[Güdül]] | ||
| + | * [[Haymana, Ankara|Haymana]] | ||
| + | * [[Kalecik, Ankara|Kalecik]] | ||
| + | * [[Kazan, Ankara|Kazan]] | ||
| + | * [[Keçiören]] | ||
| + | * [[Kızılcahamam]] | ||
| + | * [[Mamak, Ankara|Mamak]] | ||
| + | * [[Nallıhan]] | ||
| + | * [[Polatlı]] | ||
| + | * [[Pursaklar, Ankara|Pursaklar]] | ||
| + | * [[Sincan, Ankara|Sincan]] | ||
| + | * [[Şereflikoçhisar]] | ||
| + | * [[Yenimahalle, Ankara|Yenimahalle]] | ||
| + | | Antalya= | ||
| + | * [[Alanya]] | ||
| + | * [[Akseki]] | ||
| + | * [[Aksu, Antalya|Aksu]] | ||
| + | * [[Demre]] | ||
| + | * [[Döşemealtı]] | ||
| + | * [[Elmalı]] | ||
| + | * [[Finike]] | ||
| + | * [[Gazipaşa]] | ||
| + | * [[Gündoğmuş]] | ||
| + | * [[İbradı]] | ||
| + | * [[Kaş]] | ||
| + | * [[Kemer]] | ||
| + | * [[Kepez, Antalya|Kepez]] | ||
| + | * [[Konyaaltı]] | ||
| + | * [[Korkuteli]] | ||
| + | * [[Kumluca]] | ||
| + | * [[Manavgat]] | ||
| + | * [[Muratpaşa]] | ||
| + | * [[Serik]] | ||
| + | | Ardahan= | ||
| + | * '''[[Ardahan]]''' | ||
| + | * [[Çıldır]] | ||
| + | * [[Damal]] | ||
| + | * [[Göle]] | ||
| + | * [[Hanak]] | ||
| + | * [[Posof]] | ||
| + | | Artvin= | ||
| + | * [[Ardanuç]] | ||
| + | * [[Arhavi]] | ||
| + | * '''[[Artvin]]''' | ||
| + | * [[Borçka]] | ||
| + | * [[Hopa]] | ||
| + | * [[Kemalpaşa, Artvin|Kemalpaşa]] | ||
| + | * [[Murgul]] | ||
| + | * [[Şavşat]] | ||
| + | * [[Yusufeli]] | ||
| + | | Aydın= | ||
| + | * [[Bozdoğan]] | ||
| + | * [[ | ||
| − | | | + | | group5 = [[West Anatolia Region (statistical)|West Anatolia]] |
| − | | | + | | list5 = |
| − | + | * '''[[Ankara Province|Ankara]]''' | |
| + | * [[Karaman Province|Karaman]] | ||
| + | * '''[[Konya Province|Konya]]''' | ||
| − | | | + | | group6 = [[Mediterranean Region (statistical)|Mediterranean]] |
| − | | | + | | list6 = |
| − | + | * '''[[Adana Province|Adana]]''' | |
| + | * '''[[Antalya Province|Antalya]]''' | ||
| + | * [[Burdur Province|Burdur]] | ||
| + | * '''[[Hatay Province|Hatay]]''' | ||
| + | * [[Isparta Province|Isparta]] | ||
| + | * '''[[Kahramanmaraş Province|Kahramanmaraş]]''' | ||
| + | * '''[[Mersin Province|Mersin]]''' | ||
| + | * [[Osmaniye Province|Osmaniye]] | ||
| − | | | + | | group7 = [[Central Anatolia Region (statistical)|Central Anatolia]] |
| − | | | + | | list7 = |
| − | + | * [[Aksaray Province|Aksaray]] | |
| + | * '''[[Kayseri Province|Kayseri]]''' | ||
| + | * [[Kırıkkale Province|Kırıkkale]] | ||
| + | * [[Kırşehir Province|Kırşehir]] | ||
| + | * [[Nevşehir Province|Nevşehir]] | ||
| + | * [[Niğde Province|Niğde]] | ||
| + | * [[Sivas Province|Sivas]] | ||
| + | * [[Yozgat Province|Yozgat]] | ||
| − | | | + | | group8 = [[West Black Sea Region (statistical)|West Black Sea]] |
| − | | | + | | list8 = |
| − | + | * [[Amasya Province|Amasya]] | |
| + | * [[Bartın Province|Bartın]] | ||
| + | * [[Çankırı Province|Çankırı]] | ||
| + | * [[Çorum Province|Çorum]] | ||
| + | * [[Karabük Province|Karabük]] | ||
| + | * [[Kastamonu Province|Kastamonu]] | ||
| + | * '''[[Samsun Province|Samsun]]''' | ||
| + | * [[Sinop Province|Sinop]] | ||
| + | * [[Tokat Province|Tokat]] | ||
| + | * [[Zonguldak Province|Zonguldak]] | ||
| − | | | + | | group9 = [[East Black Sea Region (statistical)|East Black Sea]] |
| − | | | + | | list9 = |
| − | + | * [[Artvin Province|Artvin]] | |
| + | * [[Giresun Province|Giresun]] | ||
| + | * [[Gümüşhane Province|Gümüşhane]] | ||
| + | * '''[[Ordu Province|Ordu]]''' | ||
| + | * [[Rize Province|Rize]] | ||
| + | * '''[[Trabzon Province|Trabzon]]''' | ||
| − | | | + | | group10 = [[Northeast Anatolia Region (statistical)|Northeast Anatolia]] |
| − | | | + | | list10 = |
| − | + | * [[Ağrı Province|Ağrı]] | |
| + | * [[Ardahan Province|Ardahan]] | ||
| + | * [[Bayburt Province|Bayburt]] | ||
| + | * [[Erzincan Province|Erzincan]] | ||
| + | * '''[[Erzurum Province|Erzurum]]''' | ||
| + | * [[Iğdır Province|Iğdır]] | ||
| + | * [[Kars Province|Kars]] | ||
| − | | | + | | group11 = [[Central East Anatolia Region (statistical)|Central East Anatolia]] |
| − | | | + | | list11 = |
| − | | | + | * [[Bingöl Province|Bingöl]] |
| + | * [[Bitlis Province|Bitlis]] | ||
| + | * [[Elazığ Province|Elazığ]] | ||
| + | * [[Hakkâri Province|Hakkâri]] | ||
| + | * '''[[Malatya Province|Malatya]]''' | ||
| + | * [[Muş Province|Muş]] | ||
| + | * [[Tunceli Province|Tunceli]] | ||
| + | * '''[[Van Province|Van]]''' | ||
| − | + | | group12 = [[Southeast Anatolia Region (statistical)|Southeast Anatolia]] | |
| − | + | | list12 = | |
| − | + | * [[Adıyaman Province|Adıyaman]] | |
| − | + | * [[Batman Province|Batman]] | |
| − | + | * '''[[Diyarbakır Province|Diyarbakır]]''' | |
| − | + | * '''[[Gaziantep Province|Gaziantep]]''' | |
| − | + | * [[Kilis Province|Kilis]] | |
| − | + | * '''[[Mardin Province|Mardin]]''' | |
| − | + | * [[Siirt Province|Siirt]] | |
| − | + | * '''[[Şanlıurfa Province|Şanlıurfa]]''' | |
| − | + | * [[Şırnak Province|Şırnak]] | |
| − | + | }} | |
| − | }} | + | |below=<small>[[Metropolitan municipalities in Turkey|Metropolitan municipalities]] are bolded.</small> |
| + | }}<noinclude> | ||
| + | {{collapsible option}} | ||
{{esoteric}} | {{esoteric}} | ||
| Line 269: | Line 1,243: | ||
* adds; Category:''X'' Region, Turkey | * adds; Category:''X'' Region, Turkey | ||
| − | [[Category: | + | [[Category:Turkey district templates|Turkey district templates]] |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
</noinclude> | </noinclude> | ||
Latest revision as of 10:33, 28 June 2020
Initial visibility: currently defaults to autocollapse
To set this template's initial visibility, the |state= parameter may be used:
|state=collapsed:{{Districts of Turkey|state=collapsed}}to show the template collapsed, i.e., hidden apart from its title bar|state=expanded:{{Districts of Turkey|state=expanded}}to show the template expanded, i.e., fully visible|state=autocollapse:{{Districts of Turkey|state=autocollapse}}
If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.
| 40x40px | This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
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