:지도 정보/설명문서

위키백과, 우리 모두의 백과사전.

이 틀은 정보 상자 내에서 지도의 출력을 제시하는 하나의 방법을 제공하는 도움 틀입니다. 선택사항으로 지역 표시자가 포함될 수 있습니다.

사용법[편집]

변수 설명[편집]

필드명 설명
map 출력될 지도의 이름을 지정합니다. 이것은 유일한 필수항목입니다.
map_width 출력될 지도의 너비를 설정합니다. 예를 들어, map_width=220라고 해야하며, map_width=220px와 같이 단위를 붙이면 안됩니다.
default_width When this template is used in another template, e.g. an infobox, the default width of the map image preferred by the infobox should be specified here. For example map_width=220. When used with location maps, this value may be modified by a certain value if specified in the location map template. The default value is 220px.
relief Selects a relief map when assigned any value. This only works when the geographical coordinates method is used and then only for a few maps. See Map display methods.
map_alt Alt text for the map. A visually impaired reader who uses a screen reader will have access to this text. See WP:ALT.
map_caption The caption that appears below the map if one is required.
mark The image file that will be used to mark the location on the map. The default is Red pog.svg. See below.
mark_width The width of the marker image to be displayed. For example mark_width=8 and not mark_width=8px. The default width is 8px.
label A text message that will be displayed next to the marker.
label_position The position of a label with respect to the marker. Valid values are left, right, top, bottom and none.
lat
long
Specifies the latitude and longitude of the location when the geographical coordinates method is used. This value may be specified as a signed decimal degree.
lat_deg
lat_min
lat_sec
lat_dir

lon_deg
lon_min
lon_sec
lon_dir

Specifies the latitude and longitude of the location when the geographical coordinates method is used. This value may be specified in dms+hemisphere format.
x
y
Specifies the position of the location marker. The coordinates of the marker in pixels based on a map width of 1000 pixels. The template will scale these values for proper display. See below.
x%
y%
Specifies the position of the location marker. x% specifies the percentage of the distance across the image from the left edge and y% specifies the percentage of the distance down from the top edge. See below.


같이 보기[편집]