This is the template sandbox page for Template:Infobox spring (diff). See also the companion subpage for test cases. |
This template uses Lua: |
This template can be used to create an infobox for a spring, including geysers or hot springs.
{{{name}}} | |
---|---|
{{{other_name}}} | |
[[File:{{{photo}}}|{{{photo_width}}}|alt={{{photo_alt}}}|upright=1.1]] | |
Name origin | {{{name_origin}}} |
Location | {{{location}}} |
Coordinates | 0°N 0°E / 0°N 0°E{{{coords_ref}}} |
Spring source | {{{spring_source}}} |
Elevation | {{{elevation}}} |
Type | {{{hot_spring_type}}} |
Provides water for | {{{provides}}} |
Magnitude | {{{magnitude}}} |
Eruption height | {{{height}}} |
Frequency | {{{frequency}}} |
Duration | {{{duration}}} |
Flow | {{{flow}}} |
Temperature | {{{temperature}}} |
Depth | {{{depth}}} |
Topo map | {{{topo}}} |
[[File:{{{map_image}}}|{{{map_size}}}|alt={{{map_alt}}}]] {{{map_caption}}} | |
{{{embedded}}} |
Without photo_width | |
---|---|
[[File:{{{photo}}}|frameless|alt={{{photo_alt}}}|upright=1.1]] |
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 =
| mapframe =
| 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 =
| mapframe =
| hot_spring_type =
| type =
| provides =
| magnitude =
| height =
| duration =
| frequency =
| discharge =
| temperature =
| depth =
| child =
| embedded =
}}
|
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. |
Location-related parameters | |
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.
|
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.
|
mapframe |
Map frame using {{infobox mapframe}}, see #Mapframe maps |
Other parameters | |
name_origin |
Where did the name of this feature originate? Who named this feature? |
location |
Textual description of the 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. |
This template uses Template:Location map. For more details, see the documentation for that template.
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 | |
---|---|
Name origin | Hague Geological Surveys, 1880s |
Location | Upper Geyser Basin, Yellowstone National Park, Teton County, Wyoming |
Coordinates | 44°28′12″N 110°50′42″W / 44.47000°N 110.84500°W |
Elevation | 7,329 feet (2,234 m) |
Temperature | 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 | |
---|---|
Location | West Thumb Geyser Basin, Yellowstone National Park, Teton County, Wyoming |
Coordinates | 44°25′03″N 110°34′14″W / 44.41750°N 110.57056°W |
Elevation | 7,864 feet (2,396.9 m) |
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}}
}}
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:
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 | |
---|---|
Coordinates | 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.
|pushpin map=
|mapframe-geomask=
is set, "Location in geomask's label"){{maplink}}
template, or another template that generates a mapframe map, or an image name. If used, the subsequent mapframe parameters will be ignored. Default: not specified|coord={{Coord|12.34|N|56.78|E}}
. Default: coordinates from Wikidatayes
to show shape/line features from the wikidata item, if any, when |coord=
is set. Default: not specifiednone
. Use an inverse shape (geomask) instead of a regular shape by setting to inverse
. Default: not specifiednone
. Force point marker to be displayed by setting to on
. Default: not specifiednone
. Default: not specifiedP17
for country (P17), P131
for located in the administrative territorial entity (P131)). Default: not specifiedauto
or geomasks
or zooms
to enable Template:Switcher-style switching between multiple mapframes. Default: not specified
auto
– switch geomasks found in location (P276) and located in the administrative territorial entity (P131) statements on the page's Wikidata item, searching recursively. E.g. an item's city, that city's state, and that state's country.geomasks
– switch between the geomasks specified as a comma-separated list of Wikidata items (Q-numbers) in the mapframe-geomask parameterzooms
– switch between "zoomed in"/"zoomed midway"/"zoomed out", where "zoomed in" is the default zoom (with a minimum of 3
), "zoomed out" is 1
, and "zoomed midway" is the averageblank
to override any default marker symbolThis template can be embedding in another infobox template by adding the code |child=yes
. To embed another template in this one use |embedded={{Infobox ...
.
The articles created using this template include an hCard microformat. For more information read this.