Template talk:Geobox2 map
From Wikipedia, the free encyclopedia
[edit] Usage
{{Geobox2 map|1…map|2…caption|3…size|4…location_x|5…location…y|6…locator|7…background|8…table}}
Parameters: 1) map … map filename, e.g. Greater Fatra (SVK) - location map.svg
2) caption … map caption, e.g. Location of Greater Fatra range in Slovakia
3) size … map width in pixels (without px), e.g. 256 (default value)
4,5) location_x, location_y … horizontal and vertical position of the locator dot, there are two possible value types:
- a) % of the map width (without %), e.g. 25 and 25 will place a locator dot the same number of pixels form its top-left corner
- b) longitude and latitude as a decimal figure, negative for the western and southern hemispheres, e.g. 19.08 and 48.94, locator field must be set to adjust the coordinates
6) locator … calibration for the given map, e.g. Slovakia will create a link to the Template:Geobox locator Slovakia
7) background … a satelite or hypsometric map that will get displayed below the map, useful when the main map are just border and location outlines, e.g. Slovakia demis.png
8) table … if this parameter is non-empty the output is formated for inclusion in the {{Geobox}}
[edit] Examples
[edit] Self-contained map
{{Geobox2 map|Map slovakia turcianske teplice.png|Location of Turčianske Teplice in Slovakia}}
[edit] SVG outline map
{{Geobox2 map|Greater Fatra (SVK) - location map.svg|Location of Greater Fatra Range in Slovakia}}
[edit] SVG outline map with hypsometric background
{{Geobox2 map|Greater Fatra (SVK) - location map.svg|Location of Greater Fatra Range in Slovakia|||||Slovakia demis.png}}
[edit] SVG outline map with hypsometric background, relative location
{{Geobox2 map|Greater Fatra (SVK) - location map.svg|Location of something||25|25||Slovakia demis.png}}
[edit] SVG outline map with hypsometric background, coordinates location
{{Geobox2 map|Greater Fatra (SVK) - location map.svg|Location of Borišov Mountain||19|49|Slovakia|Slovakia demis.png}}
[edit] SVG outline map with hypsometric background, coordinates location, adjusted map size
By setting the size parameter map width can be adjusted, all diplayed maps and location will get adjusted automatically
{{Geobox2 map|Greater Fatra (SVK) - location map.svg|Location of Borišov Mountain|512|19|49|Slovakia|Slovakia demis.png}}
[edit] Another sample
{{Geobox2 map|Czechia blank.svg|Pilsen|||||Czechia demis.png}}