Difference between revisions of "Template:Canada provinces map/doc"
Jump to navigation
Jump to search
imported>Frietjes |
imported>Frietjes (→Usage) |
||
| Line 7: | Line 7: | ||
<pre> | <pre> | ||
{{Canada provinces map | {{Canada provinces map | ||
| + | |align = right | ||
|map= | |map= | ||
| + | |prefix = | ||
|width = | |width = | ||
}} | }} | ||
| Line 16: | Line 18: | ||
<pre> | <pre> | ||
{{Canada provinces map | {{Canada provinces map | ||
| + | |align = right | ||
|map= | |map= | ||
| + | |prefix = | ||
|BC = British Columbia | |BC = British Columbia | ||
|AB = Alberta | |AB = Alberta | ||
Revision as of 17:35, 16 April 2014
| 40px | This is a documentation subpage for Template:Canada provinces map. It contains usage information, categories and other content that is not part of the original template page. |
Usage
Add {{Canada provinces map}} in articles pertaining provinces and territories of Canada.
Simple syntax:
{{Canada provinces map
|align = right
|map=
|prefix =
|width =
}}
A Canada provinces map with linked labels will be rendered.
Complete syntax:
{{Canada provinces map
|align = right
|map=
|prefix =
|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:
- map - Default Canada-provinces layout.png
- BC - Default British Columbia
- AB - Default Alberta
- SK - Default Saskatchewan
- MB - Default Manitoba
- ON - Default Ontario
- QC - Default Quebec
- NB - Default New Brunswick
- PE - Default Prince Edward Island
- NS - Default Nova Scotia
- NL - Default Newfoundland and Labrador
- YT - Default Yukon
- NT - Default Northwest Territories
- NU - Default Nunavut
- align - Default is right
- width - Default 280px
- border - Default is blank
- caption - Default is blank