Difference between revisions of "Template:Districts of Cairo/doc"

From blackwiki
Jump to navigation Jump to search
imported>Mohamed Magdy
imported>Funandtrvl
(mv cats)
Line 22: Line 22:
 
:Will produce the template along with [[:Category:Districts of Helwan]]
 
:Will produce the template along with [[:Category:Districts of Helwan]]
  
<includeonly><!-- Cat already included. -->
+
<includeonly>
 +
[[Category:Districts of Cairo| ]]
 +
[[Category:Egypt city templates|Cairo Districts]]
 +
 
 
[[ar:قالب:أحياء القاهرة]]
 
[[ar:قالب:أحياء القاهرة]]
 
 
</includeonly>
 
</includeonly>

Revision as of 19:00, 1 October 2011

This template contains a list of districts in Cairo, Egypt


The template has been improved so that it can include Category:Districts of Giza, Category:Districts of Helwan and Category:Districts of Cairo apart from each others instead of including Category:Districts of Greater Cairo which means a mess.

The template uses #switch parser function to perform this.

Usage

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