Templat:Location map+

Dari Wikipedia bahasa Indonesia, ensiklopedia bebas
Langsung ke: navigasi, cari
[melihat] [sunting] [sejarah] [hapus singgahan] Ikon dokumentasi Dokumentasi templat

Templat Location_map+ mencakup Templat:Location_map dan memperbolehkan penandaan lebih dari satu titik pada peta, dengan penanda dan label tertentu.

Templat ini menggunakan "Templat:Location_map~" (secara berulang) untuk menyebutkan setiap titik yang akan ditunjukkan pada peta, menggunakan parameter lintang, bujur, penanda, label, latar belakang, dan ukuran biasa seperti Templat:Location_map.

Cara penggunaan[sunting | sunting sumber]

{{Location map+
|locname  (selected from various "Templat: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 "Templat: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)
}}

Lihat pula Location map.

Contoh[sunting | sunting sumber]

Map of Russia and its subdivisions with several cities highlighted: Saint Petersburg, Moscow, Samara, Tomsk, Novosibirsk, Krasnoyarsk, Khabarovsk, and Vladivostok.
Khabarovsk
Vladivostok
Krasnoyarsk
Tomsk
Novosibirsk
Samara
Moscow
Saint Petersburg
some russian cities
{{Location map+|Russia|width=800|float=center
 |alt=Map of Russia and its subdivisions with several cities highlighted: Saint Petersburg, Moscow, Samara, Tomsk, Novosibirsk, Krasnoyarsk, Khabarovsk, and Vladivostok.
 |caption=some russian cities
 |places=
  {{Location map~|Russia|lat_deg=48|lat_min=29|lon_deg=135|lon_min=04|position=left|background=#FFFFFF|label=Khabarovsk}}
  {{Location map~|Russia|lat_deg=43|lat_min=07|lon_deg=131|lon_min=54|position=right|background=#FFFFFF|label=Vladivostok}}
  {{Location map~|Russia|lat_deg=56|lat_min=00|lon_deg=92|lon_min=56|position=right|background=#FFFFFF|label=Krasnoyarsk}}
  {{Location map~|Russia|lat_deg=56|lat_min=30|lon_deg=84|lon_min=58|position=left|background=#FFFFFF|label=Tomsk}}
  {{Location map~|Russia|lat_deg=55|lat_min=02|lon_deg=82|lon_min=55|position=bottom|background=#FFFFFF|label=Novosibirsk}}
  {{Location map~|Russia|lat_deg=53|lat_min=11|lon_deg=50|lon_min=07|position=right|background=#FFFFFF|label=Samara}}
  {{Location map~|Russia|lat_deg=55|lat_min=45|lon_deg=37|lon_min=37|position=right|background=#FFFFFF|label=Moscow}}
  {{Location map~|Russia|lat_deg=59|lat_min=57|lon_deg=30|lon_min=19|position=right|background=#FFFFFF|label=Saint Petersburg}}
}}

Seluruh parameter[sunting | sunting sumber]

  
Parameter {{Location_map~}}
Parameter Standar Keterangan
{1} Germany  
alt= (empty) alt text for marker; see WP:ALT
background=   background-color: {};
label= {PAGENAME}  
label_size= 90 font-size: {}%
lat= 52.5  
lat_deg= 0  
lat_dir=    
lat_min= 0  
lat_sec= 0  
link= (empty) link for marker. If nonempty, alt= should also be specified.
long= 13.4  
lon_deg= 0  
lon_dir=    
lon_min= 0  
lon_sec= 0  
mark= Red pog.svg [[Image: {}]]
marksize= 8 width: {}px; font-size: {}px;
position= right  
  
Parameter {{Location_map+}}
Parameter Standar Keterangan
{1} Germany [[image: {}]]
AlternativeMap= Location map {1}|image [[image: {}]]
border= none border: {};
alt=   alt text for map; see WP:ALT
caption=    
float= center float: {};
label= {PAGENAME} image: {}
places=    
width= 240 image: {}px
width: ({}+2)px;

Lihat pula[sunting | sunting sumber]