வார்ப்புரு:Infobox mine/doc
{{Documentation subpage}}
 &lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --&gt;
 {{Lua|Module:Infobox|Module:InfoboxImage|Module:Coordinates|Module:Check for unknown parameters}}
 
 ==Blank infobox==
 {{Generic template demo
 | name
 | image
 | width
 | caption
 | alt
 | &lt;!-- pushpin_map --&gt;
 | &lt;!-- pushpin_mapsize --&gt;
 | &lt;!-- pushpin_map_alt --&gt;
 | &lt;!-- pushpin_map_caption --&gt;
 | &lt;!-- pushpin_image --&gt;
 | &lt;!-- pushpin_label --&gt;
 | &lt;!-- pushpin_label_position --&gt;
 | coordinates = ''Use {{tl|Coord}}''
 | location
 | place
 | state/province
 | country
 | subdivision_type
 | state/province
 | country
 | products
 | amount
 | financial year
 | type
 | greatest depth
 | discovery year
 | opening year
 | active years
 | closing year
 | owner
 | official website
 | acquisition year
 | module &lt;!-- or 'embedded' or 'nrhp' --&gt;
 }}
 
 &lt;syntaxhighlight lang=&quot;wikitext&quot; style=&quot;overflow:auto;&quot;&gt;
 {{Infobox mine
 | name               = 
 | image              = 
 | width              = 
 | caption            = 
 | alt                = 
 | pushpin_map        = 
 | pushpin_mapsize    = 
 | pushpin_map_alt    = 
 | pushpin_map_caption= 
 | pushpin_image      = 
 | pushpin_label      = 
 | pushpin_label_position = 
 | coordinates        = &lt;!-- {{Coord|latitude|N/S|longitude|E/W|display=inline,title}} --&gt;
 | place              = 
 | subdivision_type   = 
 | state/province     = 
 | country            = 
 | products           = 
 | amount             = &lt;!--include units--&gt; 
 | financial year     = 
 | type               = 
 | greatest depth     = 
 | discovery year     = 
 | opening year       = &lt;!-- {{Start date|YYYY}} --&gt;
 | active years       = &lt;!-- use only if inactive for a period of time--&gt;
 | closing year       = &lt;!-- {{End date|YYYY}} --&gt;
 | owner              = 
 | official website   = &lt;!-- {{URL|example.com}} --&gt;
 | acquisition year   = 
 | module             = &lt;!-- or 'embedded' or 'nrhp' --&gt;
 }}
 &lt;/syntaxhighlight&gt;
 
 ==Parameters==
 
 === Name and image ===
 * '''name''' = The common name of the mine.
 * '''image''' = An image of the mine (without the prefix &quot;Image:&quot;).
 * '''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. &quot;USA Colorado&quot; would generate &lt;nowiki&gt;{{Location map|USA Colorado}}&lt;/nowiki&gt; 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 &quot;px&quot;. If the parameter is omitted or value left empty, defaults to ''220''.
 * '''pushpin_map_alt''' = Optional. [[Wikipedia:Alternative text for images|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 coordinate system|Geographic coordinates]], using the {{tl|Coord}} template (with {{para|display|inline,title}}). Unless a value for &lt;code&gt;type:&lt;/code&gt; is specified, &lt;code&gt;type:landmark&lt;/code&gt; is automatically added; unless a value for &lt;code&gt;region:&lt;/code&gt; is specified, the template attempts to convert {{para|country}} and {{para|state/province}} into a valid region code which is automatically added. See {{tl|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 &quot;lifetime&quot;
 * '''type''' = e.g. open-pit, underground, etc.
 * '''greatest depth''' =
 
 === History ===
 * '''discovery year''' = Year mine/deposit was discovered.
 * '''opening year''' = Year mine opened. Use {{Tl|Start date}}.
 * '''active years''' = Use if mine opened and closed more than once. Such as 1990-1995, 1997-2002; use {{Tl|Start date}} for the first one only.
 * '''closing year''' = Year mine closed. Use {{Tl|End date}}.
 
 === Owner ===
 * '''owner''' = 
 * '''official website''' = use {{Tl|URL}}
 * '''acquisition year''' = year current owner acquired the mine.
 
 === Embedding other templates ===
 The &lt;code&gt;module=&lt;/code&gt;, &lt;code&gt;embedded=&lt;/code&gt;, or &lt;code&gt;nrhp=&lt;/code&gt; parameters can be used for embedding other templates into this infobox (see [[Wikipedia:Infobox modules]]):
 
 &lt;syntaxhighlight lang=&quot;wikitext&quot; style=&quot;overflow: auto;&quot;&gt;
 {{Infobox mine
 | name = 
 ...
 | module = &lt;!-- or 'embedded' or 'nrhp' --&gt;
   {{Infobox ABC
   | embed = yes &lt;!-- or child=yes or subbox=yes--&gt;
   ...
   }}
 }}
 &lt;/syntaxhighlight&gt;
 
 == Example ==
 &lt;!--a somewhat humorous example, using a legendary mine--&gt;
 {{Infobox mine
 | name               = Lost Dutchman's Mine
 | image              = SUPERSTITIONS AZ15.jpg
 | width              = 250px
 | caption            = Supersition Mountains
 | alt                = The Praying Hands Formation, near the mine
 | pushpin_map        = Arizona
 | pushpin_mapsize    = 200px
 | pushpin_map_alt    = 
 | pushpin_map_caption= 
 | pushpin_image      = 
 | pushpin_label      = 
 | pushpin_label_position = 
 | coordinates        = {{coord|33.42598|N|111.12266|W|display=inline,title}}
 | place              = [[Superstition Mountains]]
 | subdivision_type   = State
 | state/province     = [[Arizona]]
 | country            = United States
 | products           = Gold
 | amount             = 50,000 troy ounces
 | financial year     = Lifetime
 | type               = Underground
 | greatest depth     = 
 | discovery year     =
 | opening year       = {{Start date|1875}}
 | active years       = &lt;!-- use only if inactive for a period of time--&gt;
 | closing year       = {{End date|1883}}
 | owner              = Jacob Waitz
 | official website   = {{URL|http://www.example.com}}
 | acquisition year   = 
 | module             = 
 }}
 
 &lt;syntaxhighlight lang=&quot;wikitext&quot; style=&quot;overflow:auto;&quot;&gt;
 {{Infobox mine
 | name               = Lost Dutchman's Mine
 | image              = SUPERSTITIONS AZ15.jpg
 | width              = 250px
 | caption            = Supersition Mountains
 | alt                = The Praying Hands Formation, near the mine
 | pushpin_map        = Arizona
 | pushpin_mapsize    = 200px
 | pushpin_map_alt    = 
 | pushpin_map_caption= 
 | pushpin_image      = 
 | pushpin_label      = 
 | pushpin_label_position = 
 | coordinates        = {{coord|33.42598|N|111.12266|W|display=inline,title}}
 | place              = [[Superstition Mountains]]
 | subdivision_type   = State
 | state/province     = [[Arizona]]
 | country            = United States
 | products           = Gold
 | amount             = 50,000 troy ounces
 | financial year     = Lifetime
 | type               = Underground
 | greatest depth     = 
 | discovery year     =
 | opening year       = {{Start date|1875}}
 | active years       = &lt;!-- use only if inactive for a period of time--&gt;
 | closing year       = {{End date|1883}}
 | owner              = Jacob Waitz
 | official website   = {{URL|http://www.example.com}}
 | acquisition year   = 
 | module             = 
 }}
 &lt;/syntaxhighlight&gt;
 {{clear}}
 
 == Microformat ==
 {{UF-hcard-geo}}
 
 == Tracking category ==
 * {{clc|Pages using infobox mine with unknown parameters}}
 
 == TemplateData ==
 {{Collapse top|title=[[Wikipedia:TemplateData|TemplateData]] documentation used by [[Wikipedia:VisualEditor|VisualEditor]] and other tools}}
 {{TemplateData header|noheader=1}}
 &lt;templatedata&gt;
 {
 	&quot;params&quot;: {
 		&quot;name&quot;: {},
 		&quot;image&quot;: {},
 		&quot;width&quot;: {},
 		&quot;caption&quot;: {},
         &quot;alt&quot;: {},
 		&quot;location&quot;: {},
 		&quot;place&quot;: {},
 		&quot;state/province&quot;: {},
 		&quot;country&quot;: {},
 		&quot;pushpin_map&quot;: {},
 		&quot;pushpin_label_position&quot;: {},
 		&quot;pushpin_label&quot;: {},
 		&quot;official_name&quot;: {},
 		&quot;pushpin_map_alt&quot;: {},
 		&quot;coordinates&quot;: {},
 		&quot;pushpin_map_caption&quot;: {},
 		&quot;map_caption&quot;: {},
 		&quot;pushpin_mapsize&quot;: {},
 		&quot;pushpin_image&quot;: {},
 		&quot;subdivision_type&quot;: {},
 		&quot;products&quot;: {},
 		&quot;amount&quot;: {},
 		&quot;type&quot;: {},
 		&quot;financial year&quot;: {},
 		&quot;greatest depth&quot;: {},
 		&quot;opening year&quot;: {},
 		&quot;active years&quot;: {},
 		&quot;closing year&quot;: {},
 		&quot;nrhp&quot;: {},
 		&quot;owner&quot;: {},
 		&quot;official website&quot;: {},
 		&quot;acquisition year&quot;: {},
 		&quot;embedded&quot;: {},
 		&quot;module&quot;: {},
 		&quot;discovery year&quot;: {}
 	},
 	&quot;paramOrder&quot;: [
 		&quot;name&quot;,
 		&quot;image&quot;,
 		&quot;width&quot;,
 		&quot;caption&quot;,
         &quot;alt&quot;,
 		&quot;location&quot;,
 		&quot;place&quot;,
 		&quot;state/province&quot;,
 		&quot;country&quot;,
 		&quot;pushpin_map&quot;,
 		&quot;pushpin_label_position&quot;,
 		&quot;pushpin_label&quot;,
 		&quot;official_name&quot;,
 		&quot;pushpin_map_alt&quot;,
 		&quot;coordinates&quot;,
 		&quot;pushpin_map_caption&quot;,
 		&quot;map_caption&quot;,
 		&quot;pushpin_mapsize&quot;,
 		&quot;pushpin_image&quot;,
 		&quot;subdivision_type&quot;,
 		&quot;products&quot;,
 		&quot;amount&quot;,
 		&quot;type&quot;,
 		&quot;financial year&quot;,
 		&quot;greatest depth&quot;,
 		&quot;discovery year&quot;,
 		&quot;opening year&quot;,
 		&quot;active years&quot;,
 		&quot;closing year&quot;,
 		&quot;nrhp&quot;,
 		&quot;owner&quot;,
 		&quot;official website&quot;,
 		&quot;acquisition year&quot;,
 		&quot;embedded&quot;,
 		&quot;module&quot;
 	]
 }
 &lt;/templatedata&gt;
 {{Collapse bottom}}
 
 &lt;includeonly&gt;{{Sandbox other||
 &lt;!-- Categories below this line, please; interwikis at Wikidata --&gt;
 [[Category:Mining templates]]
 [[Category:Business infobox templates|Mine]]
 [[Category:Templates with coordinates fields|Mine]]
 [[Category:Infobox templates with module parameter|Mine]]
 [[Category:Templates that add a tracking category|{{PAGENAME}}]]