Open main menu

Wikimedia Commons β


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

Parameter Description Default Status
1
location City, country or region name usually in English and or native 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

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

See also

Templates linking contents

"1-N" means from one to many.

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