Difference between revisions of "Template:Canada provinces map/doc"
Jump to navigation
Jump to search
imported>Yahia.barie (bn:টেমপ্লেট:Canada provinces map) |
|||
| Line 7: | Line 7: | ||
<pre> | <pre> | ||
{{Canada provinces map | {{Canada provinces map | ||
| − | | | + | |map= |
|width = | |width = | ||
}} | }} | ||
| Line 16: | Line 16: | ||
<pre> | <pre> | ||
{{Canada provinces map | {{Canada provinces map | ||
| − | | | + | |map= |
|BC = British Columbia 16.4% | |BC = British Columbia 16.4% | ||
|AB = Alberta 12.7% | |AB = Alberta 12.7% | ||
| Line 31: | Line 31: | ||
|NU = Nunavut | |NU = Nunavut | ||
|width = 220px | |width = 220px | ||
| + | |border = | ||
| + | |caption = | ||
}} | }} | ||
</pre> | </pre> | ||
| Line 40: | Line 42: | ||
Parameters - wiki-links for the provinces and territories, can be used for grouping specific topics: | Parameters - wiki-links for the provinces and territories, can be used for grouping specific topics: | ||
| − | * | + | *map - ''Default [[:Image:Canada-provinces layout.png|Canada-provinces layout.png]]'' |
*BC - ''Default [[British Columbia]]'' | *BC - ''Default [[British Columbia]]'' | ||
*AB - ''Default [[Alberta]]'' | *AB - ''Default [[Alberta]]'' | ||
| Line 55: | Line 57: | ||
*NU - ''Default [[Nunavut]]'' | *NU - ''Default [[Nunavut]]'' | ||
*width - ''Default 280px'' | *width - ''Default 280px'' | ||
| + | *border - ''Default'' is blank | ||
| + | *caption - ''Default'' is blank | ||
<includeonly> | <includeonly> | ||
Revision as of 16:53, 15 April 2014
| 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
|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
|border =
|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
- width - Default 280px
- border - Default is blank
- caption - Default is blank