Jump to content

Fyrimynd:Canada provinces map/doc

Frá Wikipedia, hin frælsa alfrøðin

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

[rætta wikitekst]

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)
theblankset to any non-blank value to change "Northwest Territories" to "the Northwest Territories"
BCBritish Columbianame of an article (overrides the prefix parameter)
ABAlbertaname of an article (overrides the prefix parameter)
SKSaskatchewanname of an article (overrides the prefix parameter)
MBManitobaname of an article (overrides the prefix parameter)
ONOntarioname of an article (overrides the prefix parameter)
QCQuebecname 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)
YTYukonname of an article (overrides the prefix parameter)
NTNorthwest Territoriesname of an article (overrides the prefix parameter)
NUNunavutname 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

Sí eisini

[rætta wikitekst]