Template:Infobox mine/doc: Difference between revisions

Coordinates: 33°25′34″N 111°07′22″W / 33.42598°N 111.12266°W / 33.42598; -111.12266
From The Democratikan Wiki
m (→‎top: {{High-use}})
 
m (1 revision imported)
 
(No difference)

Latest revision as of 03:08, 15 February 2024

Blank infobox

{{{name}}}
[[File:{{{image}}}|{{{width}}}|alt={{{alt}}}]]
{{{caption}}}
Location
Location{{{place}}}
{{{subdivision_type}}}{{{state/province}}}
Country{{{country}}}
CoordinatesUse {{Coord}}
Production
Products{{{products}}}
Production{{{amount}}}
Financial year{{{financial year}}}
Type{{{type}}}
Greatest depth{{{greatest depth}}}
History
Discovered{{{discovery year}}}
Opened{{{opening year}}}
Active{{{active years}}}
Closed{{{closing year}}}
Owner
Company{{{owner}}}
Website{{{official website}}}
Year of acquisition{{{acquisition year}}}
{{{module}}}

<syntaxhighlight lang="wikitext" style="overflow:auto;"> </syntaxhighlight>

Parameters

Name and image

  • name = The common name of the mine.
  • image = An image of the mine (without the prefix "Image:").
  • width = Image width e.g. 200px
  • caption = Caption for the image.
  • alt = alternative text for the image, if the image has not yet loaded. Also controls the text displayed when the image is hovered over.

Location map

  • pushpin_map = Name of a location map definition (not a File: or Image: name) which can use with Template:Location map (i.e. "USA Colorado" would generate {{Location map|USA Colorado}} which uses map definitions from Module:Location map/data/USA Colorado).
  • pushpin_mapsize = Optional. The width to display the pushpin map, in pixels. Just the number, no "px". If the parameter is omitted or value left empty, defaults to 220.
  • pushpin_map_alt = Optional. Alt text for the pushpin map.
  • pushpin_map_caption = Optional. Caption to display below the pushpin map.
  • pushpin_image = Optional. File name of a different image using same map coordinates.
  • pushpin_label = Optional. The label to place next to the pushpin coordinate marker. Defaults to the value of the name parameter.
  • pushpin_label_position = Optional. The position of the label on the pushpin map relative to the pushpin coordinate marker. Valid options are left, right, top, bottom, and none. Defaults to right.

Coordinates

  • coordinates = Geographic coordinates, using the {{Coord}} template (with |display=inline,title). Unless a value for type: is specified, type:landmark is automatically added; unless a value for region: is specified, the template attempts to convert |country= and |state/province= into a valid region code which is automatically added. See {{Coord}} for more information on how to use it.

Location

  • place =
  • subdivision_type = state/province (affects label for the next entry)
  • state/province =
  • country =
  • the coordinates are displayed below the country

Production

  • products = what the mine produces/produced: e.g. silver, zinc, bauxite. May list more than one
  • amount = mine production (with unit, e.g. tons, troy ounces, etc.)
  • financial year = year of above the production figure, or "lifetime"
  • type = e.g. open-pit, underground, etc.
  • greatest depth =

History

  • discovery year = Year mine/deposit was discovered.
  • opening year = Year mine opened. Use {{Start date}}.
  • active years = Use if mine opened and closed more than once. Such as 1990-1995, 1997-2002; use {{Start date}} for the first one only.
  • closing year = Year mine closed. Use {{End date}}.

Owner

  • owner =
  • official website = use {{URL}}
  • acquisition year = year current owner acquired the mine.

Embedding other templates

The module=, embedded=, or nrhp= parameters can be used for embedding other templates into this infobox (see Wikipedia:Infobox modules):

<syntaxhighlight lang="wikitext" style="overflow: auto;">

...
Template:Infobox ABC

</syntaxhighlight>

Example

Lost Dutchman's Mine
The Praying Hands Formation, near the mine
Supersition Mountains
Location
Lua error in Module:Location_map at line 411: Malformed coordinates value.
LocationSuperstition Mountains
StateArizona
CountryUnited States
CoordinatesLua error in Module:Coordinates at line 489: attempt to index field 'wikibase' (a nil value).
Production
ProductsGold
Production50,000 troy ounces
Financial yearLifetime
TypeUnderground
History
Opened1875 (1875)
Closed1883 (1883)
Owner
CompanyJacob Waitz
Websitewww.example.com

<syntaxhighlight lang="wikitext" style="overflow:auto;">

Lost Dutchman's Mine
The Praying Hands Formation, near the mine
Supersition Mountains
Location
Lua error in Module:Location_map at line 411: Malformed coordinates value.
LocationSuperstition Mountains
StateArizona
CountryUnited States
CoordinatesLua error in Module:Coordinates at line 489: attempt to index field 'wikibase' (a nil value).
Production
ProductsGold
Production50,000 troy ounces
Financial yearLifetime
TypeUnderground
History
Opened1875 (1875)
Closed1883 (1883)
Owner
CompanyJacob Waitz
Websitewww.example.com

</syntaxhighlight>

Microformat

The HTML markup produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates

If the place or venue has "established", "founded", "opened" or similar dates, use {{start date}} for the earliest of those dates unless the date is before 1583 CE.

If it has a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes

hCard uses HTML classes including:

  • adr
  • agent
  • category
  • county-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • region
  • street-address
  • uid
  • url
  • vcard

Geo is produced by calling {{coord}}, and uses HTML classes:

  • geo
  • latitude
  • longitude

Please do not rename or remove these classes nor collapse nested elements which use them.

Precision

When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name= parameter.

Tracking category

TemplateData

TemplateData documentation used by VisualEditor and other tools
See a monthly parameter usage report for Template:Infobox mine in articles based on its TemplateData.

TemplateData for Infobox mine

No description.

Template parameters

ParameterDescriptionTypeStatus
namename

no description

Unknownoptional
imageimage

no description

Unknownoptional
widthwidth

no description

Unknownoptional
captioncaption

no description

Unknownoptional
altalt

no description

Unknownoptional
locationlocation

no description

Unknownoptional
placeplace

no description

Unknownoptional
state/provincestate/province

no description

Unknownoptional
countrycountry

no description

Unknownoptional
pushpin_mappushpin_map

no description

Unknownoptional
pushpin_label_positionpushpin_label_position

no description

Unknownoptional
pushpin_labelpushpin_label

no description

Unknownoptional
official_nameofficial_name

no description

Unknownoptional
pushpin_map_altpushpin_map_alt

no description

Unknownoptional
coordinatescoordinates

no description

Unknownoptional
pushpin_map_captionpushpin_map_caption

no description

Unknownoptional
map_captionmap_caption

no description

Unknownoptional
pushpin_mapsizepushpin_mapsize

no description

Unknownoptional
pushpin_imagepushpin_image

no description

Unknownoptional
subdivision_typesubdivision_type

no description

Unknownoptional
productsproducts

no description

Unknownoptional
amountamount

no description

Unknownoptional
typetype

no description

Unknownoptional
financial yearfinancial year

no description

Unknownoptional
greatest depthgreatest depth

no description

Unknownoptional
discovery yeardiscovery year

no description

Unknownoptional
opening yearopening year

no description

Unknownoptional
active yearsactive years

no description

Unknownoptional
closing yearclosing year

no description

Unknownoptional
nrhpnrhp

no description

Unknownoptional
ownerowner

no description

Unknownoptional
official websiteofficial website

no description

Unknownoptional
acquisition yearacquisition year

no description

Unknownoptional
embeddedembedded

no description

Unknownoptional
modulemodule

no description

Unknownoptional