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

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

Revision as of 19:37, 23 January 2012

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 16.4%
|AB = Alberta 12.7%
|SK = Saskatchewan 13.3%
|MB = Manitoba 16.8%
|ON = Ontario 14.1%
|QC = Quebec 13.3%
|NB = New Brunswick 
|PE = Prince Edward Island 9%
|NS = Nova Scotia 14%
|NL = Newfoundland and Labrador 15.1%
|YT = Yukon
|NT = Northwest Territories 
|NU = Nunavut 
|width = 220px
}}

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: