Difference between revisions of "Template:Infobox mining"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Jonesey95
(Convert coords to new parameters. See Wikipedia:Coordinates in infoboxes.)
 
(One intermediate revision by one other user not shown)
Line 8: Line 8:
 
|header1={{#if:{{{location|}}}{{{place<includeonly>|</includeonly>}}}{{{state/province|}}}{{{country|}}}|Location}}
 
|header1={{#if:{{{location|}}}{{{place<includeonly>|</includeonly>}}}{{{state/province|}}}{{{country|}}}|Location}}
 
|data2={{#if: {{{location|}}}
 
|data2={{#if: {{{location|}}}
|<center>{{Location map|{{{location}}}
+
|{{Location map|{{{location}}}
|lat={{{lat}}}
+
|coordinates = {{{coordinates|}}}
|long={{{long}}}
+
|float=center
|float=none
 
 
|width={{{map_width|}}}
 
|width={{{map_width|}}}
 
|caption=
 
|caption=
}}</center>}}
+
}}}}
  
 
|label4 = {{#if:{{{subdivision_type|}}}|{{{subdivision_type}}}|State/province}}
 
|label4 = {{#if:{{{subdivision_type|}}}|{{{subdivision_type}}}|State/province}}

Latest revision as of 15:37, 2 June 2017

{{{name}}}
[[File:{{{image}}}|250px]]
{{{caption}}}
Location
State/province{{{state/province}}}
Country{{{country}}}
Regulatory authority
Authority{{{authority}}}
Website{{{official website}}}
Production
Commodity{{{commodity}}}
Production{{{production}}}
Value{{{value}}}
Employees{{{employees}}}
Year{{{year}}}

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

Blank infobox

{{Infobox mining
| name             = 
| image            = 
| width            = 
| caption          = 
| subdivision_type = 
| state/province   = 
| country          = 
| authority        = 
| official website = 
| commodity        = 
| production       = 
| value            = 
| employees        = 
| year             = 
}}

Parameters

  • name = The name of the page.
  • image = An image or map (without the prefix "Image:").
  • width = Image width e.g. 200px
  • caption = Caption for the image or map.
  • subdivision_type = The type of subdivision within the country (states or provinces).
  • state/province = The name of the state or province.
  • country = The country.
  • authority = The regulating authority.
  • official website = The official website of the regulating authority.
  • commodity = The name of the commodity or commodities the article is about.
  • production = The annual production.
  • value = The value of the annual production.
  • employees = The number of employees within the industry.
  • year = The year the above three values are for.

See also