Difference between revisions of "Template:Alberta regions map"

From blackwiki
Jump to navigation Jump to search
blackwiki>Arctic.gnome
(modifying for use with historic places)
m (26 revisions imported)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<div style="position: relative; width:280px; float:right; margin-left:12px; border:none;">
 
<div style="position: relative; width:280px; float:right; margin-left:12px; border:none;">
 
<div style="position: relative;">
 
<div style="position: relative;">
<div style="position: absolute; font-size:normal; left: 100px; top: 80px; padding: 0;text-align:center;">'''[[{{#switch:{{{theme|}}}|historicplaces|List of historic places in Northern Alberta|Northern Alberta}}|Northern<br>Alberta]]'''</div>
+
<div style="position: absolute; font-size:normal; left: 100px; top: 80px; padding: 0;text-align:center;">'''[[{{#switch:{{{theme|}}}|historicplaces=List of historic places in Northern Alberta|Northern Alberta}}|Northern<br>Alberta]]'''</div>
<div style="position: absolute; font-size:smaller; left: 50px; top: 280px; padding: 0; text-align:right;">[[{{#switch:{{{theme|}}}|historicplaces|List of historic places in Alberta's Rockies|Alberta's Rockies}}|<span style="line-height:8px;">Alberta's<br>Rockies</span>]]</div>
+
<div style="position: absolute; font-size:smaller; left: 50px; top: 280px; padding: 0; text-align:right;">[[{{#switch:{{{theme|}}}|historicplaces=List of historic places in Alberta's Rockies|Alberta's Rockies}}|<span style="line-height:8px;">Alberta's<br>Rockies</span>]]</div>
<div style="position: absolute; font-size:normal; left: 155px; top: 370px; padding: 0;text-align:center;">'''[[{{#switch:{{{theme|}}}|historicplaces|List of historic places in Southern Alberta|Southern Alberta}}|Southern<br>Alberta]]'''</div>
+
<div style="position: absolute; font-size:normal; left: 155px; top: 370px; padding: 0;text-align:center;">'''[[{{#switch:{{{theme|}}}|historicplaces=List of historic places in Southern Alberta|Southern Alberta}}|Southern<br>Alberta]]'''</div>
<div style="position: absolute; font-size:smaller; left: 114px; top: 340px; padding: 0;text-align:center;">[[{{#switch:{{{theme|}}}|historicplaces|List of historic places in the Calgary Region|Calgary Region}}|<span style="line-height:8px;">Calgary<br>Region</span>]]</div>
+
<div style="position: absolute; font-size:smaller; left: 120px; top: 335px; padding: 0;text-align:center;">[[{{#switch:{{{theme|}}}|historicplaces=List of historic places in the Calgary Region|Calgary Metropolitan Region}}|<span style="line-height:8px;">Calgary<br>Region</span>]]</div>
<div style="position: absolute; font-size:smaller; left: 130px; top: 242px; padding: 0;text-align:center;">[[{{#switch:{{{theme|}}}|historicplaces|List of historic places in the Edmonton Capital Region|Edmonton Capital Region}}|<span style="line-height:8px;">Edmonton<br>Capital Region</span>]]</div>
+
<div style="position: absolute; font-size:smaller; left: 125px; top: 240px; padding: 0;text-align:center;">[[{{#switch:{{{theme|}}}|historicplaces=List of historic places in the Edmonton Capital Region|Edmonton Metropolitan Region}}|<span style="line-height:8px;">Edmonton<br>Region</span>]]</div>
<div style="position: absolute; font-size:normal; left: 120px; top: 280px; padding: 0;">'''[[{{#switch:{{{theme|}}}|historicplaces|List of historic places in Central Alberta|Central Alberta}}|Central Alberta]]'''</div>
+
<div style="position: absolute; font-size:normal; left: 120px; top: 280px; padding: 0;">'''[[{{#switch:{{{theme|}}}|historicplaces=List of historic places in Central Alberta|Central Alberta}}|Central Alberta]]'''</div>
 
[[Image:{{{Map|Alberta-regions map.png}}}|250px|Alberta Regions]]</div>
 
[[Image:{{{Map|Alberta-regions map.png}}}|250px|Alberta Regions]]</div>
 
</div><noinclude>
 
</div><noinclude>
  
'''<nowiki>{{Alberta regions map|Map=Alberta-regions map.png}}</nowiki>''' or '''<nowiki>{{Alberta regions map}}</nowiki>'''produces:
+
{{documentation}}
==Usage==
 
'''<nowiki>{{Alberta regions map|Map=[map]}}</nowiki>'''
 
*Default map is [[:Image:Alberta-regions map.png|Alberta-regions map.png]], can be replaced with equivalent images
 
[[Category:Dynamic map templates|Alberta regions map]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 14:32, 19 October 2020

Template documentation[view] [edit] [history] [purge]

This template is used to create a map of Alberta with links to regions.

Without parameters, the template {{Alberta regions map}} produces the above default map.
Adding the parameter Map= can be used to replace the map with one that has the subject area highlighted. For example, {{Alberta regions map|Map=Alberta-rockies_map.png}} produces:
Adding the parameter theme=historicplaces will make the links point to list of historic sites. For example, {{Alberta regions map|Map=Alberta-rockies_map.png|theme=historicplaces}} produces: