Type | {{{type}}} | ||||
---|---|---|---|---|---|
Location | {{{___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}}} | ||||
Website | {{{url}}} | ||||
Active beers | |||||
| |||||
Seasonal beers | |||||
| |||||
Other beers | |||||
| |||||
Inactive beers | |||||
|
![]() | This is the template sandbox page for Template:Infobox brewery (diff). See also the companion subpage for test cases. |
![]() | This template uses Lua: |
The {{Infobox brewery}} template is the one advised for use on brewery articles. See Wikipedia:WikiProject Beer/Guidelines.
Usage
editCopy and paste the infobox below into the desired article and fill in the values after the equals (=) sign. All fields are optional.
[[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
anddisplay=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 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
editA Mapframe map is automatically included if:
- There are coordinates specified, either in the
|coordinates=
parameter or on the page's Wikidata item - It has not been turned off by setting
|mapframe=no
The following optional parameters can then be used to adjust the map:
- Basic parameters:
- mapframe – Specify yes or no to show or hide the map, overriding the default. Default: no, but also modified by onByDefault
- Internal onByDefault parameter: yes
- mapframe-caption – Caption for the map. Default: blank (or if
|mapframe-geomask=
is set, "Location in geomask's label") - mapframe-custom – Use a custom map instead of the automatic mapframe. Specify either a
{{maplink}}
template, or another template that generates a mapframe map, or an image name. If used, the subsequent mapframe parameters will be ignored. Default: not specified - mapframe-id or id or qid – Id (Q-number) of Wikidata item to use. Default: item for current page
- mapframe-coordinates or mapframe-coord or coordinates or coord – Coordinates to use, instead of any on Wikidata. Use the {{Coord}} template, e.g.
|coord=
. Default: coordinates from Wikidata{{Coord|12.34|N|56.78|E}}
- mapframe-wikidata – Set to
yes
to show shape/line features from the wikidata item, if any, when|coord=
is set. Default: not specified
- mapframe – Specify yes or no to show or hide the map, overriding the default. Default: no, but also modified by onByDefault
- Customise which features are displayed:
- mapframe-point – Turn off display of point feature by setting to
none
. Force point marker to be displayed by setting toon
. Default: not specified - mapframe-shape – Turn off display of shape feature by setting to
none
. Force display of shape by setting toon
. Use an inverse shape (geomask) instead of a regular shape by setting toinverse
. Default: not specified - mapframe-line – Turn off display of line feature by setting to
none
. Force display of line by setting toon
. Default: not specified - mapframe-geomask – Wikidata item to use as a geomask (everything outside the boundary is shaded darker). Can either be a specific Wikidata item (Q-number), or a property that specifies the item to use (e.g.
P17
for country (P17),P131
for located in the administrative territorial entity (P131)). Default: not specified - mapframe-switcher – set to
auto
orgeomasks
orzooms
to enable Template:Switcher-style switching between multiple mapframes. Default: not specifiedauto
– switch geomasks found in ___location (P276) and located in the administrative territorial entity (P131) statements on the page's Wikidata item, searching recursively. E.g. an item's city, that city's state, and that state's country.geomasks
– switch between the geomasks specified as a comma-separated list of Wikidata items (Q-numbers) in the mapframe-geomask parameterzooms
– switch between "zoomed in"/"zoomed midway"/"zoomed out", where "zoomed in" is the default zoom (with a minimum of3
), "zoomed out" is1
, and "zoomed midway" is the average
- mapframe-point – Turn off display of point feature by setting to
- Other optional parameters:
- mapframe-frame-width or mapframe-width – Frame width. Default: 270
- mapframe-frame-height or mapframe-height – Frame height. Default: 200
- mapframe-shape-fill – Color used to fill shape features. Default: #606060
- mapframe-shape-fill-opacity – Opacity level of shape fill, a number between 0 and 1. Default: 0.5
- mapframe-stroke-color or mapframe-stroke-colour – Color of line features, and outlines of shape features. Default: #ff0000
- mapframe-stroke-width – Width of line features, and outlines of shape features; default is "5". Default: 5
- mapframe-marker – Marker symbol to use for coordinates; see mw:Help:Extension:Kartographer/Icons for options. Default: beer
- Can also be set to
blank
to override any default marker symbol
- Can also be set to
- mapframe-marker-color or mapframe-marker-colour – Background color for the marker. Default: #ecc850
- mapframe-geomask-stroke-color or mapframe-geomask-stroke-colour – Color of outline of geomask shape. Default: #555555
- mapframe-geomask-stroke-width – Width of outline of geomask shape. Default: 2
- mapframe-geomask-fill – Color used to fill outside geomask features. Default: #606060
- mapframe-geomask-fill-opacity – Opacity level of fill outside geomask features, a number between 0 and 1. Default: 0.5
- mapframe-zoom – Set the zoom level, from "1" (map of earth) to "18" (maximum zoom in), to be used if the zoom level cannot be determined automatically from object length or area. Default: 10
- mapframe-length_km or mapframe-length_mi or mapframe-area_km2 or mapframe-area_mi2 – Determine zoom level by passing in object's length (in kilometres or miles) or area (in square kilometres or square miles). Default: not specified
- mapframe-frame-coordinates or mapframe-frame-coord – Alternate latitude and longitude coordinates for initial placement of map, using {{coord}}. Default: derived from item coordinates
- mapframe-type – Set the type of the object, with the same usage as {{coord}}. Default: landmark
- mapframe-population – Set the population, useful with type="city", for {{Infobox dim}}. Default: not specified
Example
edit![]() | |||||||||||||||||||||
![]() | |||||||||||||||||||||
Location | Hobart, Tasmania, Australia | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Coordinates | 42°53′45″S 147°17′33″E / 42.89583°S 147.29250°E | ||||||||||||||||||||
Opened | 1832 | ||||||||||||||||||||
Annual production volume | 360,000 hectolitres (310,000 US bbl) | ||||||||||||||||||||
Owned by | SABMiller | ||||||||||||||||||||
Website | cascadebrewery | ||||||||||||||||||||
Active beers | |||||||||||||||||||||
| |||||||||||||||||||||
Seasonal beers | |||||||||||||||||||||
|
{{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
editThe 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
editIf 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
edithCard 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
editWhen giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name=
parameter.
TemplateData
editTemplateData for Infobox brewery
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name company_name | no description | Unknown | optional |
logo | logo company_logo | no description | Unknown | optional |
logo_size | logo_size | no description | Unknown | optional |
logo_alt | logo_alt | no description | Unknown | optional |
logo_caption | logo_caption | no description | Unknown | optional |
image | image | no description | File | optional |
image_size | image_size | no description | Unknown | optional |
image_alt | image_alt alt | no description | Unknown | optional |
image_caption | image_caption caption | no description | Unknown | optional |
mapframe | mapframe | no description | Unknown | optional |
mapframe-zoom | mapframe-zoom | no description | Unknown | optional |
mapframe-width | mapframe-width | no description | Unknown | optional |
mapframe-height | mapframe-height | no description | Unknown | optional |
mapframe-marker | mapframe-marker | no description | Unknown | optional |
mapframe-marker-color | mapframe-marker-color | no description | Unknown | optional |
mapframe-marker-colour | mapframe-marker-colour | no description | Unknown | optional |
mapframe-lat | mapframe-lat | no description | Unknown | optional |
mapframe-latitude | mapframe-latitude | no description | Unknown | optional |
mapframe-long | mapframe-long | no description | Unknown | optional |
mapframe-longitude | mapframe-longitude | no description | Unknown | optional |
mapframe-caption | mapframe-caption | no description | Unknown | optional |
type | type | no description | Unknown | optional |
location_place | location_place | no description | Unknown | optional |
location_city | location_city | no description | Unknown | optional |
location_state | location_state | no description | Unknown | optional |
location_country | location_country | no description | Unknown | optional |
___location | ___location | no description | Unknown | optional |
coordinates | coordinates | no description | Unknown | optional |
opened | opened | no description | Unknown | optional |
closed | closed | no description | Unknown | optional |
key_people | key_people | no description | Unknown | optional |
production | production | no description | Unknown | optional |
other_products | other_products | no description | Unknown | optional |
revenue | revenue | no description | Unknown | optional |
operating_income | operating_income | no description | Unknown | optional |
intl | intl | no description | Unknown | optional |
net_income | net_income | no description | Unknown | optional |
assets | assets | no description | Unknown | optional |
owner | owner | no description | Unknown | optional |
num_employees | num_employees | no description | Unknown | optional |
parent | parent | no description | Unknown | optional |
divisions | divisions | no description | Unknown | optional |
subsid | subsid | no description | Unknown | optional |
distribution | distribution | no description | Unknown | optional |
tasting | tasting | no description | Unknown | optional |
website | website url | no description | Unknown | optional |
active_beers | active_beers | no description | Unknown | optional |
seasonal_beers | seasonal_beers | no description | Unknown | optional |
other_beers | other_beers | no description | Unknown | optional |
inactive_beers | inactive_beers | no description | Unknown | optional |
Tracking category
editSee also
edit- {{Brewbox beer}} (redirect to {{Infobox brewery/beerdata}}), a supporting template for this infobox.
- {{Brewbox beers}} (redirect to {{Infobox brewery/beerheader}}), a supporting template for this infobox.