Difference between revisions of "Template:Canada provinces map/doc"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
(Removed sitelinks migrated to Wikidata)
imported>Frietjes
Line 17: Line 17:
 
{{Canada provinces map
 
{{Canada provinces map
 
|map=
 
|map=
|BC = British Columbia 16.4%
+
|BC = British Columbia  
|AB = Alberta 12.7%
+
|AB = Alberta  
|SK = Saskatchewan 13.3%
+
|SK = Saskatchewan  
|MB = Manitoba 16.8%
+
|MB = Manitoba  
|ON = Ontario 14.1%
+
|ON = Ontario  
|QC = Quebec 13.3%
+
|QC = Quebec  
 
|NB = New Brunswick  
 
|NB = New Brunswick  
|PE = Prince Edward Island 9%
+
|PE = Prince Edward Island  
|NS = Nova Scotia 14%
+
|NS = Nova Scotia  
|NL = Newfoundland and Labrador 15.1%
+
|NL = Newfoundland and Labrador  
 
|YT = Yukon
 
|YT = Yukon
 
|NT = Northwest Territories  
 
|NT = Northwest Territories  

Revision as of 17:11, 16 April 2014

Usage

Add {{Canada provinces map}} in articles pertaining provinces and territories of Canada.

Simple syntax:

{{Canada provinces map
|map=
|width = 
}}

A Canada provinces map with linked labels will be rendered.

Complete syntax:

{{Canada provinces map
|map=
|BC = British Columbia 
|AB = Alberta 
|SK = Saskatchewan 
|MB = Manitoba 
|ON = Ontario 
|QC = Quebec 
|NB = New Brunswick 
|PE = Prince Edward Island 
|NS = Nova Scotia 
|NL = Newfoundland and Labrador 
|YT = Yukon
|NT = Northwest Territories 
|NU = Nunavut 
|width = 220px
|border = <!-- none -->
|caption = 
}}

Parameters

The "Map" parameters can be changed with map images of equal proportions.

The "width" parameter can be changed, modifies the map width, value to include "px", example: width=300px

Parameters - wiki-links for the provinces and territories, can be used for grouping specific topics: