Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template:Infobox forest/doc

From Wikipedia, the free encyclopedia

This template can be used to create an infobox for an article about a forest. It can be embedded in other infoboxes to provide addition data. For more information on this option read Infobox Embedding.

Usage

[edit]
{{{name}}}
[{{{native_name}}}] Error: {{Langx}}: unrecognized language tag: {{{native_lang}}} (help)

[{{{native_name2}}}] Error: {{Langx}}: unrecognized language tag: {{{native_lang2}}} (help)

[{{{native_name3}}}] Error: {{Langx}}: unrecognized language tag: {{{native_lang3}}} (help)
[[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}]]
{{{image_caption}}}
{{{pushpin_label}}} is located in Earth
{{{pushpin_label}}}
{{{pushpin_label}}}
Location within Earth
[[File:{{{map_image}}}|{{{map_size}}}|alt={{{map_alt}}}]]
{{{map_caption}}}
Geography
Location{{{location}}}
OS grid{{{grid_ref_UK}}}
OSI/OSNI grid{{{grid_ref_Ireland}}}
Coordinates1°N 1°W / 1°N 1°W / 1; -1
Elevation{{{elevation}}}
Area
  – maximum
{{{area}}}
{{{max_area}}} in {{{date_max_area}}}
Administration
Status{{{status}}}
Established{{{established}}}
Visitation{{{visitation}}} {{{visitation_year}}}
Events{{{events}}}
Administrator{{{administrator}}}
Authority{{{authority}}}
Governing body{{{governing_body}}}
Managedr{{{manager}}}
Operator{{{operator}}}
Owner{{{owner}}}
Website{{{website}}}
Ecology
Ecosystem{{{ecosystem}}}
WWF Classification{{{classification_WWF}}}
EPA Classification{{{classification_EPA}}}
CEC Classification{{{classification_CEC}}}
Disturbance{{{disturbance}}}
Forest cover{{{forest_cover}}}
Dominant tree species
{{{species}}}
Indicator plants{{{indicator_plants}}}
Lesser flora{{{lesser_flora}}}
Fauna{{{fauna}}}
{{{embedded}}}
{{Infobox forest
| name               = {{subst:PAGENAME}}
| native_name        = 
| native_lang        = 
| native_name2       = 
| native_lang2       = 
| image              = 
| image_caption      = 
| image_size         = 
| map_image          = 
| map_caption        = 
| map_width          = 
| coordinates        = 
| county             = 
| region             = 
| country            = 
| elevation          = 
| area               = 
| max_area           = 
| date_max_area      = 
| status             = 
| established        = 
| visitation         = 
| visitation_year    = 
| events             = 
| authority          = 
| website            = 
| ecosystem          = 
| classification_WWF = 
| classification_EPA = 
| classification_CEC = 
| disturbance        = 
| forest_cover       = 
| species            = 
| indicator_plants   = 
| lesser_flora       = 
| fauna              = 
}}

Parameter descriptions

[edit]

The only required parameter is name and it must be assigned a value

ParameterDefinition
nameName of forest. (Required)
native_nameName in native language.
native_langUse ISO 639 codes.
native_name2Name in second native language.
native_lang2Use ISO 639 codes.
imageimage of forest.
image_captionCaption for image.
map_imageThe name of any image file or the name of area the covered by a location map template. See below.
map_captionCaption displayed below the map if necessary.
countyCounty where forest is located.
regionRegion where forest is located: state, province, etc.
countryCountry where forest is located.
coordinatesFor use with the {{Coord}} template. See below if a map is to be displayed.
elevationEither mean or range elevation
areaArea of current extent of area
max_areaHistorical maximum extent of forest
date_max_areaYear when forest was at maximum extent
statusOwnership (private, state), protection/endangerement level, etc.
establishedDate
visitationNumber of persons
visitation_yearVisitation parameter: e.g. August 2010, 2004.
eventsHistoric or cultural events that took place in forest: e.g. battles.
authorityGoverning body.
websiteOfficial website.
ecosystemUse in absence of, or in addition to, WWF/EPA/CEC ecoregions.
classification_WWFWorldwide.
classification_EPAUnited States.
classification_CECUnited States.
disturbancePrimary disturbances that affect forest.
forest_coverExpress as a percentage.
speciesDominant tree species
indicator_plantsEcosystem: lesser flora that primarily indicate land cover
lesser_floraNon-woody plant species unique or dominant to forest
faunaAnimal species unique or dominant to forest


Pushpin map

[edit]

Below are the parameters used by Module:Location map to produce the pushpin map in this Infobox. These parameters are available for editors to set in articles that use this infobox. For the maps available, please consult available maps.

Parameter Description Default
|pushpin_map= The map(s) to display. For example, specifying England will use the values for England in Module:Location map/data/England.Multiple maps can be shown by providing a list of map names separated by #. For multiple maps, the first is shown by default. A reader can select the others with radio buttons. N/A
|pushpin_caption= The text of a caption to be displayed below the map. If not provided a default caption will be generated. Multiple captions can be shown when separated by ## (that's two). Location within MAPNAME
|pushpin_relief= 0/false/off will cause the template to display the map defined as image (generally not a relief map). 1/true/on will cause the template to display the map defined as image1 (generally a relief map). Any non-zero numeric value such as 2 or 3 will display image2 or image3, if those images are defined. Any other non-empty value will cause display of image1. See the example at Location map+/relief. 1
|pushpin_label= The text of the label to display next to the identifying mark; a wikilink can be used. You can enclose the label inside of {{nowrap}} if you want to make sure that it stays on a single line. N/A
|pushpin_label_size= The font size to use for the label, given as a percentage of the normal font size (<100=smaller, >100=larger); the default size is 90. Do not include %. For example, use |pushpin_label_size=80, not |pushpin_label_size=80%. If set to 0, the label is only displayed when the user hovers over the mark. 90
|pushpin_label_position= The position of the label relative to the identifying mark; valid values are left, right, top, bottom and none. This defaults to either left or right, depending on the coordinates of the marker and its position relative to the right border of the map image. When |pushpin_label_position=none, any defined label will not be displayed with the mark, but it will be used to create the default caption. N/A
|pushpin_mark= The name of an image file to display as the identifying mark; the default is Red pog.svg . See examples at Commons:Location markers and Commons:Category:Map icons. Red pog.svg
|pushpin_mark_size= The size of the identifying mark in pixels. Do not include px 8
|pushpin_alt= Alt text for map; used by screen readers. See WP:ALT. N/A
|pushpin_background= The background color to use for the label; see Web colors. The default is no background color, which shows the map image behind the label. N/A
|pushpin_map_size= Determines the width of the map in pixels, overriding any default values; do not include px. N/A

Mapframe parameters

[edit]
  • Basic {{Infobox mapframe}} parameters:
    • mapframe – Specify yes or no to show or hide the map, overriding the default. Default: no
      • Internal onByDefault parameter: not specified
    • mapframe-coordinates or mapframe-coord or coordinates or coord – Coordinates to use, instead of any on Wikidata. Use the {{Coord}} template, e.g. |coord={{Coord|12.34|N|56.78|E}}. Default: coordinates from Wikidata d:Property:P625
    • 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, 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 yes to show all shape/line features from OpenStreetMap. Default: not specified
  • 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 to on. Default: not specified
    • mapframe-shape – Turn off display of shape feature by setting to none. Force display of shape by setting to on. Use an inverse shape (geomask) instead of a regular shape by setting to inverse. Default: not specified
    • mapframe-line – Turn off display of line feature by setting to none. Force display of line by setting to on. 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 or geomasks or zooms to enable Template:Switcher-style switching between multiple mapframes. Default: not specified
      • auto – 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 parameter
      • zooms – switch between "zoomed in"/"zoomed midway"/"zoomed out", where "zoomed in" is the default zoom (with a minimum of 3), "zoomed out" is 1, 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.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: not specified (i.e. blank)
      • Can also be set to blank 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: 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: 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 / 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

Parameters for use in articles about forests of the British Isles

[edit]
Field nameDescription
grid_ref_UKIf the forest is in Great Britain, the British grid reference.
grid_ref_IrelandIf the forest in Ireland (whether Northern Ireland or the Republic), the Irish grid reference.

Tracking category

[edit]

Template data

[edit]

See also

[edit]