This template uses Lua :
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.
{{{name}}}
[[File:{{{logo}}}|{{{logo_size}}}|alt={{{logo_alt}}}]]{{{logo_caption}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}]]{{{image_caption}}}
Type
{{{type}}} Location
{{{location_place}}}, {{{location_city}}}, {{{location_state}}}, {{{location_country}}} {{{location}}} Coordinates
{{{coordinates}}} Opened
{{{opened}}} Closed
{{{closed}}} Key people
{{{key_people}}} Annual production volume
{{{production}}} Other products
{{{other_products}}} Revenue
{{{revenue}}} Operating income
{{{operating_income}}} Net income
{{{net_income}}} Total assets
{{{assets}}} Owner(s)
{{{owner}}} Employees
{{{num_employees}}} Parent
{{{parent}}} Divisions
{{{divisions}}} Subsidiaries
{{{subsid}}} Distribution
{{{distribution}}} Tasting
{{{tasting}}} Active beers
{{{active_beers}}}
Seasonal beers
{{{seasonal_beers}}}
Other beers
{{{other_beers}}}
Inactive beers
{{{inactive_beers}}}
{{Infobox brewery
| name =
| logo =
| logo_size =
| logo_alt =
| logo_caption =
| image =
| image_size =
| image_alt =
| image_caption =
| type =
| location =
| location_place =
| location_city =
| location_state =
| location_country =
| coordinates =
| opened =
| closed =
| key_people =
| production =
| other_products =
| revenue =
| operating_income =
| intl =
| net_income =
| assets =
| owner =
| num_employees =
| parent =
| divisions =
| subsid =
| distribution =
| tasting =
| website =
| active_beers =
| seasonal_beers =
| other_beers =
| inactive_beers =
}}
Parameters [ edit ]
name
Name of brewery, displayed at top of the infobbox
logo
Filename for logo
logo_size
Size for logo
logo_alt
Alt text for logo
logo_caption
Caption for logo – normally not needed
image
Filename for image
image_size
Size for image
image_alt
Alt text for image
image_caption
Caption for image
type
Type
location
Location of the brewery.
location_place
One of four fields used in place of location
location city
One of four fields used in place of location
location_state
One of four fields used in place of location
location_country
One of four fields used in place of location
coordinates
Latitude and longitude of the main brewery location. Use {{coord }} template with type:landmark
and display=inline,title
.
opened
Year the brewery opened. Use {{start date }} template.
closed
Year the brewery ceased production. Use {{end date }} template.
key_people
Key people
production
Production volume per year; use {{convert }} template (e.g. {{convert|1|usbeerbbl|hL|lk=on}}) for unit conversion.
other_products
Other products
revenue
Revenue
operating_income
see Earnings before interest and taxes
intl
if defined, label for next line is Profit; otherwise Net income
net_income
see Net income
assets
see Asset
owner
Owner of the brewery.
num_employees
Employees
parent
see Holding company
divisions
see Division (business)
subsid
see Subsidiary
distribution
Distribution
tasting
Tasting
website Page Template:Nobold/styles.css must have content model "Sanitized CSS" for TemplateStyles (current model is "plain text"). or url
Official website. Use {{URL }} template.
active_beers
Use multiple {{Brewbox beer |name=value |style=value }}
ex. {{Brewbox beer |name=Loch Down|style=[[Scotch Ale]]}}
seasonal_beers
see above
other_beers
see above
inactive_beers
see above
Mapframe maps [ edit ]
A Mapframe map is automatically included if:
There are coordinates specified on the page's Wikidata item
It has not be turned off by setting |mapframe=no
The following optional parameters can then be used to adjust the map
|mapframe-zoom=
zoom level (default is 10 )
|mapframe-width=
and |mapframe-height=
for the map size (defaults are 270 and 200 )
|mapframe-marker=
for the marker icon (default is no marker icon)
either |mapframe-marker-color=
or |mapframe-marker-colour=
for the marker colour (hex triplet , default is #5E74F3
)
|mapframe-caption=
caption below the map
|mapframe-lat=
and |mapframe-long=
(or |mapframe-latitude=
and |mapframe-longitude=
) – alternate initial latitude and longitude for the map, instead of the brewery's coordinates. Specify as a decimal number.
Example [ edit ]
{{Infobox brewery
| name = Cascade Brewery
| image = Cascade Brewery 1.jpg
| location = [[Hobart]], [[Tasmania]], Australia
| coordinates = {{coord|42|53|45|S|147|17|33|E|region:AU_type:landmark|display=inline,title}}
| owner = [[SAB Miller]]
| opened = {{start date|1832}}
| production = {{convert|360000|hL|usbeerbbl|lk=on}}
| website = {{URL|cascadebrewery.com.au}}
| active_beers =
{{brewbox beer|name=Premium Lager|style=[[Lager]]}}
{{brewbox beer|name=Premium Light|style=Low-alcohol [[Lager]]}}
{{brewbox beer|name=Pale Ale|style=[[Lager]]}}
{{brewbox beer|name=Blonde|style=[[Lager]]}}
{{brewbox beer|name=Draught|style=[[Lager]]}}
{{brewbox beer|name=Lager (Blue)|style=[[Lager]]}}
{{brewbox beer|name=Bitter (Red)|style=Bitter [[Lager]]}}
{{brewbox beer|name=Stout|style=[[Stout]]}}
{{brewbox beer|name=Bright|style=[[Lager]]}}
| seasonal_beers =
{{brewbox beer|name=First Harvest|style=Special [[Ale]]}}
}}
Microformat [ edit ]
Template:UF-hcard-geo
TemplateData [ edit ]
<templatedata>
{
"params": {
"name": {
"aliases": [
"company_name"
]
},
"logo": {
"aliases": [
"company_logo"
]
},
"logo_size": {},
"logo_alt": {},
"logo_caption": {},
"image": {},
"image_size": {},
"image_alt": {
"aliases": [
"alt"
]
},
"image_caption": {
"aliases": [
"caption"
]
},
"mapframe": {},
"mapframe-zoom": {},
"mapframe-width": {},
"mapframe-height": {},
"mapframe-marker": {},
"mapframe-marker-color": {},
"mapframe-marker-colour": {},
"mapframe-lat": {},
"mapframe-latitude": {},
"mapframe-long": {},
"mapframe-longitude": {},
"mapframe-caption": {},
"type": {},
"location_place": {},
"location_city": {},
"location_state": {},
"location_country": {},
"location": {},
"coordinates": {},
"opened": {},
"closed": {},
"key_people": {},
"production": {},
"other_products": {},
"revenue": {},
"operating_income": {},
"intl": {},
"net_income": {},
"assets": {},
"owner": {},
"num_employees": {},
"parent": {},
"divisions": {},
"subsid": {},
"distribution": {},
"tasting": {},
"website": {
"aliases": [
"url"
]
},
"active_beers": {},
"seasonal_beers": {},
"other_beers": {},
"inactive_beers": {}
}
}
</templatedata>
Tracking category [ edit ]
See also [ edit ]