Template:Infobox Brewery/doc

From Wikipedia, the free encyclopedia

This is a documentation subpage for Template:Infobox Brewery (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

Contents

[edit] Values

  • name - This comes to the top of the box.
  • image - If there's not an image available, leave the field empty.
  • caption - Leave empty for no image caption.
  • location - Location of the brewery.
  • coordinates - latitude & longitude of the brewery, using {{coord}}
  • owner - Owner of the brewery.
  • opened - Year the brewery opened.
  • production - Yearly production volume.
  • active_beers - A list of active beers produced by the brewery, formatted with {{brewbox_beer}}.
  • seasonal_beers - A list of seasonal beers regularly produced by the brewery, formatted with {{brewbox_beer}}.
  • other_beers - One or more lists of beers produced by the brewery (other than "Active" or "Seasonal" beers), formatted with {{brewbox_beers}} and {{brewbox_beer}}.

[edit] Infobox

Directions: copy and paste the infobox below into the desired article and fill in the values after the equals (=) sign.
Note: all of the fields are optional except name. For questions or examples please see the discussion page.

{{Infobox Brewery
| name           = 
| image          = 
| caption        = 
| location       = 
| owner          = 
| opened         = 
| production     = 
| active_beers   = 
| seasonal_beers = 
| other_beers    = 
}}

[edit] Microformat

The HTML mark up produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue article 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.

hCard uses HTML classes including:

  • "adr"
  • "county-name"
  • "fn"
  • "label"
  • "locality"
  • "nickname"
  • "note"
  • "org"
  • "region"
  • "street-address"
  • "vcard"

Geo is produced by calling {{coord}}, and uses HTML classes:

  • "geo"
  • "latitude"
  • "longitude"

Please do not rename or remove these classes.

When giving coordinates, please don't be overly precise.

[edit] See also