Jump to content

टेम्पलेट:Canada provinces map/doc

विकिपीडिया से

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
|
|SK = Saskatchewan
|MB = Manitoba
|
|
|NB = New Brunswick
|PE = Prince Edward Island
|NS = Nova Scotia
|NL = Newfoundland and Labrador
|
|
|
|width = 220px
|border = <!-- none -->
|caption = 
}}

The prefix and XY parameters are used to adjust the wikilinks for the provinces and territories.

ParameterDefaultUsage
alignrightPossible values are left, right, center, and none
mapCanada-provinces layout.pngAny image can be used, but be careful to make sure the labels are aligned with the provinces and territories
prefixblanktext to use to prefix each link (for example, Geography of)
BCBritish Columbianame of an article (overrides the prefix parameter)
SKSaskatchewanname of an article (overrides the prefix parameter)
MBManitobaname of an article (overrides the prefix parameter)
NBNew Brunswickname of an article (overrides the prefix parameter)
PEPrince Edward Islandname of an article (overrides the prefix parameter)
NSNova Scotianame of an article (overrides the prefix parameter)
NLNewfoundland and Labradorname of an article (overrides the prefix parameter)
width280px
borderblankset to none to remove the border (which is useful when there is no image, and the map is embedded in a table or sidebar)
captionblankuse to add a caption to the image