Template:Infobox spring
This template uses 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]] | |
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 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. |
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. |
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 | |
---|---|
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}}
}}
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 | |
---|---|
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.
Mapframe maps
- Basic parameters:
- mapframe – Specify yes or no to show or hide the map, overriding the default. Default: onByDefault if there is no
|pushpin map=
- mapframe-caption – Caption for the map. Default: blank (or if
|mapframe-geomask=
is set, "Location in geomask's label") - mapframe-custom – Use a custom map instead of the automatic mapframe. Specify either a
{{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 - mapframe-id or id or qid – Id (Q-number) of Wikidata item to use. Default: item for current page
- mapframe-coordinates or mapframe-coord or coordinates or coord – Coordinates to use, instead of any on Wikidata. Use the {{Coord}} template, e.g.
|coord=
. Default: coordinates from Wikidata{{Coord|12.34|N|56.78|E}}
- mapframe-wikidata – Set to
yes
to show shape/line features from the wikidata item, if any, when|coord=
is set. Default: not specified
- mapframe – Specify yes or no to show or hide the map, overriding the default. Default: onByDefault if there is no
- Customise which features are displayed:
- mapframe-shape – Turn off display of shape feature by setting to
none
. Use an inverse shape (geomask) instead of a regular shape by setting toinverse
. Default: not specified - mapframe-point – Turn off display of point feature by setting to
none
. Force point marker to be displayed by setting toon
. Default: not specified - mapframe-line – Turn off display of line feature by setting to
none
. Default: not specified - mapframe-geomask – Wikidata item to use as a geomask (everything outside the boundary is shaded darker). Can either be a specific Wikidata item (Q-number), or a property that specifies the item to use (e.g.
P17
for country (P17),P131
for located in the administrative territorial entity (P131)). Default: not specified - mapframe-switcher – set to
auto
orgeomasks
orzooms
to enable Template:Switcher-style switching between multiple mapframes. Default: not specifiedauto
– 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 of3
), "zoomed out" is1
, and "zoomed midway" is the average
- mapframe-shape – Turn off display of shape feature by setting to
- Other optional parameters:
- mapframe-frame-width or mapframe-width – Frame width. Default: 250
- mapframe-frame-height or mapframe-height – Frame height. Default: 200
- mapframe-shape-fill – Color used to fill shape features. Default: #606060
- mapframe-shape-fill-opacity – Opacity level of shape fill, a number between 0 and 1. Default: 0.5
- mapframe-stroke-color or mapframe-stroke-colour – Color of line features, and outlines of shape features. Default: #ff0000
- mapframe-stroke-width – Width of line features, and outlines of shape features; default is "5". Default: 5
- mapframe-marker – Marker symbol to use for coordinates; see mw:Help:Extension:Kartographer/Icons for options. Default: hot-spring
- Can also be set to
blank
to override any default marker symbol
- Can also be set to
- mapframe-marker-color or mapframe-marker-colour – Background color for the marker. Default: #A8BDEC
- mapframe-geomask-stroke-color or mapframe-geomask-stroke-colour – Color of outline of geomask shape. Default: #555555
- mapframe-geomask-stroke-width – Width of outline of geomask shape. Default: 2
- mapframe-geomask-fill – Color used to fill outside geomask features. Default: #606060
- mapframe-geomask-fill-opacity – Opacity level of fill outside geomask features, a number between 0 and 1. Default: 0.5
- mapframe-zoom – Set the zoom level, from "1" (map of earth) to "18" (maximum zoom in), to be used if the zoom level cannot be determined automatically from object length or area. Default: 5
- mapframe-length_km or mapframe-length_mi or mapframe-area_km2 or mapframe-area_mi2 – Determine zoom level by passing in object's length (in kilometres or miles) or area (in square kilometres or square miles). Default: not specified
- mapframe-frame-coordinates or mapframe-frame-coord – Alternate latitude and longitude coordinates for initial placement of map, using {{coord}}. Default: derived from item coordinates
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.