Open main menu


Documentation icon Documentationviewedithistorypurge

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

ParameterDescriptionDefaultStatus
1
locationCity, country or region name usually in English and or native language.
Can also be a Wikidata Q-code.
emptyrequired
lang
languageLanguage code (only needs to be provided if the language displayed is to be fixed and independent of the user’s preferences).emptyoptional
link
hyperlinklink type:
wikipedia will try to link to Wikipedia
wikidata to Wikidata
commons to Commons
- mean no link
wikipediaoptional

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

  • {{city|Beijing|link=wikidata}}: Beijing
  • {{city|Beijing|link=commons}}: Beijing
  • {{city|Beijing|link=-}}: Beijing

See also

Templates linking contents

"1-N" means from one to many.

Upwards links
Downwards links
Sideways page links
Sideways category links
Interproject links