模板:Infobox spring
此模板使用Lua語言: |
This template can be used to create an infobox for a spring, including geysers or hot springs.
Usage
[編輯]{{{name}}} | |
---|---|
{{{other_name}}} | |
[[File:{{{photo}}}|{{{photo_width}}}|alt={{{photo_alt}}}|upright=1.1|{{{photo_alt}}}]] | |
名稱來源 | {{{name_origin}}} |
位置 | {{{location}}} |
座標 | {{{coordinates}}}{{{coords_ref}}} |
源頭 | {{{spring_source}}} |
海拔 | {{{elevation}}} |
類型 | {{{hot_spring_type}}} |
供水給 | {{{provides}}} |
量級 | {{{magnitude}}} |
噴涌高度 | {{{height}}} |
頻率 | {{{frequency}}} |
持續時間 | {{{duration}}} |
流量 | {{{flow}}} |
溫度 | {{{temperature}}} |
深度 | {{{depth}}} |
地形圖 | {{{topo}}} |
[[File:{{{map_image}}}|{{{map_size}}}|alt={{{map_alt}}}|{{{map_alt}}}]] {{{map_caption}}} | |
{{{embedded}}} |
Without photo_width | |
---|---|
[[File:{{{photo}}}|frameless|alt={{{photo_alt}}}|upright=1.1|{{{photo_alt}}}]] |
Commonly used | All parameters | |
---|---|---|
{{Infobox spring | name = | photo = | photo_width = | photo_caption = | map = <!-- or | map_image = --> | map_width = | map_caption = | name_origin = | location = | elevation = | coordinates = | coords_ref = | hot_spring_type = | height = | duration = | frequency = | discharge = | temperature = | depth = }} |
{{Infobox spring | name = | other_name = | photo = | photo_width = | photo_alt = | photo_caption = | map = <!-- or | map_image = --> | relief = | map_width = | map_alt = | map_caption = | mark = | mark_width = | label = | label_position = | name_origin = | location = | spring_source = | elevation = | coordinates = | coords_ref = | hot_spring_type = | type = | provides = | magnitude = | height = | duration = | frequency = | discharge = | temperature = | depth = | child = | embedded = }} |
Parameter descriptions
[編輯]Parameter | Description |
---|---|
name |
Required. Official name of the geothermal feature (e.g. Old Faithful Geyser) |
other_name |
If the feature is also commonly known by another name then use this parameter for the alternate name. |
photo |
The name of an image file to be displayed. No special formatting is needed. For geysers, a photo of the eruption is preferred. |
photo_width |
The image width in pixels. If specified, the maximum width is 280px. If not specified, the image uses frameless with upright=1.1 which displays it at approximately 110% of the user's default thumbnail size (for most users the image will display at 240px; for logged-in users who have changed the setting at Special:Preferences the displayed image could range from 130px to 440px). See also: Module:InfoboxImage, WP:AUTOSIZE, WP:EIS, WP:IMGSIZE, and MOS:IMGSIZE. |
photo_alt |
Alternate text for the photo for visually impaired readers. See WP:ALT. |
photo_caption |
The caption that will display bellow the image. Include month and year of picture, if known. |
map |
The name of the location map to be displayed. See Map display methods below. To use a static image, use |map_image=
|
map_image |
The file name of a static map image to be displayed. To use a location map, use |map= .
|
map_relief |
When the geographical coordinates method is used (see Map display methods), any non-blank value (map_relief=yes , map_relief=1 , etc.) will cause the template to display a relief map image, where available. For additional information, see Template:Location map#Relief parameter.
|
map_size or map_width |
Width to display the map image in pixels. The default and maximum is 220. For example, map_width=200 (not map_px ).
|
map_alt |
Alternative text for the map image, see WP:ALT. |
map_caption |
Text displayed below the map image, if required. |
mark |
The image to use for the marker. The default is Red pog.svg. See Template:Location map for more information. |
marker_width |
The display width of the marker image in pixels. Default = 8. |
label |
Text that will be displayed next to the marker. Works with label_position below.
|
label_position |
Specifies the position of a label with respect to the marker. Valid values are left , right , top , bottom and none . See label above.
|
Coordinate related parameters | |
coordinates |
Can be used with {{coord}} template to display geographical coordinates and a pushpin on an optional map.
|
coords_ref |
Used with <ref>...</ref> tags to cite a references.
|
Other parameters | |
name_origin |
Where did the name of this feature originate? Who named this feature? |
location |
Location of the feature. The specific location of the geyser first, followed by the general region. For well known geyser regions, use the local group or basin (e.g., Lower Geyser Basin, Yellowstone National Park). |
spring_source |
Source for the water for the spring. |
elevation |
The elevation of the feature (don't forget to include both feet and meters). |
hot_spring_type |
The type of geothermal features. Possible options are geyser, fumarole, mud pot or hot spring. Geysers can be cone or fountain geysers. For non-geothermal springs, use type
|
type |
The type of spring. Possible options are. For geothermal springs, use hot_spring_type
|
provides |
Body of water into which the spring discharges. |
height |
For geysers, the minimum to maximum height of an eruption (e.g. - 15 - 20 minutes) |
duration |
For geysers, the minimum to maximum duration of an eruption |
frequency |
For geysers, the average frequency of an eruption |
discharge |
Water discharge for a geyser or a flowing spring |
magnitude |
The magnitude of the discharge as measured by the spring classification scale |
temperature |
For pools, the average temperature of the water in degrees Fahrenheit and Celsius |
depth |
For pools, the average depth of the feature |
child |
Used to embed this template in another. See below. |
embedded |
Used to embed another template in this one. See below. |
Map display methods
[編輯]This template uses Template:Location map. For more details, see the documentation for that template.
Simple map image method
[編輯]Any map image can be displayed by specifying the name of the image file. Notice that when a photo and a map are specified the map will appear at the bottom of the infobox and that if no photo is specified the map will be displayed at the top.
Daisy Geyser | |
---|---|
名稱來源 | 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) |
Map of Upper Geyser Basin |
{{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 | |
---|---|
位置 | 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米) |
West Thumb Geyser Basin |
{{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.
Template embedding
[編輯]This template can be embedding in another infobox template by adding the code |child=yes
. To embed another template in this one use |embedded={{Infobox ...
.
Microformats
[編輯]The articles created using this template include an hCard microformat. For more information read this.