Template:Infobox racecourse: Difference between revisions
en>Primefac m (Protected "Template:Infobox racecourse": semi-protection of high-usage templates to combat systematic vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefin...) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 01:06, 18 January 2023
Script error: No such module "If empty". | |
Location | Script error: No such module "If empty". |
---|---|
Coordinates | Script error: No such module "If empty". |
Owned by | Script error: No such module "If empty". |
Operated by | Script error: No such module "If empty". |
Date opened | Script error: No such module "If empty". |
Date closed | Script error: No such module "If empty". |
Capacity | Script error: No such module "If empty". |
Screened on | Script error: No such module "If empty". |
Race type | Script error: No such module "If empty". |
Course type | Script error: No such module "If empty". |
Notable races | Script error: No such module "If empty". |
Live racing handle | Script error: No such module "If empty". |
Attendance | Script error: No such module "If empty". |
File:Lua-Logo.svg | This template uses Lua: |
Usage
Script error: No such module "Parameter names example".
{{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
File:Aintree Racecourse Logo.jpg | |
Script error: No such module "If empty". | |
Location | Script error: No such module "If empty". |
---|---|
Coordinates | Script error: No such module "If empty". |
Owned by | Script error: No such module "If empty". |
Operated by | Script error: No such module "If empty". |
Date opened | Script error: No such module "If empty". |
Date closed | Script error: No such module "If empty". |
Capacity | Script error: No such module "If empty". |
Screened on | Script error: No such module "If empty". |
Race type | Script error: No such module "If empty". |
Course type | Script error: No such module "If empty". |
Notable races | Script error: No such module "If empty". |
Live racing handle | Script error: No such module "If empty". |
Attendance | Script error: No such module "If empty". |
Script error: No such module "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.