Template:Infobox racecourse/doc

From IxWiki
Jump to navigation Jump to search

Usage

{{{name}}}
[[File:{{{logo}}}|{{{logo_size}}}|alt={{{logo_alt}}}]]
{{{logo_caption}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}]]
{{{caption}}}
Location{{{location}}}
Coordinates{{{coordinates}}}
Owned by{{{owner}}}
Operated by{{{operator}}}
Date opened{{{opened}}}
Date closed{{{closed}}}
Capacity{{{capacity}}}
Screened on{{{channel}}}
Race type{{{racetype}}}
Course type{{{coursetype}}}
Notable races{{{notableraces}}}
Live racing handle{{{handle}}}
Attendance{{{attendance}}}
Official website
{{Infobox racecourse
| name         = <!-- REQUIRED -->
| logo         = 
| logo_size    = 
| logo_alt     = 
| logo_caption = 
| image        = 
| image_size   = 
| alt          = 
| caption      = 
| location     = <!-- REQUIRED -->
| coordinates  = <!-- use {{Coord}} -->
| owner        = 
| operator     = 
| opened       = 
| closed       = 
| capacity     = 
| channel      = 
| racetype     = 
| coursetype   = 
| notableraces = 
| handle       = 
| attendance   = 
| website      = <!-- http://example.com -->
}}

Example

Aintree Racecourse
The racecourse in 2006
LocationAintree, Merseyside, England
CoordinatesLua error: callParserFunction: function "#coordinates" was not found.
Owned byJockey Club Racecourses
Date opened7 July 1829
Screened onRacing UK
Course typeNational Hunt
Notable racesGrand National
Official website
{{Infobox racecourse
| name         = Aintree Racecourse
| logo         = Aintree Racecourse Logo.jpg
| image        = Aintree Racecourse in 2006.jpg
| caption      = The racecourse in 2006
| location     = [[Aintree]], [[Merseyside]], England
| coordinates  = {{coord|53|28|37|N|2|56|30|W|type:landmark_region:GB|display=inline,title}}
| owner        = [[Jockey Club]] Racecourses
| operator     = 
| opened       = 7 July 1829
| closed       = 
| capacity     = 
| channel      = [[Racing UK]]
| racetype     = 
| coursetype   = [[National Hunt]]
| notableraces = [[Grand National]]
| handle       = 
| attendance   = 
| website      = http://aintree.thejockeyclub.co.uk
}}

Microformat

The 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

If 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

hCard 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

When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name= parameter.

Tracking category