Difference between revisions of "Template:Districts of Cairo"

From blackwiki
Jump to navigation Jump to search
imported>Wleb lw
 
(62 intermediate revisions by 22 users not shown)
Line 1: Line 1:
<noinclude>{{Documentation}}</noinclude>
 
 
{{Navbox
 
{{Navbox
|image = [[File:Cropped-Cairotower.jpg|70px|]]
+
| name  = Districts of Cairo
|name  = Districts of Cairo
+
| title = Districts and suburbs of [[Greater Cairo|Greater Cairo-Giza]]
|title = Districts of [[Greater Cairo]]
+
| state    = {{{state|autocollapse}}}
|group1 = Cairo
+
| listclass = hlist
|list1 = <div>
+
 
{{nowrap begin}}
+
| image = [[File:Beauty Of Egypt.JPG|150px]]{{br}}[[File: Giza-Nile.JPG|150px]]
[[Abbassia]]{{·w}}
+
 
[[Abdin]]{{·w}}
+
| group1 = [[Cairo Governorate]]
[[Ain Shams]]{{·w}}
+
| list1  = {{navbox|child
[[Azbakeya]]{{·w}}
+
| groupwidth = 6em
[[Boulaq]]{{·w}}
+
| list1 =
[[Daher, Egypt|Daher]]{{·w}}
+
* [[Abbassia]]
[[El-Manial]]{{·w}}
+
* [[Ain Shams]]
[[El-Marg]]{{·w}}
+
* [[Azbakeya]]
[[Muqatam]]{{·w}}
+
* [[Bulaq]]
[[Nasr City]]{{·w}}
+
* [[Daher, Egypt|Daher]]
[[El-Quba]]{{·w}}
+
* [[Al-Darb al-Ahmar]]
[[Rhoda Island|Rhoda]]{{·w}}
+
* [[El Marg]]
[[El-Sakakini]]{{·w}}
+
* '''[[Helwan]]'''
[[Sayeda Zenab]]{{·w}}
+
** [[15th of May (city)|15th of May]]
[[Sharabeya]]{{·w}}
+
* '''[[Mokattam]]'''
'''[[Shobra|Shobra area]]''' ([[Shobra (administrative region)|Shobra]]{{·w}} [[Elsahel]]{{·w}} [[Rod El Farag|Road El Farag]]){{·w}}
+
** [[City of the Dead (Cairo)|City of the Dead (al-Qarafa)]]
[[Shubra El-Kheima]]{{·w}}
+
** [[Manshiyat Naser]]
[[Zeitoun]]
+
* [[Nasr City]]
{{Navbox subgroup
+
* [[El Qobbah]]
|groupstyle = width:10em;
+
* '''[[Roda Island|Rhoda Island]]'''
|liststyle = width:auto;
+
** [[El Manial]]
|group10 = Historical
+
* [[El Sakkakini]]
|list10 =[[Coptic Cairo]]{{·w}}[[Downtown Cairo]]{{·w}}[[Faggala]]{{·w}}[[Fustat]]{{·w}}[[Heliopolis (Cairo suburb)|Heliopolis]]{{·w}}[[Islamic Cairo]]{{·w}}[[Kerdasa]]{{·w}}[[Maadi]]{{·w}}[[Al-Matariyyah|Mataria]]{{·w}}[[Old Cairo]]
+
* '''[[Shubra]]'''
 +
** [[Shubra (administrative region)|Shubra]]
 +
** [[El Sahel]]
 +
** [[Rod El Farag]]
 +
* [[Zeitoun, Cairo|Zeitoun]]
 +
| group2 = ''Historical''
 +
| list2  =
 +
* [[Coptic Cairo]]
 +
* [[Downtown Cairo]]
 +
* [[Faggala]]
 +
* [[Fustat]]
 +
* [[Islamic Cairo]]
 +
* [[El Matareya, Cairo|El Matareya]]
 +
* [[Old Cairo]]
 +
 
 +
| group3 = ''Affluent''
 +
| list3  =
 +
* [[Garden City, Cairo|Garden City]]
 +
* [[Heliopolis, Cairo|Heliopolis]]
 +
* [[Maadi]]
 +
* [[Zamalek]]
 +
 
 +
| group4 = ''Newly planned''
 +
| list4  =
 +
* [[Badr, Egypt|Badr]]
 +
* [[Madinaty]]
 +
* '''[[New Cairo]]'''
 +
** [[El Rehab]]
 +
** [[Fifth Settlement]]
 +
* [[New Heliopolis]]
 +
* [[El Shorouk]]
 +
 
 
}}
 
}}
{{Navbox subgroup
+
 
|groupstyle = width:10em;
+
| group2 = [[Giza Governorate]]
|liststyle = width:auto;
+
| list2  = {{navbox|child
|group11 = Affluent  
+
| groupwidth = 6em
|list11 = [[Garden City (Cairo)|Garden City]]{{·w}}[[Zamalek]]
+
| list2 =
 +
* [[Agouza]]
 +
* [[Mit Okba]]
 +
* [[Imbaba]]
 +
 
 +
| group3 = ''Historical''
 +
| list3  =
 +
* [[Kerdasa]]
 +
 
 +
| group4 = ''Affluent''
 +
| list4  =
 +
* [[Dokki]]
 +
* [[Mohandessin]]
 +
 
 +
| group5 = ''Newly planned''
 +
| list5  =
 +
* [[6th of October (city)|6th of October]]
 +
* [[Sheikh Zayed City|Sheikh Zayed]]
 
}}
 
}}
|group2 = Giza
 
|list2=
 
[[Agouza]]{{·w}}
 
[[Boulaq El-Dakror]]{{·w}}
 
[[Giza (District)|Giza]]{{·w}}
 
[[Haram (District)|Haram]]{{·w}}
 
[[Imbaba]]
 
{{Navbox subgroup
 
|groupstyle = width:10em;
 
|liststyle = width:auto;
 
|group11 = Affluent
 
|list11 = [[Mohandessin]]{{·w}}[[Dokki]]
 
}}
 
|group3 = Helwan
 
|list3 =
 
[[El-Tagamu El Khames]]{{·w}}[[Obour City]]
 
{{nowrap end}}
 
</div>
 
  
{{#switch: {{{1}}}
+
| group4 = [[Qalyubia Governorate]]
| giza = <includeonly>[[Category:Districts of Giza]]</includeonly>
+
| list4 = {{navbox|child
  | cairo = <includeonly>[[Category:Districts of Cairo]]</includeonly>
+
| groupwidth = 6em
| helwan = <includeonly>[[Category:Districts of Helwan]]</includeonly>
+
| list2 =  
| 6thoct = <includeonly>[[Category:Districts of 6th of October]]</includeonly>
+
* [[Shubra El Kheima]]
  | <includeonly>[[Category:Districts of Greater Cairo]]</includeonly>
+
 
 +
| group3 = ''Newly planned''
 +
| list3 =
 +
* [[Obour (city)|Obour]]
 +
 
 
}}
 
}}
  
}}
+
}}{{main other|{{#switch: {{{1}}}
<noinclude>
+
| giza  = [[Category:Districts of Giza]]
[[Category:Middle East country subdivision templates|{{PAGENAME}}]]
+
| cairo  = [[Category:Districts of Cairo]]
 +
| helwan = [[Category:Districts of Helwan]]
 +
| 6thoct = [[Category:Districts of 6th of October]]
 +
| [[Category:Districts of Greater Cairo]]
 +
}}}}<noinclude>
 +
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 16:04, 29 May 2020

This template contains a list of districts in Cairo, Egypt.

By default, this template will add the transcluding article to Category:Districts of Greater Cairo. To use a more specific subcategory, use one of the examples presented below.

Usage

Initial visibility: currently defaults to autocollapse

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{Districts of Cairo|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Districts of Cairo|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Districts of Cairo|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

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.

Examples

  • {{Districts of Cairo|cairo}}
Will produce the template along with Category:Districts of Cairo

{{Districts of Cairo|giza}}

Will produce the template along with Category:Districts of Giza

{{Districts of Cairo|helwan}}

Will produce the template along with Category:Districts of Helwan