Home
Random
Recent changes
Special pages
Community portal
Preferences
About Stockhub
Disclaimers
Search
User menu
Talk
Contributions
Create account
Log in
Editing
Module:Location map/data/CanadaGeo/doc
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> {{Module:Location map/data/doc |image = |examples= Some common label background colors are: <small>#</small>CCCC55 for <span style="color:#CCCC55">'''dim yellow'''</span>, ::* <small>#</small>44EE44 for <span style="color:#44EE44">'''lime green'''</span>, <small>#</small>BBBBBB for <span style="color:#BBBBBB">'''gray'''</span>, ::* <small>#</small>44CCDD for <span style="color:#44CCDD">'''light aqua'''</span>, <small>#</small>DDDDDD for <span style="color:#DDDDDD">'''light gray'''</span> (almost white), ::* PaleGreen for <span style="color:PaleGreen">'''pale green'''</span>, <span style="color:PaleTurquoise">'''PaleTurquoise'''</span>, <span style="color:DarkOrange">'''DarkOrange'''</span>, etc. ::* By default, the label is ''transparent'' overwriting the image. For small lettering use label_size=80, for tiny words use 55. Note that the words in the label will wrap unless using "nbsp": <small>DO&nbsp;NOT&nbsp;WRAP</small>. When specifying image "width=270" be sure to ''OMIT'' "px" (which causes the image to span the width of the screen) because "px" cannot (yet) be detected by the (new) MediaWiki language which processes those mapping templates. See each specific mapping template for other parameters to pass. ===Simple syntax=== {{Location map|CanadaGeo|lat=58.7691667|long=-94.1691667|label=Churchill|caption=[[Churchill, Manitoba|Churchill]] in [[Canada]]}} <pre>{{Location map|CanadaGeo|lat= |long=- |caption={{subst:PAGENAME}} in [[Canada]]}}</pre> {{clear}} <!-- ---- Halifax: 44.67, -63.61 <!-- ---- Edmonton: 53.57, -113.42 --> ===Multiple labels=== <!-- ----------------------------- Ottawa -- {{Location map| CanadaGeo| | caption = Ottawa in Canada | width=240 | label=Ottawa | label_size=90 | background = #DDDD44 | position=top | lat= 45.42 | long = -75.67 | mark=Red_pog2.svg | marksize=10 | float=right }} <pre style="overflow: auto"> {{Location map | CanadaGeo| | caption = Ottawa in Canada | width=240 <! omit "px" > | label=Ottawa | label_size=90 | background = #DDDD44 | position=top <! or left/right/bottom > | lat = 45.42 <! latitude 40.6-92.5 > | long = -75.67 <! longitude 55.1-125.1w > | mark=Red_pog2.svg<nowiki><! omit "Image:" ></nowiki> | marksize=10 <! default: 8, 1=none > | float=right <! left/center > }} </pre> --> <!-- ------------------------------- Vancouver/Winnipeg/Quebec --> {{Location map many| CanadaGeo| | caption = Vancouver, Quebec, Edmonton & Winnipeg | label=Vancouver | label_size=70 | background = <!--aqua-->#44CCDD | position=top | lat = 49.25 | long= -123.1 <!-- LIVE --> | mark=Green_pog.svg | marksize=10 <!--default 8, 1=none--> | label2=Quebec City | label2_size=70 | bg2 = DarkOrange | pos2 =bottom | lat2 = 46.80 | long2 = -71.38 | mark2=Blue_pog.svg <!--marker image--> | mark2size=10<!-- marker size, default 8--> | label3=Alert | label3_size=70 | bg3 = PaleGreen | pos3 =right | lat3 = 82.46 | long3 = -62.50 | mark3=Blue_pog.svg | mark3size=8 | label6=Halifax | lat6 = 44.67 | long6 = -63.61 | label7=Edmonton | lat7 = 53.57 | long7 = -113.42 | label4=Winnipeg | label4_size=70 | bg4 = SkyBlue | pos4 = left | lat4 = 49.88 | long4 = -97.13 | mark4=Blue_pog.svg | mark4size=6 | label5=Churchill,_MB | lat5 = 58.76 | long5 = -94.12 | bg5 = #77EE77 | pos5 = top | mark5=Blue_pog.svg | mark5size=6 | width=430 <!--omit "px"--> | float=right <!--(or left, center) - position of map--> }} <pre style="overflow: auto"> {{Location map many | CanadaGeo| | caption = Vancouver, Quebec, Edmonton & Winnipeg | lon_shift = 4.1 | label=Vancouver | label_size=70 | background = <!--aqua-->#44CCDD | position=top<! left/right/bottom > | lat = 49.25 <!--40.6 to 92.5 --> | long= -123.1 <!--55.1 to 125.1W--> | mark=Green_pog.svg | marksize=10 <! default 8, 1=none > | label2=Quebec City | label2_size=70 | bg2 = DarkOrange | pos2= bottom <!or right/left/top > | lat2= 46.80 | long2 = -71.38 | mark2=Blue_pog.svg | mark2size=10<! marker size (8) > | label3=Alert | label3_size=70 | bg3 = PaleGreen | pos3=right | lat3= 82.46 | long3= -62.50 | mark3=Blue_pog.svg | mark3size=8 | label6=Edmonton | lat6 = 53.57 | long6 = -113.42 | label4=Winnipeg | label4_size=70 | bg4 = SkyBlue | pos4 =left | lat4 = 49.88 | long4 = -97.13 | mark4=Blue_pog.svg | mark4size=6 | label5=Churchill,_MB | lat5 = 58.76 | long5 = -94.12 | bg5 = #77EE77 | pos5 = top | mark5=Blue_pog.svg | mark5size=6 | width=430 <!--map width--> | float=right <!--left/center--></nowiki> }} </pre> <!-- ------------------------ Quebec/Yellowknife/Chrhill/Alert--> {{Location map many | CanadaGeo | <!--AlternativeMap= --><!--name of image (omit "Image:")--> | width=320 <!--omit "px"--> | lon_shift = 4.1 | bottom = 41.3 | top = 91.1 | label=Quebec City | label_size=70 | bg=DarkOrange | pos=right <!--EX 3: LIVE DATA--> | lat = 46.80 | long = -71.38 | mark=Blue_pog.svg | marksize=10 <!--(default: 8)--> | label2=Yellowknife | label2_size=70 | bg2 = #DDDD44 | pos2=left | lat2 = 62.45 | long2 = -114.40 | mark2=Blue_pog.svg <!--marker (omit "Image:")--> | mark2size=10 <!--marker size (default: 8, 1=none)--> | label3=Churchill,_MB | label3_size=70 | bg3=#77EE77 | pos3=right | lat3=58.76 |long3= -94.12 | mark3=Blue_pog.svg | mark3size=8 | label4=Alert | bg4=PaleGreen | pos4=right | label4_size=70 | lat4=82.46 | long4= -62.50 | mark4=Blue_pog.svg | mark4size=8 | label5=ArcticCircle | bg5=#99CCFF | pos5=top | label5_size=70 | lat5= 66.5 | long5= -90 | mark5=Blue_pog.svg | mark5size=8 | label6=Winnipeg | label6_size=70 | bg6 = SkyBlue | pos6=left | lat6 = 49.88 | long6 = -97.13 | mark6=Blue_pog.svg | mark6size=6 | float=right <!--(or left, center) - position of map--> | caption = Quebec east, Yellowknife in northwest, Churchill (center), Alert (top) }} <pre style="overflow: auto"> {{Location map many | CanadaGeo| | width=320 <!--omit "px"--> | lon_shift = 4.1 | bottom= 41.3 | top= 91.1 | label=Quebec City | label_size=70 |pos=right | bg = DarkOrange | lat=46.48 | long= -71.38 | mark=Blue_pog.svg | marksize=10 | label2=Yellowknife | label2_size=70 | bg2=#DDDD44 | pos2=left | lat2=62.45|long2=-114.40 | mark2=Blue_pog.svg | mark2size=10<!default:8> | label3=Churchill,_MB | label3_size=70 | bg3=#77EE77 | pos3=right | lat3=58.76 |long3= -94.12 | mark3=Blue_pog.svg | mark3size=8 | label4=Alert | bg4=PaleGreen | pos4=right | label4_size=70 | skew4=0.00005 | lat4=82.46 | long4= -62.50 | mark4=Blue_pog.svg | mark4size=8 | label5=ArcticCircle | bg5=#99CCFF | pos5=top | label5_size=70 | skew5=0.00005 | lat5= 66.5 | long5= -90 | mark5=Blue_pog.svg | mark5size=8 | float=right <!--left/center--> | caption = Quebec east, Yellowknife in northwest, Churchill (center), Alert (top) }} </pre> | see also = * [[Module:Location map/data/Canada]] }} <includeonly> <!-- Categories below this line, please; interwikis at Wikidata --> [[Category:Maps of Canada]] [[Category:Canada location map modules|Canada Geo]] </includeonly>
Summary:
Please note that all contributions to Stockhub may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Stockhub:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Template used on this page:
Module:Location map/data/doc
(
edit
)