Şablon:Location map

Westeros Türkiye Vikipedi sitesinden
16.58, 30 Ağustos 2022 tarihinde Archmaester (mesaj | katkılar) tarafından oluşturulmuş 18510 numaralı sürüm (1 revizyon içe aktarıldı)
(fark) ← Önceki sürüm | Güncel sürüm (fark) | Sonraki sürüm → (fark)


This template generates a location map as a composite image consisting of a map and a location mark. Optionally a label and caption can be added. Note: The template was copied whole from Wikipedia:Template:Location map, while we don't use all of its functionality, it was left intact to ease the process of future integration.

Basic Usage

Simple syntax versions

{{Location map| RegionName | long=XX |lat=YY }}
{{Location map| RegionName | long=XX |lat=YY | label= LocationName }}

Additional Options

Additional Map display parameters
Parameter Description
width Determines the width of the map in pixels. The default is 350. Do not include px, for example: width=300, not width=300px.
caption The text of a caption to be displayed below the map. Specifying a caption will cause the map to be displayed with a frame. If caption is defined but is not assigned a value, the map will not be framed and no caption will be displayed. If caption is not defined, the map will not be framed and a default caption will be generated. The default caption is created from the label parameter (or the current page name if label not defined) and the name parameter from map definition template. See the examples below.
alt Alt text for map; shown on mouse hover.
position The position of the label relative to the mark. Valid values are left, right, top and bottom. The default is right.
mark The name of an image to display as the mark. The default is Red pog.png (). See examples at Category:Location markers.
link Specifies a wiki link which will be followed if the reader clicks on the mark. The name of the linked article is displayed when the mouse pointer hovers over the mark.

Empty template with all the options

{{Location map
| {{{1}}}
| width      = 
| caption    = 
| alt        = 
| label      = 
| label_size = 
| position   = 
| mark       = 
| marksize   = 
| link       = 
| lat_deg    = 
| lon_deg    = 
}}

References

Şablon:EnWP