Template:City/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:City. It contains usage information, categories, and other content that is not part of the original template page. |
This template provides to links to names of geographical locations like cities, countries, regions, etc. Links are either interwiki links to other wikipedias chosen based on user's preferred language or to gallery pages, which hopefully have such interwiki links.
This template has been copied from Commons as a guide for future development for Commons.
Not all functionality and not all languages supported by the original template may be available. For further information and discussion see the talk page. |
Usage
{{City|1=}}
Parameters
Parameter name | Description | Default value | required or optional?
|
---|---|---|---|
parameter #1 (1) | City, country or region name usually in English and or native language | empty | required |
Additional information
The template is intended to be used in the following namespaces:
The template is intended to be used by the following user groups:
all users
Relies on:
{{LangSwitch}}
, Category:Multilingual tags: Locations
Localization
To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx=Your translation
" (xx
being the code of your language)
Examples
- {{city|Paris}} gives "Template:Paris"
- {{city|London}} gives "Template:London"
- {{city|Warszawa}} gives "Template:Warsaw"
- {{city|XXXXXX}} gives "XXXXXX"