Difference between revisions of "Template:Districts of Cairo/doc"
Jump to navigation
Jump to search
imported>Mohamed Magdy m (moved Template:Districts of Cairo/Doc to Template:Districts of Cairo/doc: better naming) |
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> | + | <includeonly> |
| + | [[Category:Districts of Cairo| ]] | ||
| + | [[Category:Egypt city templates|Cairo Districts]] | ||
| + | |||
[[ar:قالب:أحياء القاهرة]] | [[ar:قالب:أحياء القاهرة]] | ||
| − | |||
</includeonly> | </includeonly> | ||
Revision as of 19:00, 1 October 2011
| This is a documentation subpage for Template:Districts of Cairo. It contains usage information, categories and other content that is not part of the original template page. |
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