Lompat ke isi

Templat:Location map~/TemplateData

Dari Wikipedia bahasa Indonesia, ensiklopedia bebas

A helper template for Template:Location map+. Creates a single place marker on a map.

Parameter templat[Kelola data templat]

ParameterKeteranganJenisStatus
Map name1

Must be the same as specified in the parent Location map +. For example, specifying England will use the values for England in Module:Location map/data/England if it exists, or {{Location map England}} otherwise.

Katawajib diisi
Labellabel

The label to display; may be wikilinked.

Baku
No label displayed by default, just a marker.
Isidisarankan
Label font sizelabel_size

The font size to use for the label, given as a percentage of the normal font size (<100 = smaller, >100 = larger). The default is 90. Do not include %. If set to zero, the label is only shown on hovering over the marker.

Angkaopsional
Label positionposition

Label position relative to the marker. May be left, right, top, or bottom.

Baku
Default is "right".
Tak dikenalopsional
Label background colorbackground

A background color for the label.

Baku
The label has no background color; the text appears directly on top of the map.
Contoh
"white"
Tak dikenalopsional
Marker imagemark

The name of an image to display as the mark. See examples at Commons:Location markers and Commons:Category:Map icons.

Baku
The default is Red pog.svg, a red spot.
Contoh
Cyan pog.svg
Berkasopsional
Marker image sizemarksize

The size, in pixels, of the marker image. Specify as "10", not "10px"

Baku
8
Contoh
10
Angkaopsional
Marker linklink

The name of a page to go to when the link is clicked. Do not wrap in [[square brackets]].

Contoh
Yellowstone National Park
Nama halamandisarankan
Latitude (degrees)lat_deg

The location of the marker. If using decimal degrees, do not specify minutes or seconds. If using signed (positive North, negative South) decimal degrees, do not specify direction.

Contoh
-10.34
Angkawajib diisi
Latitude (minutes)lat_min

The location of the marker. If using decimal degrees, do not specify this value.

Angkaopsional
Latitude (seconds)lat_sec

The location of the marker. If using decimal degrees, do not specify this value.

Angkaopsional
Latitude (North/South)lat_dir

"N" for North (default), "S" for South. Do not use any other value. If latitude (degrees) uses negative values for South, this value is not needed.

Baku
North.
Kataopsional
Longitude (degrees)lon_deg

The location of the marker. If using decimal degrees, do not specify minutes or seconds. If using signed (positive East, negative West) decimal degrees, do not specify direction.

Contoh
-10.34
Angkawajib diisi
Longitude (minutes)lon_min

The location of the marker. If using decimal degrees, do not specify this value.

Angkaopsional
Longitude (seconds)lon_sec

The location of the marker. If using decimal degrees, do not specify this value.

Angkaopsional
Longitude (East/West)lon_dir

"E" for East (default), "W" for West. Do not use any other value. If latitude (degrees) uses negative values for West, this value is not needed.

Baku
East.
Kataopsional