Underrail Wiki:Imagemap guide
Jump to navigation
Jump to search
We now have support for imagemaps! With this we can create imagemaps of each Global Map image with clickable links on each zone, leading into article or screenshot image of that zone. This will be a handy visual way of navigating through location articles. The work-intensive part is defining coordinates for all the link shapes. Hundreds of zones on the global maps, all of them polygon-shaped. There are various online tools to help with this, for example https://imagemap.org/
Of course, imagemaps can also be used on anything else you want.
Syntax
See https://www.mediawiki.org/wiki/Extension:ImageMap for all the details.
poly x y x y x y [[wikilink]]
(with as many pairs of xy coordinates as necessary) for precise polygon shapes. Ideally use this to define link regions.circle x y radius [[wikilink]]
for simple circles if you're too lazy for polygons. Just a spot in the center and a radius.rect x y x y [[wikilink]]
(upper left, lower right) for rectangles. Not a very good option for global map work since the zones are rotated 45 degrees.- The below SGS imagemap has examples of all.
- The coordinates map to the full size source image and automatically scale down when the image is thumbnailed into smaller size.
- Tip: you can visually check the shape of clickable areas on imagemaps by navigating links on the page with tab and shift+tab.