Difference between revisions of "Template:Infobox racecourse/doc"
Jump to navigation
Jump to search
imported>Frietjes |
imported>Zyxw (note modules used, add {{Parameter names example}}, update blank template, add example, add category, misc formatting) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | <!-- PLEASE ADD CATEGORIES | + | <!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE --> |
| + | {{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}} | ||
== Usage == | == Usage == | ||
| + | {{Parameter names example | name | logo | logo_size | logo_alt | logo_caption | image | image_size | alt | caption | location | coordinates | owner | operator | opened | closed | capacity | channel | racetype | coursetype | notableraces | handle | attendance | website }} | ||
| + | |||
| + | <pre style="overflow:auto"> | ||
{{Infobox racecourse | {{Infobox racecourse | ||
| − | |name = | + | | name = <!-- REQUIRED --> |
| − | |image = | + | | logo = |
| − | |caption = | + | | logo_size = |
| − | |location = | + | | logo_alt = |
| − | |coordinates = {{ | + | | logo_caption = |
| − | |owner = | + | | image = |
| − | |operator = | + | | image_size = |
| − | |opened = | + | | alt = |
| − | |closed = | + | | caption = |
| − | |channel = | + | | location = <!-- REQUIRED --> |
| − | |racetype = | + | | coordinates = <!-- use {{Coord}} --> |
| − | |coursetype = | + | | owner = |
| − | |notableraces = | + | | operator = |
| − | |handle = | + | | opened = |
| − | |attendance = | + | | closed = |
| − | |website = | + | | capacity = |
| + | | channel = | ||
| + | | racetype = | ||
| + | | coursetype = | ||
| + | | notableraces = | ||
| + | | handle = | ||
| + | | attendance = | ||
| + | | website = <!-- http://example.com --> | ||
}} | }} | ||
| + | </pre> | ||
| + | {{clear}} | ||
| + | |||
| + | == Example == | ||
| + | {{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 | ||
| + | }} | ||
| + | |||
<pre style="overflow:auto"> | <pre style="overflow:auto"> | ||
{{Infobox racecourse | {{Infobox racecourse | ||
| − | |name = | + | | name = Aintree Racecourse |
| − | |image = | + | | logo = Aintree Racecourse Logo.jpg |
| − | |caption = | + | | image = Aintree Racecourse in 2006.jpg |
| − | |location = | + | | caption = The racecourse in 2006 |
| − | |coordinates = | + | | location = [[Aintree]], [[Merseyside]], England |
| − | |owner = | + | | coordinates = {{coord|53|28|37|N|2|56|30|W|type:landmark_region:GB|display=inline,title}} |
| − | |operator = | + | | owner = [[Jockey Club]] Racecourses |
| − | |opened = | + | | operator = |
| − | |closed = | + | | opened = 7 July 1829 |
| − | |channel = | + | | closed = |
| − | |racetype = | + | | capacity = |
| − | |coursetype = | + | | channel = [[Racing UK]] |
| − | |notableraces = | + | | racetype = |
| − | |handle = | + | | coursetype = [[National Hunt]] |
| − | |attendance = | + | | notableraces = [[Grand National]] |
| − | |website = | + | | handle = |
| − | }}</pre> | + | | attendance = |
| + | | website = http://aintree.thejockeyclub.co.uk | ||
| + | }} | ||
| + | </pre> | ||
| + | {{clear}} | ||
| − | ==Microformat== | + | == Microformat == |
{{UF-hcard-geo}} | {{UF-hcard-geo}} | ||
| Line 50: | Line 90: | ||
<!-- CATEGORIES HERE, THANKS --> | <!-- CATEGORIES HERE, THANKS --> | ||
[[Category:Sports infobox templates|Racecourse]] | [[Category:Sports infobox templates|Racecourse]] | ||
| + | [[Category:Templates that add a tracking category]] | ||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 19:24, 2 March 2017
| This is a documentation subpage for Template:Infobox racecourse. It contains usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
Contents
Usage
Template: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
![]() | |
| Script error: No such module "If empty". 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". |
| Template: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
Tracking category
