Template:Infobox cave

维基百科,自由的百科全书
跳转至: 导航搜索
Documentation icon 模板文档[查看] [编辑] [历史] [刷新]

這個模板可以被用來創建一個有關洞穴的模板

Usage[编辑]

Minnetonka Cave
Minnetonka Cave.JPG
Minnetonka Cave, administered by the U.S. Forest Service
Map showing the location of Minnetonka Cave
位置 Bear Lake County, Idaho, United States
坐標 42°05′14″N 111°31′07″W / 42.08722°N 111.51861°W / 42.08722; -111.51861
發現 1907
地質 Karst cavern, Mississippian Limestone
洞口的數量 1
訪問 Tours are available in season

這是最常用的參數名稱的表。

{{Infobox cave
| name = 
| other_name = 
| photo = 
| photo_width = 
| photo_caption = 
| map = 
| map_width = 
| map_caption = 
| map_alt = 
| location = 
| coords = 
| lat_d = | lat_m = |lat_s = | lat_NS = 
| long_d = | long_m = | long_s = | long_EW = 
| coords_ref = 
| land_registry_number =
| grid_ref_UK = 
| grid_ref_Ireland = 
| grid_ref = 
| depth = 
| length = 
| height_variation =
| altitude = 
| discovery = 
| geology = 
| entrance_count = 
| entrance_list = 
| difficulty = 
| hazards = 
| access = 
| show_cave = 
| show_cave_length = 
| lighting = 
| visitors = 
| features = 
| survey = 
| survey_format = 
| website = 
}}

Parameter descriptions[编辑]

該表格描述了所有參數,可以參考。只有名稱參數必須填寫,其他選填。

Parameter Description
name 洞穴的名字,它將被顯示在信息框的頂部。
other_name 山洞裡常見的英文名稱。
photo 圖像的名稱,沒有特定的格式。
photo_width 圖像的寬度。默認值和最大值是256PX。
photo_alt Alt text for the photo, for visually impaired readers. See WP:ALT.
photo_caption 圖像的標題。
map 將要顯示的地圖的名稱。見地圖顯示的方法。
map_width Determines the width of the map. The default width is 220px and maximum width is 256px. For example map_width=180 and not map_width=180px.
map_alt Alt text for the map. See WP:ALT.
map_caption 將要顯示地圖的標題。
relief Selects a relief map when assigned any value. This is functional when a location map template is used. See Map display methods.
mark A marker which shows the location of the cave on a map. The default image is Red pog.svg. For more information, go here.
marker_size The width of the location marker image in pixels. Seldom used. The default width is 8px.
label_position This seldom used parameter will generate a text label next to the a location marker. Valid values are left, right, top and bottom. If no value is assigned to the label parameter below, the name will be used.
label Text that will be displayed next to the location marker. See label_position above.
location The location of the cave. 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. The text should be meaningful to a reader who lacks knowledge of local geography.
coords For the {{Coord}} template. This syntax will not automatically generate a location marker on a map. When this option is used the type, region, scale, source, format and display parameters are not functional but this data can be entered in the {{Coord}} template. The defaults should be type:landmark and display:inline,title.
lat_d The degrees of latitude. This value can be specified as a decimal degree and when this format is used minutes and seconds should not be specified.
lat_m The minutes of latitude.
lat_s The seconds of latitude.
lat_NS N if north of the equator, S if south of the equator. Other values will be disregarded.
long_d The degrees of longitude. This value can be specified as a decimal degree and when this format is used minutes and seconds should not be specified.
long_m The minutes of longitude.
long_s The seconds of longitude.
long_EW E if East of the prime meridian, W if west of the prime meridian. Other values will be disregarded.
coords_ref Used with either coordinate display method above. Strongly recommended. Specify a citation for the coordinates using <ref>...</ref> tags.
land_registry_number Reference number of the cave in the relevant land registry.
type Type is one way to specify the scale of maps generated by external map websites. See WP:COORD TYPE for valid values. The default value is landmark which is most appropriate for caves. This parameter and the three below help GeoHack in selecting suitable map resources.
scale Determines the zoom factor for external map websites. See WP:COORD SCALE. Using scale=50000 will change the zoom factor to 1:50,000.
region A country code. See ISO 3166-2:US, ISO 3166-2 and ISO 3166-1 alpha-2. For example US-OR is the code for Oregon. This computer readable code is recommended. It will not be displayed. See WP:COORD REGION.
source Source of the coordinate data. See WP:COORD SOURCE. It will not be displayed.
format Determines the format used to the display coordinates. Valid values are dms for degrees, minutes and seconds, and dec for decimal degrees. The default is dms.
display Determines where the coordinates will be displayed. Valid values are inline and inline,title. The default is inline,title and is recommended.
x
y
Specifies the position of the location marker on a map image. The coordinates of the marker in pixels based on a map with a width of 1000 pixels. The template will scale these values for proper display. See below.
x%
y%
Specifies the position of the location marker on a map image. 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.
depth 從地表到洞穴的最深部的距離,如 5m (+2m, -3m)
length 調查過的洞穴長度,如 5m (+2m, -3m)
height_variation 洞內高度,如 5m (+2m, -3m)
altitude 海拔
discovery The date the cave was discovered and who discovered it.
geology 地質學,洞穴是石灰石,大理石,白雲巖,頁岩,礫岩,玄武岩或別的東西。這是一個海邊洞穴,熔岩管,或岩溶洞穴。見洞穴文章。
entrance_count 洞口的數目。
entrance_list A list of entrances.
difficulty 困難度,要求的技術水平,探索洞穴安全。不要使用數字,除非你提供的鏈接網站,解釋數字意味著什麼。
hazards Are there hazards such as sumps, flooding, strong underwater currents, rock falls, or histoplasmosis.
access 訪問,訪問私有,公共,受限制,僅通過許可證等?
show_cave See the show cave article. Give the year it was opened.
show_cave_length The length of the show cave tour.
lighting What kind of lighting is used in the show cave.
visitors The number of visitors in a recent year if known.
features Features of special interest found in the cave, which might include speleogens such as boxwork, anthodites, lavacicles, or helictites.
survey If a cave survey has been done, then when was it and who did it.
survey_format The cave survey software package used. For example: Survex.
register The name of a cave registry. Preferably with a footnote citing the register webpage.

Map display methods[编辑]

Any image of a map showing the location of the protected area can be used. There are three methods by which maps showing a marker can be generated.

Template:Infobox map/Map display methods

Parameters for use in articles about caves of the British Isles[编辑]

Field name Description
grid_ref_UK If the cave is in Great Britain, the British grid reference.
grid_ref_Ireland If the cave is in Ireland (whether Northern Ireland or the Republic), the Irish grid reference.
grid_ref Specify a citation for the grid reference using <ref>...</ref> tags.

Example of an infobox for a cave in the British Isles[编辑]

Aveline's Hole
Avelineshole.jpg
Aveline's Hole
位置 Mendip Hills, Somerset, England
OS grid Template:Gbm4ibx
深度 16米(52英尺)
長度 68米(223英尺)
Altitude 99米(325英尺)
發現 1797
地質 Limestone
Registry Mendip Cave Registry[1]
{{Infobox cave
| name = Aveline's Hole
| photo = Avelineshole.jpg
| photo_caption = Aveline's Hole
| location = [[Mendip Hills]], [[Somerset]], [[England]]
| grid_ref_UK = ST 4761 5867
| depth = {{convert|16|m}}
| length = {{convert|68|m}}
| altitude = {{convert|99|m}}
| discovery = 1797
| geology = Limestone
| difficulty = 
| hazards = 
| access = 
| register = Mendip Cave Registry<ref>{{cite mcra |id=3 |name=Aveline's Hole |accessdate=2012-03-30}}</ref>
}}

For other registries consider using <ref>...</ref> tags and {{cite web}}.

References example