Template:Infobox seamount/sandbox
Appearance
| This is the template sandbox page for Template:Infobox seamount (diff). See also the companion subpage for test cases. |
| This template uses Lua: |
Usage
[edit]| {{{name}}} | |
|---|---|
| [[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}|upright={{{image_upright}}}]] {{{image_caption}}} | |
| [[File:{{{map}}}|{{{map_size}}}|alt={{{map_alt}}}|upright={{{map_upright}}}]] {{{map_caption}}} | |
| Summit depth | {{{depth}}} |
| Height | {{{height}}} |
| Summit area | {{{summit_area}}} |
| Translation | {{{translation}}} (from {{{language}}}) |
| Pronunciation | {{{pronunciation}}} |
| Location | |
| Location | {{{location}}} |
| Group | {{{group}}} |
| Range | {{{range}}} |
| Coordinates | 12°N 34°E / 12°N 34°E |
| Country | {{{country}}} |
| Geology | |
| Type | {{{type}}} |
| Volcanic arc/chain | {{{volcanic_group}}} |
| Age of rock | {{{age}}} |
| Last activity | {{{last_activity}}} |
| Last eruption | {{{last_eruption}}} |
| History | |
| Discovery date | {{{discovered}}} |
| Discovered by | {{{discovered_by}}} |
| First visit | {{{first_visit}}} |
| {{{module}}} | |
{{Infobox seamount
| name =
| depth =
| height =
| map =
| pushpin_map =
| relief =
| map_caption =
| map_size =
| mapframe = yes<!-- See [[#Mapframe maps]] -->
| image =
| image_alt =
| image_caption =
| image_size =
| summit_area =
| translation =
| language =
| pronunciation =
| location =
| group =
| coordinates = <!-- Use {{Coord}} -->
| country =
| type =
| volcanic_group =
| range =
| age =
| last_activity =
| last_eruption =
| discovered =
| discovered_by =
| first_visit =
| module = <!-- Other modules can be embedded here -->
}}
Parameters
[edit]| Field | Description |
|---|---|
| name | Name of the seamount. Most seamounts are named either Seamount or guyots, but some sources refer to them as volcanoes. For differences in definition, see Seamount#Geography. |
| depth | Depth of the seamount (m or ft sea level). |
| height | Height of the seamount. |
| map | Bathymetrical mapping of the seamount. The NOAA and USGS have many free maps. |
| pushpin_map | A name of a {{location map}}. If coordinates are supplied to the infobox, a red triangle will be placed on the location map.
|
| relief | Any affirmative (yes, 1, true etc) will result in a relief map equivalent map being displayed, if one exists. |
| map_caption | Caption to the map. |
| map_size | Width of map |
| map_alt | Alt field on image of map |
| map_upright | Adaptive width of map, in terms of upright from Wiki image markup
|
| mark | Image file for marker used on pushpin_map (Defaults to |
| markersize | Height of the marker on the pushpin_map, in pixels (defaults to 16) |
| label | Label next to marker on pushpin_map (defaults to name of seamount) |
| position | Position of label relative to marker on pushpin_map |
| image | Image of a part of the seamount, if one exists. |
| image_alt | Alt text for image |
| image_caption | Caption for image |
| image_size | Size of the image, in pixels. |
| image_upright | Adaptive size of the image, in terms of upright from Wiki image markup
|
| language | Name origin. |
| translation | Explanation of naming meaning (most are pretty straightforward, however). |
| pronunciation | IPA key |
| location | For example, 80 miles west of Oregon, 20 miles southeast of Hawaiʻi, etc. |
| group | Grouping – non-volcanic, see parameter below. |
| coordinates | Coordinate location. Displayed automatically. |
| country | Jurisdiction (often none; see Exclusive economic zone) |
| type | Type of seamount (examples: hotspot volcano, knoll, guyot, seamount, mud volcano) |
| volcanic_group | Volcanic grouping. |
| range | If applies. |
| age | In MYA. |
| last_activity | Some are recent, most are not. This param includes earthquake swarms, deflation, etc. |
| last_eruption | Last full-blown eruption. Checking the "eruptions" tab of the GVP page often works. |
| discovered | Year of discovery. |
| discovered_by | Usually the ship that compiled the discovery bathymetric. |
| first_visit | First submersible dive etc. If applicable. |
| module | Other modules to embed in this infobox |
| mapframe | if no, then don't show an interactive map in the infobox. See #Mapframe maps. |
Mapframe maps
[edit]- Basic {{Infobox mapframe}} parameters:
- mapframe – Specify yes or no to show or hide the map, overriding the default. Default: no, but also modified by onByDefault
- Internal onByDefault parameter: yes, unless any of these are set:
|map=,|pushpin_map=
- Internal onByDefault parameter: yes, unless any of these are set:
- 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 d:Property:P625{{Coord|12.34|N|56.78|E}} - mapframe-caption – Caption for the map. Default:
|map_caption=or explanation of geomask - 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, most 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-wikidata – Set to
yesto 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: no, but also modified by onByDefault
- Customise which features are displayed:
- 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-shape – Turn off display of shape feature by setting to
none. Force display of shape by setting toon. Use an inverse shape (geomask) instead of a regular shape by setting toinverse. Default: not specified - mapframe-line – Turn off display of line feature by setting to
none. Force display of line by setting toon. 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.
P17for country (P17),P131for located in the administrative territorial entity (P131)). Default: User-supplied P- or Q-number, or if "yes" then Location (P276) from Wikidata - mapframe-switcher – set to
autoorgeomasksorzoomsto 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-point – Turn off display of point feature by setting to
- Other optional parameters:
- mapframe-frame-width or mapframe-width – Frame width. Default:
|map_size=or 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.1
- mapframe-stroke-color or mapframe-stroke-colour – Color of line features, and outlines of shape features. Default: #ff0000
- mapframe-line-stroke-color or mapframe-line-stroke-colour – Color of line features. Default: #ff0000
- mapframe-shape-stroke-color or mapframe-shape-stroke-colour – Color of outlines of shape features. Default: #ff0000
- mapframe-stroke-width – Width of line features, and outlines of shape features. Default: 2
- mapframe-shape-stroke-width – Width of outlines of shape features. Default: 2
- mapframe-line-stroke-width – Width of line features. Default: 5
- mapframe-marker – Marker symbol to use for coordinates; see mw:Help:Extension:Kartographer/Icons for options. Default: mountain
- Can also be set to
blankto override any default marker symbol
- Can also be set to
- mapframe-marker-color or mapframe-marker-colour – Background color for the marker. Default: #b3dcdc
- 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: 1
- 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.25
- 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: 3
- 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 / not specified / not specified / 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
- mapframe-type – Set the type of the object, with the same usage as {{coord}}. Default: not specified
- mapframe-population – Set the population, useful with type="city", for {{Infobox dim}}. Default: not specified
- mapframe-frame-width or mapframe-width – Frame width. Default: