Bản mẫu:Hộp thông tin đèo núi

Bách khoa toàn thư mở Wikipedia
(Đổi hướng từ Bản mẫu:Infobox mountain pass)
Tài liệu bản mẫu[xem] [sửa] [lịch sử] [làm mới]

Bản mẫu này có thể được sử dụng để tạo ra một hộp thông tin cho một bài viết về một đèo núi. Các hộp thông tin khác có thể được nhúng trong bản mẫu này, và nó có thể được nhúng trong các hộp thông tin khác. Để biết thêm chi tiết về các tùy chọn này, hãy đọc hộp thông tin đang nhúng.

Cách sử dụng[sửa mã nguồn]

Cắt và dán hộp[sửa mã nguồn]

Các tham số này có thể được sử dụng để tạo ra một hộp thông tin hàm đầy đủ.

{{Hộp thông tin đèo núi
| name = 
| photo = 
| photo_caption = 
| elevation = 
| traversed = 
| location = 
| range = 
| coordinates = 
}}

Các tham số đầy đủ[sửa mã nguồn]

{{Hộp thông tin đèo núi
| name              = 
| other_name        = 
| photo             = 
| photo_size        = 
| photo_alt         = 
| photo_caption     = 
| map               = 
| map_alt           = 
| map_caption       = 
| map_relief        = 
| map_size          = 
| label             = 
| label_position    = 
| elevation         = 
| elevation_m       = 
| elevation_ft      = 
| elevation_ref     = 
| traversed         =
| location          = 
| range             = 
| grid_ref_UK       = 
| grid_ref_Ireland  = 
| coordinates       = 
| coordinates_ref   = 
| topo              = 
| embedded          = 
| child             =
}}

Mô tả tham số[sửa mã nguồn]

Bảng này mô tả hầu hết các tham số có sẵn. Xem dưới đây cho các tham số bổ sung. Chỉ có tham số name phải được gán một giá trị. Hãy nhớ để làm giảm chiều rộng của hình ảnh và bản đồ do đó họ không phải không thích đáng chiếm ưu thế trong hộp thông tin.

Tham số Miêu tả
name Required. The name of the pass. It will be displayed at the top of the infobox. In most cases this should be the same as the article name less any disambiguation. For example, if the article title is Lolo Pass (Idaho–Montana) then name=Lolo Pass.
other_name This parameter can be used to display the name in the local language or for an alternate English name if it is commonly used. Use a language template if the name is not English. For example: {{lang-fr|Ventour in Provençal}} → tiếng Pháp: Ventour in Provençal.
photo The name of an image file to be displayed. No special formatting is needed.
photo_width Can be used to change the display width of the image. The default and maximum value is 280px. Images with a horizontal orientation (landscape mode) will generally display well at the default setting. An image with vertical orientation (portrait mode) may need to be adjusted to 180px or 220px. For example, photo_width=200 and not photo_width=200px.
photo_alt Alt text for the photo, for visually impaired readers. See en:WP:ALT.
photo_caption A caption which will appear below the image if one is required.
map The name of the map to be displayed. See Map display methods below.
map_alt Alt text for the map. See en:WP:ALT.
map_caption A caption which will appear below the map if one is required.
map_relief This infobox will attempt to display a relief map if one is available. To force display of the default map image use |map_relief=0.
map_size Can change the display width of the map. The default and maximum width is 272px, but usually the map should be much smaller. For example, map_size=200 and not map_size=200px.
coordinates or coords For use with the {{tọa độ}} template. When using the {{tọa độ}} template standard footnote syntax can be used; |coordinates_ref= can also be used.
elevation The elevation of summit. Metres should be used first for all passes outside of the United States and feet for those within the U.S. For conversions, use elevation_m for metres to feet or elevation_ft for feet to metres.
elevation_ref Reference for the elevation using <ref>...</ref> tags. If elevation_m or elevation_ft was used, the reference must be supplied using this parameter.
traversed Any route which traverses the pass.
location The location of the pass. Don't be too precise. County, state and country are good in the USA. If the area is within a city specify the city, state and country. If the area is in multiple counties just list the state and country. For areas in other countries adjust accordingly.
range Mountain range if applicable. A subrange should be provided instead of any major mountain system unless there is no applicable subrange. For example, use Teton Range and not Rocky Mountains or Bernese Alps not Alps.
grid_ref_UK If the mountain pass is in Great Britain, the British grid reference. For locations outside of Great Britain, this field is not applicable and therefore should be removed if it is present.
grid_ref_Ireland If the mountain pass is in Ireland (whether Northern Ireland or the Republic), the Irish grid reference. For location outside Ireland, this field is not applicable and therefore should be removed if it is present.
topo The name of the topographic map showing the mountain. In Canada, this is usually the National Topographic System map number while for the USA, it's the map name from the USGS.

Phương pháp hiển thị bản đồ[sửa mã nguồn]

Hiển thị một điểm đánh dấu trên bản đồ sử dụng bản mẫu và tọa độ[sửa mã nguồn]

Một điểm đánh dấu có thể đươc chồng lên bản đồ bằng cách sử dụng một trong những thiết lập bản mẫu bản đồ đặc biệt. Để hiển thị một điểm đánh dấu, tọa độ địa lý phải được xác định bằng cách sử dụng bản mẫu {{tọa độ}} bên trong tham số |coordinates=. Xem tài liệu cho {{Bản đồ định vị}}. Các tham số cho bản đồ bản mẫu này cho một tập hợp con của các tham số được sử dụng bởi {{Bản đồ định vị}}. Một bản mẫu bản đồ có thể được tìm thấy bằng cách sử dụng các nguồn này:

Danh sách bản mẫu – Nhiều mục trong danh sách là trang đổi hướng và một vài bản mẫu có thể không hoạt động như mong đợi.
Thể loại:Bản mẫu bản đồ định vị – bản mẫu được sắp xếp theo thể loại.
Đặc_biệt:Liên_kết_đến_đây/Bản mẫu:Bản đồ định vị/Thông tin – một tìm kiếm có thể giúp đỡ.
Đặc_biệt:Tiền_tố/Mô đun:Location map/data/ – tìm kiếm khác có thể giúp đỡ.
Đặc_biệt:Tiền_tố/Bản mẫu:Bản đồ định vị – tìm kiếm khác có thể giúp đỡ.

Tất cả các tên bắt đầu có những từ "Bản đồ định vị" sau đây bởi khu vực được bảo hiểm. Giá trị bạn cần phải xác định là tên vùng. Bản mẫu bản đồ cho dãy núi Anpơ là Mô đun:Location map/data/Alps. Trong trường hợp này chỉ định |map=Alps.

Đèo Turracher Höhe
Đèo Turracher Höhe trên bản đồ Anpơ
Đèo Turracher Höhe
Vị trí trong dãy núi Anpơ. Đèo là biên giới trên StyriaCarinthia
Vị tríÁo
Tọa độ46°54′52″B 13°52′30″Đ / 46,91442°B 13,875°Đ / 46.91442; 13.87500
{{Hộp thông tin đèo núi
| name = Đèo Turracher Höhe
| map = Alps
| map_caption = Vị trí trong dãy núi Anpơ. Đèo là biên giới trên [[Steiermark|Styria]]–[[Kärnten|Carinthia]]
| location = [[Áo]]
| coordinates = {{tọa độ|46.91442|13.87500|region:AT}}
}}

Siêu định dạng[sửa mã nguồn]

Các bài viết được tạo ra sử dụng bản mẫu này bao gồm một siêu định dạng hCard. Để biết thêm thông tin đọc này.

Thể loại theo dõi[sửa mã nguồn]