Шаблон:Infobox mine/doc
Blank infobox
вироиш{{Infobox mine | name = | image = | width = | caption = | pushpin_map = | pushpin_mapsize = | pushpin_map_alt = | pushpin_map_caption= | pushpin_image = | pushpin_label = | pushpin_label_position = | latd = | latm = | lats = | latNS = | longd = | longm = | longs = | longEW = | coordinates_type = | scale = | coordinates_region = | place = | subdivision_type = | state/province = | country = | products = | amount = <!--include units--> | financial year = | type = | greatest depth = | opening year = <!-- {{Start date|YYYY}} --> | active years = <!-- use only if inactive for a period of time--> | closing year = <!-- {{End date|YYYY}} --> | owner = | official website = <!-- {{URL|example.com}} --> | acquisition year = | nrhp = | superfund = }}
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.
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. "Colorado" would generate {{Location map|Colorado}} which uses map definitions from Template:Location map 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
вироиш- latd = | latm = | lats = | latNS = For decimal degrees, place the value in latd and leave latm and lats with no value. Do not use negative degrees for southern coordinates—use latNS = S.
- longd = | longm = | longs = | longEW = For decimal degrees, place the value in longd and leave longm and longs with no value. Do not use negative degrees for western coordinates—use longEW = W.
See {{Coord}} for further info on these options:
- coordinates_type = Optional. Default is landmark and it is unlikely that you would need to change this.
- scale = Optional. If using the default coordinates_type = landmark, scale is 1:10,000. This can be changed if required, e.g. scale = 30000
- coordinates_region = Optional. Use either a two character ISO 3166-1 alpha-2 country code or an ISO 3166-2 region code.
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
вироиш- 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}}.
- any infobox embedded via nrhp parameter is displayed here
Owner
вироиш- owner =
- official website = use {{URL}}
- acquisition year =
- any infobox embedded via superfund parameter is displayed here
Embedding other templates
вироиш- nrhp = For a US mine listed on the National Register of Historic Places, then {{Infobox NRHP}} may be embedded via this parameter.
- superfund = If a US mine is a Superfund site, then {{Infobox superfund}} may be embedded via this parameter.
{{Infobox mine | name = ... | nrhp = {{Infobox NRHP | embed = yes | name = ... }} | superfund = {{Infobox superfund | embed = yes | name = ... }} }}
Example
вироиш{{Infobox mine | name = Lost Dutchman's Mine | image = SUPERSTITIONS AZ15.jpg | width = 250px | caption = Supersition Mountains | pushpin_map = Arizona | pushpin_mapsize = 200px | pushpin_map_alt = | pushpin_map_caption= | pushpin_image = | pushpin_label = | pushpin_label_position = | latd = 33.425979 | latm = | lats = | latNS = N | longd = 111.122657 | longm = | longs = | longEW = W | coordinates_type = | scale = | coordinates_region = | 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 = | opening year = {{Start date|1875}} | active years = <!-- use only if inactive for a period of time--> | closing year = {{End date|1883}} | owner = Jacob Waitz | official website = {{URL|http://en.wikipedia.org/wiki/Lost_Dutchman%27s_Gold_Mine}} | acquisition year = | stock_exchange = | stock_code = | nrhp = | superfund = }}
Microformat
вироишThe HTML mark up 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 an "established", "founded", "opened" or similar date, use {{start date}} 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.