• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Infobox forest/sandbox

  • Template
  • Talk
  • Language
  • Watch
  • Edit
< Template:Infobox forest
This is the template sandbox page for Template:Infobox forest (diff).
See also the companion subpage for test cases.
Template documentation[view] [edit] [history] [purge]
This template uses Lua:
  • Module:Infobox (sandbox)
  • Module:InfoboxImage (sandbox)
  • Module:Coordinates (sandbox)
  • Module:Check for unknown parameters (sandbox)
  • Module:Infobox mapframe (sandbox)

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.

Contents

  • 1 Usage
  • 2 Parameter descriptions
    • 2.1 Mapframe parameters
  • 3 Map display method
  • 4 Parameters for use in articles about forests of the British Isles
  • 5 Tracking category
  • 6 See also

Usage

edit

If both a photo and a map are to be displayed the photo will appear at the top of the infobox and the map at the bottom. If only a map is to be displayed then the map will appear at the top.

Richard J. Dorer Memorial Hardwood State Forest
Map showing the location of Richard J. Dorer Memorial Hardwood State Forest
Map showing the location of Richard J. Dorer Memorial Hardwood State Forest
Map
Interactive map of area around the forest
Geography
LocationSoutheastern Minnesota, United States
Coordinates44°31′13″N 92°27′18″W / 44.52028°N 92.45500°W / 44.52028; -92.45500
Area1,016,204 acres (411,243.2 ha)
Administration
Established1961
Governing bodyMinnesota Department of Natural Resources, Private
{{Infobox forest
| name               = {{subst:PAGENAME}}
| native_name        = 
| native_lang        = 
| native_name2       = 
| native_lang2       = 
| photo              = 
| photo_caption      = 
| photo_width        = 
| map                = 
| 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

ParameterWikilinkDefinition
nameNoName of forest. (Required)
native_nameNoName in native language.
native_langNoUse ISO 639 codes.
native_name2NoName in second native language.
native_lang2NoUse ISO 639 codes.
photoNoPhoto of forest.
photo_captionNoCaption for photo.
mapNoThe name of any image file or the name of area the covered by a location map template. See below.
map_captionNoCaption displayed below the map if necessary.
countyYesCounty where forest is located.
regionYesRegion where forest is located: state, province, etc.
countryYesCountry where forest is located.
coordinatesNoFor use with the {{Coord}} template. See below if a map is to be displayed.
elevationNoEither mean or range elevation
areaNoArea of current extent of area
max_areaNoHistorical maximum extent of forest
date_max_areaNoYear when forest was at maximum extent
statusYesOwnership (private, state), protection/endangerement level, etc.
establishedNoDate
visitationNoNumber of persons
visitation_yearNoVisitation parameter: e.g. August 2010, 2004.
eventsYesHistoric or cultural events that took place in forest: e.g. battles.
authorityYesGoverning body.
websiteNoOfficial website.
ecosystemYesUse in absence of, or in addition to, WWF/EPA/CEC ecoregions.
classification_WWFYesWorldwide.
classification_EPAYesUnited States.
classification_CECYesUnited States.
disturbanceYesPrimary disturbances that affect forest.
forest_coverNoExpress as a percentage.
speciesYesDominant tree species
indicator_plantsYesEcosystem: lesser flora that primarily indicate land cover
lesser_floraYesNon-woody plant species unique or dominant to forest
faunaYesAnimal species unique or dominant to forest

Mapframe parameters

edit
  • view
  • talk
  • 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


Map display method

edit

A marker can be superimposed on a map using one of a set of map templates. This method requires the geographic coordinates to be entered using the parameters below and assigning map the name of the area covered by one of a set of location map templates. The parameters for this template map to a subset of the parameters for {{Location map}} and reading the documentation for that template might be helpful.

The coordinates and related information must be entered using the of parameters below. This information is the same as that used by the {{coord}} template.

ParameterDefinition
mapName of location map template. For example, specify France to use the values in Module:Location map/data/France. See Template:Location map#Available map templates.
map_widthWidth to display the map image. Default is 250, maximum is 264. For example, map_width=220 (not map_width=220px).
reliefAny non-blank value (yes, 1, etc.) will cause the template to display a relief map image, where available. For additional information, see Template:Location map#Relief parameter.
map_altAlternative text for the map image, see WP:ALT.
map_captionText displayed below the map image, if required.
markThe image to use for the marker. The default is Red pog.svg. See Template:Location map for more information.
marker_widthThe display width of the marker image in pixels. Default = 8.
labelText that will be displayed next to the marker. Works with label_position below. Seldom used.
label_positionSpecifies the position of a label with respect to the marker. Valid values are left, right, top and bottom. See label above.
The parameters below are used to enter the data that can be entered in {{Coord}}.
coordinatesThe latitude and longitude. Use the {{Coord}} template.
coords_refUsed with either coordinate display method above. Strongly recommended. Specify a citation for the coordinates using <ref>...</ref> tags.

Location map templates can be found using these sources:

List of templates - 1050 templates available when the list was generated.
Category:Location map templates - templates sorted by category.
Special:Prefixindex/Template:Location map - a search that might help.
Special:WhatLinksHere/Template:Location map/Info - another search that might help.

The value you need to assign to the parameter, map, is the area name. The location map for France is Module:Location map/data/France. In this case specify map=France.

Forest of Halatte
Forêt d'Halatte
Map showing the location of Forest of Halatte
Map showing the location of Forest of Halatte
Geography
LocationPicardy, France
Coordinates49°14′45″N 2°34′15″E / 49.24583°N 2.57083°E / 49.24583; 2.57083
{{Infobox forest
| name = Forest of Halatte
| native_name = {{lang|fr|Forêt d'Halatte}}
| map = France
| map_caption = 
| relief = yes
| location = [[Picardy]], France
| coordinates = {{coord|49|14|45|N|2|34|15|E|region:FR|display=inline|}}
}}

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
  • Category:Pages using infobox forest with unknown parameters (0)

See also

edit
  • Template:Infobox protected area

This template is used to create an infobox about a forest.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
box_widthbox_width

no description

Unknownoptional
childchild

no description

Unknownoptional
namename

no description

Unknownoptional
native_langnative_lang

no description

Unknownoptional
native_namenative_name

Name in native language.

Contentoptional
native_lang2native_lang2

no description

Unknownoptional
native_name2native_name2

no description

Unknownoptional
photophoto

Photo of forest.

Filesuggested
photo_widthphoto_width

no description

Unknownoptional
image_altimage_alt

no description

Unknownoptional
photo_altphoto_alt

no description

Unknownoptional
photo_captionphoto_caption

no description

Unknownoptional
locationlocation

no description

Unknownoptional
elevationelevation

Either mean or range elevation

Contentoptional
areaarea

no description

Unknownoptional
authorityauthority

no description

Unknownoptional
statusstatus

no description

Unknownoptional
mapmap

no description

Unknownoptional
map_widthmap_width

no description

Unknownoptional
reliefrelief

no description

Unknownoptional
labellabel

no description

Unknownoptional
label_positionlabel_position

no description

Unknownoptional
map_captionmap_caption

no description

Unknownoptional
map_altmap_alt

no description

Unknownoptional
markmark

no description

Unknownoptional
marker_widthmarker_width

no description

Unknownoptional
marker_sizemarker_size

no description

Unknownoptional
coordinatescoordinates

no description

Unknownoptional
coordscoords

no description

Unknownoptional
map_imagemap_image

no description

Unknownoptional
map_sizemap_size

no description

Unknownoptional
countycounty

no description

Unknownoptional
regionregion

Region where forest is located: state, province, etc.

Contentsuggested
countrycountry

no description

Unknownoptional
grid_ref_UKgrid_ref_UK

no description

Unknownoptional
grid_ref_Irelandgrid_ref_Ireland

no description

Unknownoptional
displaydisplay

no description

Unknownoptional
coords_refcoords_ref

no description

Unknownoptional
date_max_areadate_max_area

no description

Unknownoptional
max_areamax_area

no description

Unknownoptional
establishedestablished

no description

Unknownoptional
visitationvisitation

no description

Unknownoptional
visitation_yearvisitation_year

no description

Unknownoptional
eventsevents

no description

Unknownoptional
administratoradministrator

no description

Unknownoptional
governing_bodygoverning_body

no description

Unknownoptional
managermanager

no description

Unknownoptional
operatoroperator

no description

Unknownoptional
ownerowner

no description

Unknownoptional
websitewebsite

Official website.

URLsuggested
ecosystemecosystem

no description

Unknownoptional
classification_WWFclassification_WWF

no description

Unknownoptional
classification_EPAclassification_EPA

no description

Unknownoptional
classification_CECclassification_CEC

no description

Unknownoptional
speciesspecies

no description

Unknownoptional
disturbancedisturbance

no description

Unknownoptional
forest_coverforest_cover

no description

Unknownoptional
indicator_plantsindicator_plants

no description

Unknownoptional
faunafauna

Animal species unique or dominant to forest.

Contentoptional
lesser_floralesser_flora

no description

Unknownoptional
embeddedembedded

no description

Unknownoptional
embedembed

no description

Unknownoptional
The above documentation is transcluded from Template:Infobox forest/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Infobox_forest/sandbox&oldid=1343659506"