Template:Infobox landform/sandbox
Appearance
This is the template sandbox page for Template:Infobox landform (diff). See also the companion subpage for test cases. |
This template uses Lua: |
This template uses TemplateStyles: |
The Template:Infobox landform formats a right-side infobox to be used in articles about geological features for which no other infobox exists.
Usage
[edit]{{{name}}}
{{{native_name}}} {{{other_name}}} | |
---|---|
{{{type}}} | |
[[File:{{{photo}}}|{{{photo_width}}}|alt={{{photo_alt}}}|{{{photo_caption}}}]] | |
Coordinates: {{{coordinates}}}{{{coords_ref}}} | |
Grid position | {{{grid_ref_UK}}} |
Location | {{{location}}} |
Range | {{{range}}} |
Part of | {{{part_of}}} |
Offshore water bodies | {{{water_bodies}}} |
Age | {{{age}}} |
Formed by | {{{formed_by}}} |
Orogeny | {{{orogeny}}} |
Geology | {{{geology}}} |
Etymology | {{{etymology}}} |
Nickname | {{{nickname}}} |
Native name | {{{native_name}}} Error {{native name checker}}: parameter value is malformed (help) |
Defining authority | {{{authority}}} |
Operator | {{{operator}}} |
Area | |
• Total | {{{area}}} |
Dimensions | |
• Length | {{{length}}} |
• Width | {{{width}}} |
• Depth | {{{depth}}} |
• Drop | {{{drop}}} |
• Height | {{{height}}} |
Elevation | {{{elevation_m}}} m ({{{elevation_ft}}} ft) {{{elevation_ref}}} |
Highest elevation | {{{highest_elevation}}} ({{{highest_point}}}) |
Surface elevation | {{{surface_elevation_m}}} m ({{{surface_elevation_ft}}} ft) {{{surface_elevation_ref}}} |
Volcanic arc/belt | {{{volcanic_arc/belt}}} |
Last eruption | {{{eruption}}} |
Topo map | {{{topo}}} |
Designation | {{{designation}}} |
{{{free_label_1}}} | {{{free_data_1}}} |
{{{free_label_2}}} | {{{free_data_2}}} |
{{{free_label_3}}} | {{{free_data_3}}} |
Website | {{{website}}} |
{{{embedded}}} |
{{Infobox landform
| water =
| name =
| native_name = <!-- {{Native name|<IETF language tag>|<the native name>}} -->
| other_name =
| type =
<!-- Image -->
| photo =
| photo_width =
| photo_alt =
| photo_caption =
<!-- Map -->
| map =
| map_width =
| map_caption =
| map_alt =
| map_relief =
| label =
| label_position =
| mark =
| marker_size =
| mapframe =
| coordinates = <!-- {{Coord|LAT|LON|type:landmark|display=inline,title}} -->
| coords_ref =
<!-- Location -->
| location =
| grid_ref =
| grid_ref_UK =
| grid_ref_Ireland =
| range =
| part_of =
| water_bodies =
<!-- Geology -->
| age =
| orogeny =
| formed_by =
| geology =
<!-- Naming -->
| etymology =
| nickname =
| authority =
<!-- Operator -->
| operator =
<!-- Area -->
| area = <!-- {{Convert|NN|ha|acres}} -->
| area_km2 =
| area_mi2 =
| area_ref =
<!-- Dimensions -->
| length = <!-- {{Convert|NN|km|mi}} -->
| width = <!-- {{Convert|NN|km|mi}} -->
| depth = <!-- {{Convert|NN|km|mi}} -->
| drop = <!-- {{Convert|NN|km|mi}} -->
| height = <!-- {{Convert|NN|m|ft}} -->
<!-- Elevation -->
| elevation = <!-- {{Convert|NN|m|ft}} -->
| elevation_m =
| elevation_ft =
| elevation_ref =
| surface_elevation = <!-- {{Convert|NN|m|ft}} -->
| surface_elevation_m =
| surface_elevation_ft =
| surface_elevation_ref =
| highest_point =
| highest_elevation =
| highest_coords = <!-- {{Coord|LAT|LON|type:landmark|display=inline}} -->
<!-- Volcanism -->
| volcanic_arc/belt =
| volcanic_arc =
| volcanic_belt =
| volcanic_field =
| eruption =
<!-- Other -->
| topo =
| designation =
| free_label_1 =
| free_data_1 =
| free_label_2 =
| free_data_2 =
| free_label_3 =
| free_data_3 =
| website = <!-- {{URL|example.com}} -->
| embedded =
}}
{{Infobox landform
| water =
| name =
| native_name =
| other_name =
| type =
| photo =
| photo_width =
| photo_alt =
| photo_caption =
| map =
| map_width =
| map_caption =
| map_alt =
| map_relief =
| label =
| label_position =
| mark =
| marker_size =
| mapframe =
| coordinates =
| coords_ref =
| location =
| grid_ref =
| grid_ref_UK =
| grid_ref_Ireland =
| range =
| part_of =
| water_bodies =
| age =
| orogeny =
| formed_by =
| geology =
| etymology =
| nickname =
| authority =
| operator =
| area =
| area_km2 =
| area_mi2 =
| area_ref =
| length =
| width =
| depth =
| drop =
| height =
| elevation =
| elevation_m =
| elevation_ft =
| elevation_ref =
| surface_elevation =
| surface_elevation_m =
| surface_elevation_ft =
| surface_elevation_ref =
| highest_point =
| highest_elevation =
| highest_coords =
| volcanic_arc/belt =
| volcanic_arc =
| volcanic_belt =
| volcanic_field =
| eruption =
| topo =
| designation =
| free_label_1 =
| free_data_1 =
| free_label_2 =
| free_data_2 =
| free_label_3 =
| free_data_3 =
| website =
| embedded =
}}
Parameters
[edit]Parameter | Default value | Description |
---|---|---|
Lead section | ||
water | Assigning any value to this parameter will generate a blue header. Only articles about features that are predominantly water, such as maars and whirlpools, should use this option. The default is brown. | |
name | Wikidata label in the local language | Name of the landform. |
native_name | name in native language (P1559) | Name in local language – use {{native name}} or, for multiple names, use {{native name list}} |
other_name | Other name for the landform. See native_name if the name is in a different language.
| |
type | What type of landform the feature is. Required in order to generate a header. | |
Image and map | ||
photo | Image on Wikidata | Photograph of the mountain. Preferably a distance shot to show most/all of the mountain rather than a view from the summit. |
photo_width | 280px | The default image width in pixels. |
photo_alt | photo_caption |
Alt text for the photo. |
photo_caption | media legend (P2096) stated on image | Description of the photograph. |
map | The name of a location map as per Template:Location map (e.g. Indonesia or Russia). The coordinates template ({{coord}}) positions a pushpin marker and label on the map automatically. Example see: Mount Everest. | |
map_width | 280px | |
map_caption | location |
Fill out if a map caption is desired. |
map_alt | Alt text for the map, primarily for visually impaired readers. See Alt text for maps. | |
map_relief | Any non-blank value will use the alternate map (typically a relief map) if the chosen location map has one | |
label | name |
Label given to the landform on the location map |
label_position | right | Location of the label in relation to the specific mark |
mark | ||
marker_size | ||
mapframe | on by default when no other maps present | Add a {{infobox mapframe}} map. See the documentation below in #Mapframe maps for more details on usage. |
coordinates | coordinate location (P625) | Coordinates of the landform. |
coords_ref | N/A | Optional parameter to add a suffix to the coordinates parameter (such as a reference).
|
Location | ||
location | location (P276) | Free-form field to describe the location. |
grid_ref | ||
grid_ref_UK | OS grid reference (P613) | If the landform is in Great Britain, the British grid reference. Use grid_ref_UK_ref to add a suffix reference.
|
grid_ref_Ireland | Irish Grid Reference (P4091) | If the landform is in Ireland (whether Northern Ireland or the Republic), the Irish grid reference. Use grid_ref_Ireland_ref to add a suffix reference.
|
range | mountain range (P4552) | The mountain range that the landform is in. Note that this should be the specific subgroup (eg. Bernese Alps, not Alps). |
part_of | Group of relevant landforms the feature is a part of. | |
water_bodies | Any bodies of water the landform is associated with (eg. the Strait of Dover for the White Cliffs of Dover). | |
Geology | ||
age | Age of the rock. Geologic time scales may be useful here. | |
formed_by | Processes which led to the formation of the landform | |
orogeny | ||
geology | ||
Naming | ||
etymology | Origin of name | |
nickname | ||
authority | The authority which is responsible for the official naming of the landform | |
Operator | ||
operator | ||
Area | ||
area | area (P2046) | Footprint of the mountain or peak, without auto-conversion. You may wish to use {{Convert|xxx|km2|mi2|abbr=on}}
|
area_km2 | Footprint of the mountain or peak in square kilometres, with auto-conversion. | |
area_mi2 | Footprint of the mountain or peak in square miles, with auto-conversion. | |
area_ref | N/A | Optional parameter to add a suffix to the area parameters (such as a reference).
|
Dimensions | ||
length | length (P2043) | Length of the landform, without auto-conversion. You may wish to use {{Convert|xxx|km|mi|abbr=on}}
|
length_km | Length in kilometres, with auto-conversion. | |
length_mi | Length in miles, with auto-conversion. | |
length_ref | N/A | Optional parameter to add a suffix to the length parameters (such as a reference).
|
width | width (P2049) | Width of thelandform, without auto-conversion. You may wish to use {{Convert|xxx|km|mi|abbr=on}}
|
width_km | Length in kilometres, with auto-conversion. | |
width_mi | Length in miles, with auto-conversion. | |
width_ref | N/A | Optional parameter to add a suffix to the width parameters (such as a reference).
|
depth_km | Depth of the landform in kilometres, with auto-conversion. | |
depth_mi | Depth in miles, with auto-conversion. | |
drop_km | Drop in kilometres, with auto-conversion. | |
drop_mi | Drop in miles, with auto-conversion. | |
height_m | Height of landform (bottom to top) in meters, with auto-conversion. | |
height_ft | Height of landform (bottom to top) in feet, with auto-conversion. | |
Elevation | ||
elevation | elevation above sea level (P2044) | Elevation, without auto-conversion. You may wish to use {{Convert|xxx|m|ft|abbr=on}}
|
elevation_m | Elevation in metres, with auto-conversion. | |
elevation_ft | Elevation in feet, with auto-conversion. | |
elevation_ref | N/A | Optional parameter to add a suffix to the elevation parameters (such as a reference).
|
surface_elevation | elevation above sea level (P2044) | Surface elevation, without auto-conversion. You may wish to use {{Convert|xxx|m|ft|abbr=on}}
|
surface_elevation_m | Surface elevation in metres, with auto-conversion. | |
surface_elevation_ft | Surface elevation in feet, with auto-conversion. | |
surface_elevation_ref | N/A | Optional parameter to add a suffix to the elevation parameters (such as a reference).
|
highest_point | Name or location of the highest point of the landform | |
highest_elevation | Elevation of the highest point | |
highest_coords | Coordinates of the highest point | |
Volcanism | ||
volcanic_arc/belt volcanic_arc volcanic_belt volcanic_field |
If the landform is a volcano, the arc, belt or field in which it is situated. Subsequent tags cause a more specific label to appear instead of the catch-all label. | |
eruption last_eruption |
The date of the last eruption if the landform is of volcanic origin. | |
Other | ||
topo | The name of the topographic map that contains the landform | |
Designation | Any designation the landform has, such as a protected area. | |
free_label_1 free_label_2 free_label_3 |
Additional tags that can be customised to add further content to the infobox. Provides the label on the left hand side of the infobox for the corresponding free_data_#
| |
free_data_1 free_data_2 free_data_3 |
Additional tags that can be customised to add further content to the infobox. Provides the data on the right hand side of the infobox for the corresponding free_label_#
| |
website | Any website of the landform. | |
embedded | Provides the ability to embed another infobox, such as Template:Infobox protected area, if relevant. |
Mapframe maps
[edit]- Basic parameters:
- mapframe – Specify yes or no to show or hide the map, overriding the default. Default: Enabled (onByDefault) if none of the other map parameters are present:
|pushpin_map=
,|map=
,|map_image=
- 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: Enabled (onByDefault) if none of the other map parameters are present:
- 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: natural
- 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: #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
Example
[edit]Waterloo Bay | |
---|---|
Coordinates: 54°51′07″N 5°49′48″W / 54.852°N 5.83°W | |
Grid position | D408037 |
Location | County Antrim, Northern Ireland |
Age | Jurassic, Triassic |
Elevation | 0 m |
Topo map | OSNI Discoverer 9 |
{{Infobox landform
| water =
| name = Waterloo Bay
| photo = Waterloo - geograph.org.uk - 454845.jpg
| photo_caption = Tilted [[Mercia Mudstone Group|mudstones]] at Waterloo Bay, Larne
| elevation = 0 m
| elevation_ref =
| map = UK Northern Ireland
| map_relief = 1
| map_caption = Location in Northern Ireland
| label_position = none
| location = [[County Antrim]], [[Northern Ireland]]
| coordinates = {{coord|54.852|-5.83|display=inline,title}}
| grid_ref_Ireland = D408037
| topo = [[Ordnance Survey of Northern Ireland|OSNI]] ''Discoverer'' 9
| type = [[Mercia Mudstone Group]], [[Lias Group]]
| age = [[Jurassic]], [[Triassic]]
| volcanic_arc/belt =
| last_eruption =
}}
Tracking categories
[edit]- Category:Pages using infobox landform with unknown parameters (4)
- Category:Pages using Infobox landform with no type (0)