Difference between revisions of "Template:Infobox racecourse"
Jump to navigation
Jump to search
[[Category:Infobox templates|Template:Remove first word]]
imported>Frietjes (safely ignored) |
imported>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...) |
||
| (3 intermediate revisions by one other user not shown) | |||
| Line 4: | Line 4: | ||
| titlestyle = background:inherit; border:1px solid #AAA; border-bottom:none; line-height:1.6em; | | titlestyle = background:inherit; border:1px solid #AAA; border-bottom:none; line-height:1.6em; | ||
| title = {{if empty|{{{Name|}}}|{{{name|}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}} | | title = {{if empty|{{{Name|}}}|{{{name|}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}} | ||
| − | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{if empty|{{{Image|}}}|{{{image|}}}}}|size={{if empty|{{{imagesize|}}}|{{{image_size|}}}}}}} | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_size|}}}|alt={{{logo_alt|}}}}} |
| − | | | + | | caption = {{{logo_caption|}}} |
| − | + | | image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{if empty|{{{Image|}}}|{{{image|}}}}}|size={{if empty|{{{imagesize|}}}|{{{image_size|}}}}}|alt={{{alt|}}}}} | |
| + | | caption2 = {{if empty|{{{Caption|}}}|{{{caption|}}}}} | ||
| label1 = Location | | label1 = Location | ||
| class1 = label | | class1 = label | ||
| Line 37: | Line 38: | ||
| below = {{#if:{{{Website|}}}{{{website|}}}|{{official website|1={{if empty|{{{Website|}}}|{{{website|}}}}}}}}} | | below = {{#if:{{{Website|}}}{{{website|}}}|{{official website|1={{if empty|{{{Website|}}}|{{{website|}}}}}}}}} | ||
| − | }}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox racecourse with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox racecourse]] with unknown parameter "_VALUE_"|ignoreblank=y| Attendance | attendance | Capacity | capacity | Caption | caption | Channel | channel | Closed | closed | coordinates | Coordinates | CourseType | coursetype | Handle | handle | Image | image | image_size | imagesize | Location | location | Name | name | NotableRaces | notableraces | Opened | opened | Operator | operator | Owner | owner | RaceType | racetype | Website | website | Prev | Next }}<noinclude>{{documentation}}<!-- place category and language links on the /doc sub-page, not here --></noinclude> | + | }}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox racecourse with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox racecourse]] with unknown parameter "_VALUE_"|ignoreblank=y| alt | Attendance | attendance | Capacity | capacity | Caption | caption | Channel | channel | Closed | closed | coordinates | Coordinates | CourseType | coursetype | Handle | handle | Image | image | image_size | imagesize | Location | location | logo | logo_size | logo_alt | logo_caption | Name | name | NotableRaces | notableraces | Opened | opened | Operator | operator | Owner | owner | RaceType | racetype | Website | website | Prev | Next }}<noinclude>{{documentation}}<!-- place category and language links on the /doc sub-page, not here --></noinclude> |
Latest revision as of 00:30, 19 January 2018
| 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". |
[[Category:Infobox templates|Template:Remove first word]]
| 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
| The above documentation is transcluded from Template:Infobox racecourse/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
