Template:City
Jump to navigation
Jump to search
This documentation is transcluded from Template:City/doc.
This template provides the name of geographic locations such as cities, countries, regions, etc.
Usage
{{City |1= |lang= |link= }}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | physical location | City, country or region name, usually in English or the location's main language. Can also be a Wikidata Q-code. | empty | required |
lang | language | Language code (only needs to be provided if the language displayed is to be fixed and independent of the user’s preferences). | empty | optional |
link | hyperlink | link type: wikipedia will try to link to Wikipedia wikidata to Wikidata commons to Commons - mean no link | wikipedia | optional |
Additional information
The template is intended to be used in the following namespaces: all namespaces
The template is intended to be used by the following user groups: all users
Relies on:
Module:City and Module:City/data
Example
Related property
Templates linking contents
"1-N" means from one to many.
- Upwards links
- – "Main gallery" link from gallery or category to 1-N main galleries.
- – "Main category" link from gallery or category to 1-N main categories.
- – (box) Alternative "See category" boxed link from gallery to parent category, with explanation of the role of a gallery page.
- Downwards links
- – "Further information" link to 1-N detailed galleries or categories.
- Sideways page links
- – (box or inline) "See also" link to 1-N related pages.
- – "For" a single alternative page with explanation.
- - "For" 1-N alternative pages with one or more explanations.
- – As "For2" with an explanation of the current page.
- - As "For multi" with an explanation of the current page.
- – "Not to be confused with" link to 1-N related pages.
- – (box) Internationalized "See also" (or other caption) to related images.
- – (box) Internationalized with icon-links to related images of the same (medical) case.
- – "See" link from gallery to gallery.
- Sideways category links
- – (box or inline) "See also Categories" link to 1-N related categories.
- – (box or inline) "Not to be confused with categories" link from category with ambiguous names to 1-N unrelated categories.
- Interproject links
- – "Main Wikipedia article" link to 1 article (don't forget the purpose of interwiki links).
- – "See also Wikipedia article" link to 1-N articles (don't forget the purpose of interwiki links).
- Template:Multilingual link – allows to indicate names of versions of same Wikipedia article in many languages and displays one link in interface language.