Difference between revisions of "Template:Infobox mountain range/doc"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Frietjes
Line 176: Line 176:
 
|-
 
|-
 
!label_position
 
!label_position
|The relative position of the label to the mark, e.g., "top" or "right". See {{tl|Infobox map}}.
+
|The relative position of the label to the mark, e.g., "top" or "right". See {{tl|Location map}}.
 
|-
 
|-
 
!region_code
 
!region_code

Revision as of 14:41, 24 July 2017

{{{name}}}
{{{other_name}}}
[[File:{{{photo}}}|Script error: No such module "If empty".|alt={{{photo_alt}}}|upright=1.21|{{{photo_alt}}}]]
{{{photo_caption}}}
Highest point
Peak{{{highest}}}, {{{highest_location}}}
ElevationScript error: No such module "If empty". {{{elevation_m}}}{{{elevation_note}}}
{{{elevation_system}}}
ProminenceScript error: No such module "If empty".
IsolationScript error: No such module "If empty".
CoordinatesScript error: No such module "If empty".Script error: No such module "If empty".
Dimensions
LengthScript error: No such module "If empty". Script error: No such module "If empty". {{{length_note}}}
WidthScript error: No such module "If empty". Script error: No such module "If empty". {{{width_note}}}
AreaScript error: No such module "If empty". {{{area_km2}}}{{{area_note}}}
VolumeScript error: No such module "If empty".
Naming
Etymology{{{etymology}}}
Nickname{{{nickname}}}
Native nameTemplate:Native name
Defining authority{{{authority}}}
Geography
[[File:{{{map_image}}}|Script error: No such module "If empty".|alt={{{map_alt}}}|upright=1.16|{{{map_alt}}}]]
{{{map_caption}}}
Location{{{location}}}
Script error: No such module "If empty".{{{country}}}, {{{country1}}}, ... and {{{country18}}}
Script error: No such module "If empty".{{{state}}}, {{{state1}}}, ... and {{{state18}}}
Script error: No such module "If empty".{{{region}}}, {{{region1}}}, ... and {{{region23}}}
Script error: No such module "If empty".{{{district}}}, {{{district1}}}, ... and {{{district18}}}
Script error: No such module "If empty".{{{city}}}, {{{city1}}}, ... and {{{city18}}}
Range coordinatesScript error: No such module "If empty".
Parent range{{{parent}}}
Borders on{{{border}}}, {{{border1}}}, ... and {{{border7}}}
Topo map{{{topo_maker}}} Script error: No such module "If empty".
Biome{{{biome}}}
Geology
Formed by{{{formed_by}}}
Orogeny{{{orogeny}}}
Age of rock{{{period}}} and {{{period1}}}
Type of rock{{{geology}}}, {{{geology1}}} and {{{geology2}}}
Script error: No such module "If empty".

Template:Wikidata image

This infobox is designed for articles about mountain ranges, worldwide. The infobox with explicit parameters is shown to the right. Use of the infobox on data from real mountain ranges can be seen on the test page.

Usage

Copy and paste the following lines to the beginning of your document and then fill with data.

This gives the basic parameters but others are available; see the box to the right and the detailed usage sections below.

Do not edit the first and last lines or the field names.

{{Infobox mountain range
|name                   = 
|other_name             = 
|photo                  = 
|photo_alt              = 
|photo_caption          = 

<!-- Geography -->
|country_type           = <!-- Alternative label for country eg use "Continent" for ranges in Antarctica -->
|country                = 
|country1               = 
|country2               = 
|region_type            = <!-- Label for sub-national regions, overriding default "State/Province" -->
|region                 = 
|region1                = 
|border                 = 
|border1                = 
|biome                  = 
|topo_map               =
|topo_maker             =

<!-- Highest point -->
|highest                = <!-- name -->
|highest_location       = 
|elevation_m            = 
|elevation_system       = <!-- The reference system that defines the elevation -->
|elevation_note         = 
<!-- Coordinates of the highest point -->
|coordinates            = 
|coordinates_note       = 

<!-- Range -->
|length_km              = 
|width_km               = 
|area_km2               = 
|length_orientation     = 
|width_orientation      = 
|length_note            = 
|width_note             = 
|area_note              = 
|parent                 =
<!-- Overall coordinates for the range; usually the center of the range -->
|range_coordinates      = 
|range_coordinates_note = 

<!-- Geology -->
|formed_by              =
|geology                = 
|period                 = 
|orogeny                = 

<!-- Locator map; takes coordinates from "highest point" (and perhaps "range"; need to experiment and then correct this comment) -->
|map                    = 
|map_alt                = 
|map_caption            = 
|map_relief             = 
|region_code            = 
|relief                 =
}}

Dimensional parameters

highest Name of highest peak in the range
highest_location location of highest peak, e.g., country or province
elevation_m Height of highest point in the range, in meters, as a number (e.g., 8848). Will automatically convert to feet.
length_km Length and width of range, in kilometers, as a number. Will automatically convert to miles.
width_km
area_km2 Area of range, in square kilometers, as a number. Will automatically convert to square miles.
length_orientation Length orientation such as N-S for North to South
width_orientation Width orientation such as E-W for East to West
elevation_ft As above, except number is expressed in U.S. units, and will automatically convert to metric. Please use only for mountain ranges in the United States.
length_mi
width_mi
area_mi2
elevation Free form field for expressing dimension, no automatic unit conversion. To be used instead of parameters like elevation_m or elevation_ft
length
width
area
elevation_system The elevation reference system that defines the elevation, e.g., NAVD88 or DE-NHN
elevation_note Note field after dimensional quantity, typically used for inline citation that supports the quantity
length_note
width_note
area_note

Coordinate parameters

There are three ways to enter the location of a mountain range, which controls the content of two different optional fields:

coordinates Free-form field for entering coordinates.
coordinates_note Add a note after the Coordinates link
range_coordinates Free-form field for entering coordinates. Will appear as "Range coordinates" in Geography section
range_coordinates_note Add a note after the Range coordinates link

Mapping parameters

The mapping parameters are the same as {{Infobox mountain}}, except for region and topo_map:

map The name of a locator map (e.g., "California")
map_image A filename for a map (e.g., "RockyMountainsLocatorMap.png"
map_alt The string provided when hovering over the map
map_size The width of the map in pixels. Defaults to 272
map_caption The caption underneath the map
map_relief When map_relief=0, turns off relief maps. This is only functional when a location map template is used to display a map.
label Label of mark on map. Defaults to no label.
label_position The relative position of the label to the mark, e.g., "top" or "right". See {{Location map}}.
region_code Either a two character ISO 3166-1 alpha-2 country code or an ISO 3166-2 region code. See region.
topo_maker The publisher of the topographic map that the range appears in
topo_map The name of the topographic map that the range appears in

Geographical parameters

location Free-form field describing location of range, similar to {{Infobox mountain}}
country,country1,...,country19 Countries that range spans. First use country, then country# in order. For more than four countries, infobox will automatically put into collapsed list.
country_type Alternative label for country, e.g., use Continent for ranges in Antarctica
state,state1,...,state19 States that range spans. For provinces, set state_type to "Province"
state_type Alternative label for state, e.g. Province
region,region1,...,region23 Sub-national regions that range spans.
region_type Label for sub-national regions, overriding default "State/Province"
district,district1,...,district19 Sub-regional areas that range spans, e.g., counties in the United States
district_type Label for sub-regional areas, overriding default "District"
city,city1,...,city19 Settlements within the mountain range.
city_type Label for settlements, overriding default "Settlement"
parent Parent mountain range
border,border1,...,border3 Other mountain ranges that border this one
biome Biome(s) for range
topo_maker, topo_map The publisher and name (respectively) of the topographic map that contains the range

For users of Geobox

Some of the parameter names have changed from those used in Geobox, to make them compatible with those used in {{Infobox mountain}}. The renamed parameters are:

Geobox Infobox mountain range
image photo
image_size photo_size
image_caption photo_caption
image_alt photo_alt
length_imperial length_mi
width_imperial width_mi
area_imperial area_mi2
length length_km
width width_km
area area_km
highest_elevation_imperial elevation_ft
highest_elevation elevation_m
highest_elevation_note elevation_note

See also