Template:Canada location info

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Template documentationview · edit · history · purge ]

This is a simple template used for providing a standardized set of information atop of every category related to an administrative subdivision of Canada (territory, province or city). If correctly compiled the template shows for each place its authority control codes, the Wikidata entry of its relative article on Wikimedia chapters and its coordinates.

Usage

{{Canada location info |1= |2= |3= |4= }}

The template can be also compiled in the form {{ Canada location info | Wikidata entry | Latitude | Longitude | Canadian postal abbreviation }} provided that the four parametres are compiled exactly in this order.

Template parameters

ParameterDescriptionDefaultStatus
1Wikidata entryWikidata entry for the article of the subject of the category on Commonsnothingrequired
2LatitudeDecimal latitude of the place (positive for latitudes from 90 North to the Equator; negative from latitudes from the Equator to 90 South; 0 identifies anything laying on the Equator, 90 and -90 identifies the North and South Pole respectively)nothingrequired
3LongitudeDecimal longitude of the place (negative for longitudes from 180 to 0 going eastward; positive for longitudes from 0 to 180 going westward; 0 identifies anything laying on the Greenwich meridian; 180 identifies generally the International Date Line with some exceptions)nothingrequired
4Canadian postal abbreviationThe 2-letter code used for Canadian provinces and territories. It is useful for selecting, where available, appropriate match resources for a given political region.nothingrequired

Additional information

The template is intended to be used in the following namespaces: the Category namespace

The template is intended to be used by the following user groups: all users

Placement: At the top of the page

Relies on:
{{Object location}}; {{Authority control}}; {{On Wikidata}}

No description yet available.

Usage

{{Canada location info}}

The template takes no parameters.

Additional information

The template is intended to be used in the following namespaces: no namespace specified

The template is intended to be used by the following user groups: no user group specified

Example

{{Canada location info|1=Q182625|2= 42.318333|3= -83.034722|4=ON}}

renders as:

Object location42° 19′ 06″ N, 83° 02′ 05″ W Kartographer map based on OpenStreetMap.View all coordinates using: OpenStreetMapinfo
Authority control

The above mentioned example is referred to the city of Windsor, Ontario.