سانچو:Geobox2 map/doc

کليل ڄاڻ چيڪلي، وڪيپيڊيا مان

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 use the corresponding line in Module:Geobox map/data

7) background … a satellite 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 formatted for inclusion in the {{Geobox}}

Examples[سنواريو]

Self-contained map[سنواريو]

{{Geobox2 map|Map slovakia turcianske teplice.png|Location of Turčianske Teplice in Slovakia}}

Script error: The module returned a nil value. It is supposed to return an export table.

SVG outline map[سنواريو]

{{Geobox2 map|Greater Fatra (SVK) - location map.svg|Location of Greater Fatra Range in Slovakia}}

Script error: The module returned a nil value. It is supposed to return an export table.

SVG outline map with hypsometric background[سنواريو]

{{Geobox2 map|Greater Fatra (SVK) - location map.svg|Location of Greater Fatra Range in Slovakia|||||Slovakia demis.png}}

Script error: The module returned a nil value. It is supposed to return an export table.


SVG outline map with hypsometric background, relative location[سنواريو]

{{Geobox2 map|Greater Fatra (SVK) - location map.svg|Location of something||25|25||Slovakia demis.png}}

Script error: The module returned a nil value. It is supposed to return an export table.

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}}

Script error: The module returned a nil value. It is supposed to return an export table.

SVG outline map with hypsometric background, coordinates location, adjusted map size[سنواريو]

By setting the size parameter map width can be adjusted, all displayed 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}}

Script error: The module returned a nil value. It is supposed to return an export table.

See also[سنواريو]