Template:Canada location info
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
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | Wikidata entry | Wikidata entry for the article of the subject of the category on Commons | nothing | required |
2 | Latitude | Decimal 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) | nothing | required |
3 | Longitude | Decimal 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) | nothing | required |
4 | Canadian postal abbreviation | The 2-letter code used for Canadian provinces and territories. It is useful for selecting, where available, appropriate match resources for a given political region. | nothing | required |
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 location | View all coordinates using: OpenStreetMap |
---|
Authority control |
The above mentioned example is referred to the city of Windsor, Ontario.