Wikipedia:WikiProject Beer/How to use the brewboxes

From Wikipedia, the free encyclopedia

Contents

The Brewbox is a multi-template infobox used for brewery articles maintained by WikiProject Beer. It showcases quick facts about the brewery such as location, date of foundation, owners, production, and beers brewed in a consistent format for all brewery articles maintained by the project.

[edit] Structure

A brewbox is made up of a number of templates, each of which presents different information. Only {{brewbox_begin}} and {{brewbox_end}} are required, but on their own they provide only the brewery name and a link to WikiProject Beer. The other components should only be included when the information they present is available.

Here is a listing of the available brewbox templates, presented in their standard order:

[edit] {{brewbox_begin}}

Starts the brewbox. Includes the brewery name in bold text in the header of the box.

Parameters
  • name: The brewery name. Do not use links.

[edit] {{brewbox_image}}

Shows the brewery's logo with an optional caption.

Parameters
  • image: An image link to the brewery's logo with styling included, e.g. [[Image:Bass logo.png|150px|Bass Beer]].
  • caption: An optional caption for the brewery's logo, presented in small text below the logo.

[edit] {{brewbox_location}}

Shows the current location of the brewery's headquarters. It should always include the country and local abbreviations should be avoided. Links to locations are encouraged.

Parameters
  • location: The current location of the brewery's headquarters.

[edit] {{brewbox_owner}}

Shows the current owner of the brewery. Breweries privately owned by individuals are often shown with the text "(independent)" after the owners' names. Breweries owned by a larger corporation generally link to the corporation's article from the owner text.

Parameters
  • owner: The current owner of the brewery.

[edit] {{brewbox_opened}}

Shows the year that the brewery was opened.

Parameters
  • year: The year when the brewery was opened.

[edit] {{brewbox_production}}

Shows the annual production of the brewery. The primary figure should be in unconverted units obtained from the source material; a conversion to hectoliters should be provided in parentheses as necessary.

Parameters
  • amount: The volume of beer produced annually by the brewery.

[edit] {{brewbox_beers}}

Starts a beer listing subsection of the brewbox. Each brewbox typically has at least one beer listing using the default type (Active). Some brewboxes also have beer listings for seasonal beers (using type=Seasonal). Other possible listings would be "Limited Release" or "Retired".

The beer listing itself is made up of one or more uses of the {{brewbox_beer}} template.

Parameters
  • type: An optional type for the heading of the beer listing. The paramater value is placed in front of the word "Beers" and defaults to the value "Active" if it is not provided (resulting in the text "Active Beers").

[edit] {{brewbox_beer}}

Creates an entry in a beer listing started with {{brewbox_beers}}. The name of the beer is shown in the left column and the style is shown in the right column. If the beer has an article, its name should be linked to the article.

Parameters
  • name: The name of the beer.
  • style: The style of the beer.

[edit] {{brewbox_end}}

Closes the brewbox. Also provides brief text with a link to WikiProject Beer.

Parameters
  • None

[edit] Example

Here is an example of the wikitext used to create a brewbox:

 {{brewbox_begin|name=Cap'n Hook's Brewery}}
 {{brewbox_image|image=[[Image:Beer mug.svg|120px|Cap'n Hook's]]|caption=Cap'n Hook's Beer Mug}}
 {{brewbox_location|location=[[Zzyzx, California|Zzyzx]], [[California]], [[United States|USA]]}}
 {{brewbox_owner|owner=Bill and Melinda Gates (independent)}}
 {{brewbox_opened|year=1940}}
 {{brewbox_production|amount=20 million [[Barrel (unit)|U.S. barrels]] (30 million hectoliters)}}
 {{brewbox_beers}}
 {{brewbox_beer|name=Smee's Amber Ale|style=[[Amber ale]]}}
 {{brewbox_beer|name=Buccaneer's IPA|style=[[India pale ale]]}}
 {{brewbox_beer|name=Hook's Oatmeal Stout|style=[[Oatmeal stout]]}}
 {{brewbox_beers|type=Seasonal}}
 {{brewbox_beer|name=Polly's Winter Warmer|style=[[Winter ale]]}}
 {{brewbox_end}}

And this is the resulting brewbox:

Cap'n Hook's Brewery
Cap'n Hook's
Cap'n Hook's Beer Mug
Location Zzyzx, California, USA
Owner Bill and Melinda Gates (independent)
Year opened 1940
Annual production 20 million U.S. barrels (30 million hectoliters)
Active beers
Smee's Amber Ale Amber ale
Buccaneer's IPA India pale ale
Hook's Oatmeal Stout Oatmeal stout
Seasonal beers
Polly's Winter Warmer Winter ale

[edit] See also