Difference between revisions of "Template:Infobox mining"

From blackwiki
Jump to navigation Jump to search
imported>Calistemon
(alterations)
imported>Frietjes
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
 
|above = {{{name}}}
 
|above = {{{name}}}
|image = {{#if:{{{image<includeonly>|</includeonly>}}}|[[File:{{{image}}}|{{px|{{#if:{{{width|}}}|{{{width}}}|250}}}}]]}}
+
|image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image<includeonly>|</includeonly>}}}|size={{{width|}}}|sizedefault=250px}}
 
|caption  = {{{caption<includeonly>|</includeonly>}}}
 
|caption  = {{{caption<includeonly>|</includeonly>}}}
|bodystyle = width:26em; padding: 0px;
 
 
|abovestyle = background: #C0C0C0;  
 
|abovestyle = background: #C0C0C0;  
 
|headerstyle = background:#C0C0C0;
 
|headerstyle = background:#C0C0C0;
|labelstyle = font-weight: normal;
 
#
 
  
 
|header1={{#if:{{{location|}}}{{{place<includeonly>|</includeonly>}}}{{{state/province|}}}{{{country|}}}|Location}}
 
|header1={{#if:{{{location|}}}{{{place<includeonly>|</includeonly>}}}{{{state/province|}}}{{{country|}}}|Location}}
Line 14: Line 11:
 
|lat={{{lat}}}
 
|lat={{{lat}}}
 
|long={{{long}}}
 
|long={{{long}}}
|float=none|{{#if:{{{map_width|}}}
+
|float=none
|width={{{map_width}}}}}
+
|width={{{map_width|}}}
 
}}</center>}}
 
}}</center>}}
  
|label3 = '''Location'''
+
|label4 = {{{subdivision_type}}}
#|label4 = '''{{{subdivision_type}}}'''
 
 
|data4 = {{{state/province<includeonly>|</includeonly>}}}
 
|data4 = {{{state/province<includeonly>|</includeonly>}}}
|label5 = '''Country'''
+
|label5 = Country
 
|data5 ={{{country<includeonly>|</includeonly>}}}
 
|data5 ={{{country<includeonly>|</includeonly>}}}
  
 
|header10 = {{#if:{{{regulatory authority<includeonly>|</includeonly>}}}{{{official website}}}|Regulatory authority}}
 
|header10 = {{#if:{{{regulatory authority<includeonly>|</includeonly>}}}{{{official website}}}|Regulatory authority}}
|label11 = '''Authority'''
+
|label11 = Authority
 
|data11 = {{{authority<includeonly>|</includeonly>}}}  
 
|data11 = {{{authority<includeonly>|</includeonly>}}}  
|label12 = '''Website'''
+
|label12 = Website
 
|data12 = {{{official website<includeonly>|</includeonly>}}}  
 
|data12 = {{{official website<includeonly>|</includeonly>}}}  
  
 
|header20 = {{#if:{{{production<includeonly>|</includeonly>}}}{{{value|}}}{{{year|}}}|Production}}
 
|header20 = {{#if:{{{production<includeonly>|</includeonly>}}}{{{value|}}}{{{year|}}}|Production}}
|label21 = '''Commodity'''
+
|label21 = Commodity
 
|data21 = {{{commodity<includeonly>|</includeonly>}}}
 
|data21 = {{{commodity<includeonly>|</includeonly>}}}
|label22 = '''Production'''
+
|label22 = Production
 
|data22 ={{{production<includeonly>|</includeonly>}}}
 
|data22 ={{{production<includeonly>|</includeonly>}}}
|label23 = '''Value'''
+
|label23 = Value
 
|data23 ={{{value<includeonly>|</includeonly>}}}
 
|data23 ={{{value<includeonly>|</includeonly>}}}
|label24 = '''Employees'''
+
|label24 = Employees
 
|data24 ={{{employees<includeonly>|</includeonly>}}}
 
|data24 ={{{employees<includeonly>|</includeonly>}}}
|label25 = '''Year'''
+
|label25 = Year
 
|data25 = {{{year<includeonly>|</includeonly>}}}
 
|data25 = {{{year<includeonly>|</includeonly>}}}
  
|belowstyle = background:#C0C0C0;
 
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
+
<!-- PLEASE ADD CATEGORIES TO THE /doc SUBPAGE, THANKS -->
 
</noinclude>
 
</noinclude>

Revision as of 16:26, 25 February 2014

{{{name}}}
[[File:{{{image}}}|250px]]
{{{caption}}}
Location
{{{subdivision_type}}}{{{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]]

50px 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