This is an archive copy of wikilivres.ca as of 18 February 2017 (from the WikiTeam dump). The original site is closed.
Template:GeoName/doc
Jump to navigation
Jump to search
- This documentation page is to be used for location tag templates in Category:Multilingual tags: Locations.
Name of city or country translated to user's language and with links to Wikipedia articles in user's language. Intended to be used for locations in Creator templates, Book templates, Institution templates, etc.
Usage
{{LOCATION}}
Parameters
| Parameter name | Description | Default value | required or optional?
|
|---|---|---|---|
| parameter #1 (1) | {{LOCATION|xx}} – (where xx is ISO 639-2 language code) for output in the specified language.
|
empty | 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:
See also
Localization
To add your language to the list of languages supported by this template, please edit the template and add a row to the "Template:Tlf" construct. It takes the form "|xx=Your translation" (xx being the code of your language)
Examples
{{LOCATION}}– Will display the location name in the language specified by user's preferences: (Rendered){{LOCATION|de}}– Will always display the location name in German: (Rendered){{LOCATION|ru}}– Will always display the location name in Russian: (Rendered){{LOCATION|ar}}– Will always display the location name in Arabic: (Rendered)