Bản mẫu:Geobox2 map/doc
Đây là một trang con tài liệu sử dụng bản mẫu dành cho Bản mẫu:Geobox2 map. Nó gồm có các thông tin hướng dẫn sử dụng, thể loại và các nội dung khác không thuộc về phần trang bản mẫu gốc. |
Bản mẫu này sử dụng Lua: |
Cách sử dụng sửa
{{Geobox2 map|1…map|2…caption|3…size|4…location_x|5…location…y|6…locator|7…background|8…table}}
Các tham số: 1) map … map filename, e.g. Greater Fatra (SVK) - location map.svg
2) caption … map caption, e.g. Vị trí của Greater Fatra range ở 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 Mô đun: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}}
Các ví dụ sửa
Self-contained map sửa
{{Geobox2 map|Map slovakia turcianske teplice.png|Vị trí của Turčianske Teplice ở Slovakia}}
SVG outline map sửa
{{Geobox2 map|Greater Fatra (SVK) - location map.svg|Vị trí của Greater Fatra Range ở Slovakia}}
SVG outline map with hypsometric background sửa
{{Geobox2 map|Greater Fatra (SVK) - location map.svg|Vị trí của Greater Fatra Range ở Slovakia|||||Slovakia demis.png}}
SVG outline map with hypsometric background, relative location sửa
{{Geobox2 map|Greater Fatra (SVK) - location map.svg|Vị trí của something||25|25||Slovakia demis.png}}
SVG outline map with hypsometric background, coordinates location sửa
{{Geobox2 map|Greater Fatra (SVK) - location map.svg|Vị trí của Borišov Mountain||19|49|Slovakia|Slovakia demis.png}}
SVG outline map with hypsometric background, coordinates location, adjusted map size sửa
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|Vị trí của Borišov Mountain|512|19|49|Slovakia|Slovakia demis.png}}
Xem thêm sửa
- Thể loại:Trang sử dụng hộp địa lý có bản đồ định vị (58)
- Thể loại:Trang sử dụng hộp địa lý có bản đồ định vị không rõ (5)
- Thể loại:Trang sử dụng hộp địa lý có các tham số bản đồ định vị x và y (24)