Template:Infobox brewery/doc
| This is a documentation subpage for Template:Infobox brewery. It contains usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
The {{Infobox brewery}} template is the one advised for use on brewery articles. See Wikipedia:WikiProject Beer/Guidelines.
Contents
Usage
Copy and paste the infobox below into the desired article and fill in the values after the equals (=) sign. All fields are optional.
Template:Parameter names example
{{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
- 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:landmarkanddisplay=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
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
| Lua error in Module:Infobox_mapframe at line 185: attempt to index field 'wikibase' (a nil value). | |||||||||||||||||||||
| Location | Hobart, Tasmania, Australia | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. | ||||||||||||||||||||
| Opened | 1832 | ||||||||||||||||||||
| Annual production volume | 360,000 hectolitres (310,000 US bbl) | ||||||||||||||||||||
| Owned by | SABMiller | ||||||||||||||||||||
| Website | Template:URL | ||||||||||||||||||||
| 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
TemplateData
TemplateData 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 | Unknown | 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
See also
- {{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.