Template:Infobox spring/doc
![]() | This is a documentation subpage for Template:Infobox spring. It may contain usage information, categories and other content that is not part of the original template page. |
![]() | 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]] {{{photo_caption}}} | |
<mapframe zoom="5" frameless="1" align="center" longitude="0" latitude="0" height="200" width="250">{"type":"Feature","geometry":{"coordinates":[0,0],"type":"Point"},"properties":{"marker-color":"#A8BDEC","title":"Infobox spring/doc","marker-symbol":"hot-spring"}}</mapframe> | |
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]] {{{photo_caption}}} |
Commonly used | All parameters | |||||
---|---|---|---|---|---|---|
<syntaxhighlight lang="wikitext" style="margin: 0">
|
<syntaxhighlight lang="wikitext" style="margin: 0">
|
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 | |
---|---|
![]() Daisy Geyser during an eruption | |
<mapframe zoom="5" frameless="1" align="center" longitude="-110.845" latitude="44.47" height="200" width="250">{"type":"Feature","geometry":{"coordinates":[-110.845,44.47],"type":"Point"},"properties":{"marker-color":"#A8BDEC","title":"Infobox spring/doc","marker-symbol":"hot-spring"}}</mapframe> | |
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 |
<syntaxhighlight lang="wikitext" style="overflow:auto; font-size: 90%;">
Daisy Geyser | |
---|---|
![]() Daisy Geyser during an eruption | |
<mapframe zoom="5" frameless="1" align="center" longitude="-110.845" latitude="44.47" height="200" width="250">{"type":"Feature","geometry":{"coordinates":[-110.845,44.47],"type":"Point"},"properties":{"marker-color":"#A8BDEC","title":"Infobox spring/doc","marker-symbol":"hot-spring"}}</mapframe> | |
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 |
</syntaxhighlight>
Big Cone | |
---|---|
![]() Big Cone Geyser | |
<mapframe zoom="5" frameless="1" align="center" longitude="-110.57055555556" latitude="44.4175" height="200" width="250">{"type":"Feature","geometry":{"coordinates":[-110.57055555555556,44.4175],"type":"Point"},"properties":{"marker-color":"#A8BDEC","title":"Infobox spring/doc","marker-symbol":"hot-spring"}}</mapframe> | |
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 |
<syntaxhighlight lang="wikitext" style="overflow:auto; font-size: 90%;">
Big Cone | |
---|---|
![]() Big Cone Geyser | |
<mapframe zoom="5" frameless="1" align="center" longitude="-110.57055555556" latitude="44.4175" height="200" width="250">{"type":"Feature","geometry":{"coordinates":[-110.57055555555556,44.4175],"type":"Point"},"properties":{"marker-color":"#A8BDEC","title":"Infobox spring/doc","marker-symbol":"hot-spring"}}</mapframe> | |
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 |
</syntaxhighlight>
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 | |
---|---|
<mapframe zoom="5" frameless="1" align="center" longitude="-110.70666666667" latitude="44.718888888889" height="200" width="250">{"type":"Feature","geometry":{"coordinates":[-110.70666666666666,44.71888888888889],"type":"Point"},"properties":{"marker-color":"#A8BDEC","title":"Infobox spring/doc","marker-symbol":"hot-spring"}}</mapframe> | |
Coordinates | 44°43′8″N 110°42′24″W / 44.71889°N 110.70667°W |
<syntaxhighlight lang="wikitext" style="overflow:auto; font-size: 90%;">
Big Alcove Spring | |
---|---|
<mapframe zoom="5" frameless="1" align="center" longitude="-110.70666666667" latitude="44.718888888889" height="200" width="250">{"type":"Feature","geometry":{"coordinates":[-110.70666666666666,44.71888888888889],"type":"Point"},"properties":{"marker-color":"#A8BDEC","title":"Infobox spring/doc","marker-symbol":"hot-spring"}}</mapframe> | |
Coordinates | 44°43′8″N 110°42′24″W / 44.71889°N 110.70667°W |
</syntaxhighlight>
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: no
- 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 <syntaxhighlight lang="text" class="" style="" inline="1">yes</syntaxhighlight> to show shape/line features from the wikidata item, if any, when
|coord=
is set. Default: not specified
- Customise which features are displayed:
- mapframe-shape – Turn off display of shape feature by setting to <syntaxhighlight lang="text" class="" style="" inline="1">none</syntaxhighlight>. Use an inverse shape (geomask) instead of a regular shape by setting to <syntaxhighlight lang="text" class="" style="" inline="1">inverse</syntaxhighlight>. Default: not specified
- mapframe-point – Turn off display of point feature by setting to <syntaxhighlight lang="text" class="" style="" inline="1">none</syntaxhighlight>. Force point marker to be displayed by setting to <syntaxhighlight lang="text" class="" style="" inline="1">on</syntaxhighlight>. Default: not specified
- mapframe-line – Turn off display of line feature by setting to <syntaxhighlight lang="text" class="" style="" inline="1">none</syntaxhighlight>. 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 (P17),P131
for (P131)). Default: not specified - mapframe-switcher – set to <syntaxhighlight lang="text" class="" style="" inline="1">auto</syntaxhighlight> or <syntaxhighlight lang="text" class="" style="" inline="1">geomasks</syntaxhighlight> or <syntaxhighlight lang="text" class="" style="" inline="1">zooms</syntaxhighlight> to enable Template:Switcher-style switching between multiple mapframes. Default: not specified
- <syntaxhighlight lang="text" class="" style="" inline="1">auto</syntaxhighlight> – switch geomasks found in (P276) and (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.
- <syntaxhighlight lang="text" class="" style="" inline="1">geomasks</syntaxhighlight> – switch between the geomasks specified as a comma-separated list of Wikidata items (Q-numbers) in the mapframe-geomask parameter
- <syntaxhighlight lang="text" class="" style="" inline="1">zooms</syntaxhighlight> – switch between "zoomed in"/"zoomed midway"/"zoomed out", where "zoomed in" is the default zoom (with a minimum of <syntaxhighlight lang="text" class="" style="" inline="1">3</syntaxhighlight>), "zoomed out" is <syntaxhighlight lang="text" class="" style="" inline="1">1</syntaxhighlight>, and "zoomed midway" is the average
- Other optional parameters:
- mapframe-frame-width or mapframe-width – Frame width. Default: 270
- 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: not specified (i.e. blank)
- Can also be set to <syntaxhighlight lang="text" class="" style="" inline="1">blank</syntaxhighlight> to override any default marker symbol
- mapframe-marker-color or mapframe-marker-colour – Background color for the marker. Default: #5E74F3
- 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: 10
- 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.
Tracking category