Wikipedia:WikiProject Beer/How to use the beerboxes
From Wikipedia, the free encyclopedia
|
The Beerbox is a multi-template infobox used for beer articles maintained by WikiProject Beer. It showcases quick facts about the beer such as brewery, alcohol content by volume, original and final gravities, and beer style in a consistent format for all brewery articles maintained by the project.
[edit] Structure
A beerbox is made up of a number of templates, each of which presents different information. Only {{beerbox_begin}} and {{beerbox_end}} are required, but on their own they provide only the beer 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] {{beerbox_begin}}
Starts the beerbox. Includes the beer name in bold text in the header of the box.
- Parameters
- name: The beer name. Do not use links.
[edit] {{beerbox_image}}
Shows the beer's logo with an optional caption.
- Parameters
- image: An image link to the beer's logo with styling included, e.g. [[Image:Bass logo.png|150px|Bass Beer]].
- caption: An optional caption for the beer's logo, presented in small text below the logo.
[edit] {{beerbox_brew}}
Shows the name of the brewery that produces this brand. Links to breweries are encouraged.
- Parameters
- name: The name of the brewery that produces this brand.
[edit] {{beerbox_style}}
Shows the style of the beer. Links to beer styles are encouraged.
- Parameters
- style: The style of the beer (e.g. India Pale Ale).
[edit] {{beerbox_year}}
Shows the year in which the beer was first brewed
- Parameters
- year: The year when the beer was brewed for the fisrt time.
[edit] {{beerbox_abv}}
Shows the alcohol content by volume (ABV) of the beer in question. Please remember to add the "percent" sign (%) after the amount.
- Parameters
- abv: The alcohol content by volume.
[edit] {{beerbox_og}}
Shows the original gravity of the brew.
- Parameters
- og: The specific gravity of the wort before the brewing process. Please use 3 decimal places at all times.
[edit] {{beerbox_fg}}
Shows the final gravity of the brew.
- Parameters
- fg: The specific gravity of the product after brewing process is completed. Please use 3 decimal places at all times.
[edit] {{beerbox_ibu}}
Shows the bitterness of the beer in International Bitterness Units (IBU)
- Parameters
- ibu: The [bitterness of the beer in IBUs. Please use integers when possible.
[edit] {{beerbox_end}}
Closes the beerbox. 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 beerbox:
{{beerbox_begin|name=Bucaneer's IPA}} {{beerbox_image|image=[[Image:Beer mug.svg|120px|Cap'n Hook's]]|caption=Bucaneer's IPA Mug}} {{beerbox_brew|name=Cap'n Hook's Brewery}} {{beerbox_style|style=[[India Pale Ale]]}} {{beerbox_year|year=2000}} {{beerbox_abv|abv=4.5%}} {{beerbox_og|og=1.050}} {{beerbox_fg|fg=1.006}} {{beerbox_ibu|ibu=45}} {{beerbox_end}}
And this is the resulting brewbox:
Bucaneer's IPA | |
---|---|
Bucaneer's IPA Mug |
|
Brewery | Cap'n Hook's Brewery |
Style | India Pale Ale |
First brewed | 2000 |
Alc. vol. | 4.5% |
Original Gravity | 1.050 |
Final Gravity | 1.006 |
IBU Scale | 45 |
[edit] See also
- Wikipedia:WikiProject Beer/How to use the brewboxes - the sister infobox for breweries