Module:Most populous cities of the world/doc
CodeDiscussionEditHistoryLinksLink count Subpages:DocumentationTestsResultsSandboxLive code All modules
This is the documentation page for Module:Most populous cities of the world
Note: This module is intended for use with categories involving international interactions or trends like trade and international politics. Local topics like buildings, culture, and people should use city- and country-specific templates.
Add the prefix
and suffix
parameters as shown in the example below.
{{Most populous cities of the world|prefix=:Namespace:Prefix text|suffix=suffix text}}
Examples of use
[edit]For the category "Demonstrations and protests in New York City", add the following to the top of Category:Demonstrations and protests in New York City:
{{Most populous cities of the world|prefix=:Category:Demonstrations and protests in}}
For the category "Demonstrations and protests in New York City by year", add the following to the top of Category:Demonstrations and protests in New York City by year:
{{Most populous cities of the world|prefix=:Category:Demonstrations and protests in|suffix=by year}}
Advanced examples
[edit]{{#invoke:Countries|main|Module:Most populous cities of the world|showcode=yes}}
{{Most populous cities of the world|prefix=:Category:}}
gives:
{{Most populous cities of the world|prefix=:Category:|showcode=}}
gives:
{{Most populous cities of the world|prefix=:Category:|all=1}}
gives:
See also
[edit]