قالب:خريطة مواقع~/شرح
The Template Location_map+ includes Template:Location_map and allows marking more than one point on a map, with specified markers and labels.
This template uses "Template:Location_map~" (repeatedly) to specify each point to be shown on the map, using the typical named latitude, longitude, mark, label, background and size parameters as with Template:Location_map.
How to use
تعديل{{Location map+ |locname (selected from various "Template:Location_map_<locname>") |border = color of the border or none |alt = alt text for map (see WP:ALT) |caption = caption to display beneath map |float = left or right or center or none, for alignment of map on page |width = width of map image displayed |AlternativeMap = Alternative map file name (changes background map; edge coordinates are determined based on the map name); this is only recommended for use in templates |places = List of templates {{Location map~ ...}}, one for each marker/label to be shown on the map (see Example below). }}
{{Location map~ |locname (same, from various "Template:Location_map_<locname>") |label = label near this marker |label_size = label size in percent (such as "78" percent) |mark = filename of this marker, default is "Red pog.svg" |marksize = marker size in px, default 8 (pixels wide/tall) |alt = alt text for marker; default is empty |position = left or right or top or bottom, default puts label on right side of marker |background = background color of this label, default transparent |lon_dir = W for western longitudes, default E (East) |lat_dir = S for southern latitudes, default N (North) |lat_deg = 56 | lat_min = | lat_sec = latitude degrees/min/sec |lon_deg = 16 | lon_min = | lon_sec = longitude degrees/min/sec |link = article which clicking on the marker image takes you to; default is empty. If nonempty, alt should also be set. |lat = longitude (decimal, negative for western longitudes) (deprecated) |long = latitude (decimal, negative for southern latitudes) (deprecated) }}
See also Location map.
Example
تعديل{{خريطة مواقع+|Saudi Arabia|width=500|float=center |alt=المواقيت. |caption=<div style="text-align: center;">مواقع المواقيت.</div> |places= {{خريطة مواقع~|Saudi Arabia|lat_deg=24|lat_min=24|lon_deg=39|lon_min=32|position=right|label=[[مسجد ذو الحليفة|ذو الحليفة]]}} {{خريطة مواقع~|Saudi Arabia|lat=22.705|long=39.147|position=right|label=الجحفة}} {{خريطة مواقع~|Saudi Arabia|lat=21.643|long=40.404|position=right|label=قرن المنازل}} {{خريطة مواقع~|Saudi Arabia|lat=20.517|long=39.870|position=left|label=يلملم}} {{خريطة مواقع~|Saudi Arabia|lat=21.934|long=40.432|position=left|label=ذات عرق}} {{خريطة مواقع~|Saudi Arabia|lat_deg=21|lat_min=25|lon_deg=39|lon_min=49|position=left|label=مكة}} }}
All Parameters
تعديل
|
|
انظر أيضا
تعديل- Template:Location map - placing one marker/label by latitude/longitude.
- قالب:Location map many - placing multiple markers/labels.