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

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
(Removed sitelinks migrated to Wikidata)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE -->
 
==Usage==
 
==Usage==
 
Add {{tl|Canada provinces map}} in articles pertaining [[provinces and territories of Canada]].
 
Add {{tl|Canada provinces map}} in articles pertaining [[provinces and territories of Canada]].
Line 31: Line 31:
 
|NU = Nunavut  
 
|NU = Nunavut  
 
|width = 220px
 
|width = 220px
|border =  
+
|border = <!-- none -->
 
|caption =  
 
|caption =  
 
}}
 
}}
Line 56: Line 56:
 
*NT - ''Default [[Northwest Territories]]''
 
*NT - ''Default [[Northwest Territories]]''
 
*NU - ''Default [[Nunavut]]''
 
*NU - ''Default [[Nunavut]]''
 +
*align - ''Default is right''
 
*width - ''Default 280px''
 
*width - ''Default 280px''
 
*border - ''Default'' is blank
 
*border - ''Default'' is blank
Line 62: Line 63:
 
<includeonly>
 
<includeonly>
 
<!-- PLEASE ADD CATEGORIES BELOW THIS LINE, THANKS. -->
 
<!-- PLEASE ADD CATEGORIES BELOW THIS LINE, THANKS. -->
 
 
[[Category:Dynamic map templates|Canada provinces map]]
 
[[Category:Dynamic map templates|Canada provinces map]]
  
<!-- PLEASE ADD INTERWIKIS BELOW THIS LINE, THANKS. -->
 
[[bn:টেমপ্লেট:Canada provinces map]]
 
[[fa:الگو:نقشه پیونددار کانادا]]
 
[[hsb:Předłoha:Wotkazowy kašćik Kanadiske prowincy]]
 
[[ka:თარგი:კანადის პროვინციების რუკა]]
 
[[tr:Şablon:Kanada eyalet]]
 
[[hr:Predložak:Karta kanadskih pokrajina]]
 
[[pt:Predefinição:Mapa das províncias do Canadá]]
 
 
</includeonly>
 
</includeonly>

Revision as of 19:54, 15 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 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 = <!-- 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: