Difference between revisions of "Template:IRL motorway map for Dublin"

From blackwiki
Jump to navigation Jump to search
imported>Sswonk
(adjust imagemap for M3 revision)
imported>WOSlinker
(use size param & default to bigger size for map)
Line 1: Line 1:
<noinclude>'''NOTE:''' This is a subtemplate of {{tl|IRL motorway routebox}} which contains coding to select the proper map to display when the "map = yes" parameter is indicated in a routebox. It also contains the [[:mw:Extension:ImageMap|imagemap]] data for the maps.</noinclude>{{#tag:imagemap|{{#if:{{{1|}}}|{{#ifeq:{{{1}}}|M2|File:M2_motorway_(Ireland).png|{{#ifeq:{{{1}}}|M3|File:M3_motorway_(Ireland).png|File:M50_motorway_(Ireland).png}}}}|File:Major_roads_in_Dublin.png}}{{!}}180px
+
<noinclude>'''NOTE:''' This is a subtemplate of {{tl|IRL motorway routebox}} which contains coding to select the proper map to display when the "map = yes" parameter is indicated in a routebox. It also contains the [[:mw:Extension:ImageMap|imagemap]] data for the maps.</noinclude>{{#tag:imagemap|{{#if:{{{1|}}}|{{#ifeq:{{{1}}}|M2|File:M2_motorway_(Ireland).png|{{#ifeq:{{{1}}}|M3|File:M3_motorway_(Ireland).png|File:M50_motorway_(Ireland).png}}}}|File:Major_roads_in_Dublin.png}}{{!}}{{{size|290px}}}
 
desc bottom-right
 
desc bottom-right
 
rect 390 62 470 112 [[N2 road (Ireland)|N2 road]]
 
rect 390 62 470 112 [[N2 road (Ireland)|N2 road]]

Revision as of 15:39, 8 August 2010

NOTE: This is a subtemplate of {{IRL motorway routebox}} which contains coding to select the proper map to display when the "map = yes" parameter is indicated in a routebox. It also contains the imagemap data for the maps.

N2 roadM2 motorwayM1 motorwayM50 motorwayM3 motorwayM4 motorwayN32 roadN2 roadN3 roadN1 roadM50 motorwayN11 roadN4 roadN7 roadM50 motorwayN31 roadM50 motorwayM11 motorwayN11 roadMajor roads in Dublin.png
About this image