Template:Infobox brewery/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Added / corrected parameters available
m change incorrect template name in {{tlp}}
Line 4: Line 4:
=== Usage ===
=== Usage ===


The {{tlp|Infobox Company}} template is the one advised for use on brewery articles. See [[Wikipedia:WikiProject Beer/Guidelines]]
The {{tlp|Infobox brewery}} template is the one advised for use on brewery articles. See [[Wikipedia:WikiProject Beer/Guidelines]]


Copy and paste the infobox below into the desired article and fill in the values after the equals (=) sign.
Copy and paste the infobox below into the desired article and fill in the values after the equals (=) sign.

Revision as of 06:23, 10 November 2011

Usage

The {{Infobox brewery}} template is the one advised for use on brewery articles. See Wikipedia:WikiProject Beer/Guidelines

Copy and paste the infobox below into the desired article and fill in the values after the equals (=) sign.

All fields are optional.

{{Infobox Company
| name             = 
| logo             = 
| type             = 
| predecessor      = 
| successor        = 
| foundation       = 
| founder          = 
| defunct          = 
| location_city    = 
| location_country = 
| locations        = 
| coordinates      = 
| area_served      = 
| key_people       = 
| industry         = [[Alcoholic beverage]] 
| products         = [[Beer]] 
| production       = 
| revenue          = 
| owner            = 
| num_employees    = 
| parent           = 
| divisions        = 
| subsid           = 
| url              = 
| footnotes        = 
| intl             = yes
}}

Parameters

name
This comes to the top of the box.
logo
If there's no logo available, a picture of the brewery or main brand may be used
location city
Location of the brewery.
coordinates
latitude and longitude of the main brewery location. Use {{coord}} template with type:landmark and display=inline,title.
owner
Owner of the brewery.
foundation
Year the brewery opened. Use {{start date}} template.
defunct
Year the brewery ceased production. Use {{end date}} template.
production
Yearly production volume.
url
Official website. Use {{URL}} template.

Example

This example is taken from the Molson Coors Brewing Company article:

{{Infobox Company |
  company_name   = Molson Coors Brewing Company |
  company_logo   = [[Image:Molson Coors Logo.png|200 px]] |
  company_type   = [[Public company|Public]] ({{nyse|TAP}}, {{TSX|TPX.B}}) |
  company_slogan =  |
  foundation     = [[Molson]] ([[1786]]), [[Coors Brewing Company|Coors]] ([[1873]]), [[Merger|merged]] ([[2005]]) |
  location       = {{flagicon|USA}} [[Denver|Denver, CO]], [[United States|USA]]<br>{{flagicon|CAN}} [[Montreal|Montreal, QC]], [[Canada|CAN]]|
  key_people     = Pete Coors, [[Chairman]]<br />Peter Swinburn, [[President]] |
 revenue = {{profit}} [[United States Dollar|US$]]3.03 Billion <small>(''FY 2009'')</small><ref name = 09IncomeStatement>[[wikinvest:stock/Molson Coors Brewing Company (TAP)/Data/Income Statement|Molson Coors Brewing Company (TAP) annual SEC income statement filing via Wikinvest]]</ref> |
 operating_income = {{profit}} [[United States Dollar|US$]]754 Million <small>(''FY 2009'')</small><ref name= 09IncomeStatement/> |
 net_income     = {{profit}} [[United States Dollar|US$]]720 Million <small>(''FY 2009'')</small><ref name= 09IncomeStatement/> |
 assets     = {{increase}} [[United States dollar|US$]]12.0 Billion <small>(''FY 2009'')</small><ref name = 09BalanceSheet>[[wikinvest:stock/Molson Coors Brewing Company (TAP)/Data/Balance Sheet|Molson Coors Brewing Company (TAP) annual SEC balance sheet filing via Wikinvest]]</ref>|
 equity     = {{increase}} [[United States dollar|US$]]7.08 Billion <small>(''FY 2009'')</small><ref name = 09BalanceSheet/>|
  industry       = Beverages |
  num_employees  =  9,700<ref name=zenobank>{{cite web |url=http://zenobank.com/index.php?symbol=TAP&page=quotesearch |title=Company Profile for Molson Coors Brewing Co (TAP) |accessdate=2008-10-15}}</ref>|
  subsid         = [[Molson]]<br/>Molson Coors Brewing Co. (UK), Ltd.<br/>Miller Coors (JV)<br/>[[The Beer Store]] (49%)|
  products       = Beers, lagers, malt beverages, energy drinks |
  homepage       = [http://www.molsoncoors.com www.molsoncoors.com]|
}}

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.