Template:Infobox spring/doc
| 此頁面是Template:Infobox spring的Template文档。 此頁面可能包含了模板的使用說明、分類和其他内容。 |
使用方法
[编辑]| {{{name}}} | |
|---|---|
| {{{other_name}}} | |
| [[File:{{{photo}}}|{{{photo_width}}}|alt={{{photo_alt}}}|upright=1.1|{{{photo_alt}}}]] {{{photo_caption}}} | |
| 名稱來源 | {{{name_origin}}} |
| 國家/地區 | {{{country}}} |
| 位置 | {{{location}}} |
| 坐标 | {{{coordinates}}}{{{coords_ref}}} |
| 源头 | {{{spring_source}}} |
| 海拔 | {{{elevation}}} |
| 类型 | {{{type}}} |
| 供水对象 | {{{provides}}} |
| 流量分级 | {{{magnitude}}} |
| 喷发高度 | {{{height}}} |
| 喷发频率 | {{{frequency}}} |
| 喷发持续时间 | {{{duration}}} |
| 流量 | {{{flow}}} |
| 溫度 | {{{temperature}}} |
| 深度 | {{{depth}}} |
| 地形圖 | {{{topo}}} |
| {{{embedded}}} | |
| 一般用法 | 所有参数 | |
|---|---|---|
{{Infobox spring
| name =
| photo =
| photo_width =
| photo_caption =
| map = <!-- 或 | map_image = -->
| map_width =
| map_caption =
| name_origin =
| country =
| location =
| elevation =
| coordinates =
| coords_ref =
| mapframe =
| hot_spring_type =
| height =
| duration =
| frequency =
| discharge =
| temperature =
| depth =
}}
|
{{Infobox spring
| name =
| other_name =
| photo =
| photo_width =
| photo_alt =
| photo_caption =
| map = <!-- 或 | map_image = -->
| relief =
| map_width =
| map_alt =
| map_caption =
| mark =
| marker_width =
| label =
| label_position =
| name_origin =
| country =
| location =
| spring_source =
| elevation =
| coordinates =
| coords_ref =
| mapframe =
| hot_spring_type =
| type =
| provides =
| magnitude =
| height =
| duration =
| frequency =
| discharge =
| temperature =
| depth =
| child =
| embedded =
}}
|
参数说明
[编辑]| 参数 | 说明 |
|---|---|
name |
官方名称。 |
other_name |
其他常用名称。 |
photo |
图像文件名。对于间歇泉,建议优先选用喷发时的照片。 |
photo_width |
图像显示宽度(单位:像素)。 |
photo_alt |
为视障读者提供的图像替代文本,详见WP:ALT。 |
photo_caption |
显示于图像下方的图注。建议注明照片的拍摄年月。 |
| 位置相关参数 | |
map |
要显示的位置图名称。若需使用静态图像,请改用|map_image=。
|
map_image |
静态地图图像的文件名。若需使用位置图,请改用|map=。
|
map_relief |
显示地形图。详见Template:Location map#地形图参数。 |
map_size 或 map_width |
地图图像的显示宽度(单位:像素)。 |
map_alt |
地图图像的替代文本,参见WP:ALT。 |
map_caption |
显示于地图图像下方的说明文字(可选)。 |
mark |
用于标记点的图像,默认为Red pog.svg。更多选项详见Template:Location map。 |
marker_width |
标记点图像的显示宽度(单位:像素),默认值为8。 |
label |
显示于标记点旁的标注文字。 |
label_position |
指定标注文字相对于标记点的方位,有效值为left(左)、right(右)、top(上)、bottom(下)及none(无)。需配合上方的label使用。
|
coordinates |
坐标,使用{{coord}}模板。
|
coords_ref |
通过<ref>...</ref>标签引用坐标来源。
|
mapframe |
使用{{infobox mapframe}}的地图框架。 |
| 其他参数 | |
name_origin |
名称的来源、命名者(如有记载)。 |
location |
位置描述。 |
spring_source |
泉水的水源。 |
elevation |
海拔高度。 |
hot_spring_type |
温泉类型,可选值包括间歇泉、火山喷气孔、泥火山或温泉。间歇泉可进一步区分为锥形或喷泉型。非地热泉请使用下方的type参数。
|
type |
泉的类型(仅用于非温泉;温泉请使用上方的hot_spring_type)。
|
provides |
泉水汇入的水体名称。 |
height |
(适用于间歇泉)喷发高度的最小至最大值(例如:“15—20米”)。 |
frequency |
(适用于间歇泉)喷发的平均间隔频率。 |
duration |
(适用于间歇泉)喷发持续时间的范围。 |
discharge |
间歇泉或涌泉的流量数据。 |
magnitude |
泉的流量分级。 |
temperature |
(适用于温泉池)平均水温。 |
depth |
(适用于温泉池)平均深度。 |
child |
用于将此模板嵌套于其他模板中。 |
embedded |
用于将其他模板嵌套于此模板中。 |
示例
[编辑]| Daisy Geyser | |
|---|---|
Daisy Geyser during an eruption | |
![]() | |
| 名稱來源 | Hague Geological Surveys, 1880s |
| 位置 | Upper Geyser Basin, Yellowstone National Park, Teton County, Wyoming |
| 坐标 | 44°28′12″N 110°50′42″W / 44.47000°N 110.84500°W |
| 海拔 | 7,329英尺(2,234米) |
| 溫度 | 84.5 °C (184.1 °F) |
{{Infobox spring
| name = Daisy Geyser
| photo = Daisy Geyser erupting in Yellowstone National Park edit.jpg
| photo_width = <!-- omitted to display at user's default size -->
| photo_caption = Daisy Geyser during an eruption
| map_image = NorthernSectionUpperGeyserBasin-Daisy.jpg
| map_caption = Map of Upper Geyser Basin
| map_size = 200
| name_origin = Hague Geological Surveys, 1880s
| location = Upper Geyser Basin, Yellowstone National Park, [[Teton County, Wyoming]]
| coordinates = {{coord|44|28|12|N|110|50|42|W|display=inline}}
| coords_ref =
| elevation = {{convert|7329|ft|0}}
| temperature = 84.5 °C (184.1 °F)
}}
| Big Cone | |
|---|---|
Big Cone Geyser | |
![]() | |
| 位置 | West Thumb Geyser Basin, Yellowstone National Park, Teton County, Wyoming |
| 坐标 | 44°25′03″N 110°34′14″W / 44.41750°N 110.57056°W |
| 海拔 | 7,864英尺(2,396.9米) |
{{Infobox spring
| name = Big Cone
| photo = Big cone.jpg
| photo_width = 400px <!-- if a size in pixels is specified, the image will not display any larger than 280px -->
| photo_caption = Big Cone Geyser
| map_image = WestThumbGeyserBasin-Big Cone.jpg
| map_caption = West Thumb Geyser Basin
| map_alt = Map shows Big Cone is in the West Thumb Geyser Basin.
| map_size =
| location = West Thumb Geyser Basin, Yellowstone National Park, [[Teton County, Wyoming]]
| coordinates = {{coord|44|25|03|N|110|34|14|W|type:landmark_region:US-WY}}
| coords_ref =
| elevation = {{convert|7864|ft|m|1}}
}}
Geographical coordinate method
[编辑]A mark can be superimposed on one of a set of special map templates. If a valid map name is specified this is the method the template will attempt to use. To display a mark, the geographic coordinates must be specified using the {{Coord}} template. See the documentation for {{Location map}}. The parameters for this template correspond with a subset of the parameters for Template:Location map. A map template can be found using these sources:
- List of templates - Many of the items listed here are redirects and a few templates may not function as expected.
- Category:Location map templates - templates sorted by category.
- Special:WhatLinksHere/Template:Location map/Info - a search that might help.
- Special:Prefixindex/Template:Location map - another search that might help.
All of the names begin with the words "Location map" followed by the area covered. The value you need to specify is the area name. The map template for the for Alberta, Canada is Module:Location map/data/Canada Alberta. In this case specify map=Canada Alberta or, in this case, map=Alberta. The following example does not produce output that is optimum for use with the geysers of Yellowstone but demonstrates the method.
| Big Alcove Spring | |
|---|---|
| 坐标 | 44°43′8″N 110°42′24″W / 44.71889°N 110.70667°W |
{{Infobox spring
| name = Big Alcove Spring
| map = USA Wyoming
| map_alt = Big Alcove Spring is located in the northwestern Wyoming
| map_caption = Location of Big Alcove Spring in Wyoming
| map_width = 200
| label = Big Alcove Spring
| coordinates = {{coord|44|43|8|N|110|42|24|W|region:US-WY|display=inline <!-- just to be tidy -->}}
}}
The label is optional. By default it is usually displayed to the left of the mark.
模板数据
[编辑]模板数据
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
此模板可用于创建泉(包括间歇泉或温泉)的信息框。
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

