Jump to content

Template:IndyCarSeriesracebox/doc

From Wikipedia, the free encyclopedia

Usage

[edit]
  • Used to display box scores and statistics for IndyCar races and other automobile races for similar formulas.
  • Created primarily for use first in the article 2012 IndyCar Series season. It may be retro-fitted to previous IndyCar Series season articles, as well as other similar forms of racing.

Parameters

[edit]
Parameter Explanation Notes
Type Designates the type of way to present the top three finishers. Typically, the road course races call it the "Podium Finishers." Whereas Indianapolis and Texas in particular refer to them as the "Top Three Finishers." The acceptable inputs are either "PODIUM" or "THREE" Required
bg Designates the background color. Optional
bg2 Designates a different background color for the collapsable game summary rows. Optional
titlestyle Designates format for a title bar (e.g., bar color, text alignment, font color). Suggest using official IZOD IndyCar Series colors (background = #EE0033, font color = white)
state Designates the default state of the collapsable row [autocollapse, uncollapsed, collapsed, plain, off]. Suggest using "collapsed" at all times due to the fact that there are 15-17 race boxes per season on the season pages. Optional
title A title to the top box. Standard format would be: "Round XX - Official Race Title"
date Date of the event.
time Starting time of the event.
wikiracearticle Wiki link to the overall race article of the event in question. Specifically not the race report, but the article which lists the race history and past winners. Through either the article name or piping, this should match the "title" above. The backets ([[) and (]]) are left out of the automatic syntax in order to allow for piping. Required
track The race track, speedway, or temporary racing circuit where the race is being held. Required
city The city, state, county (or city, county if outside the U.S.) where the race track is located. Required
tracktype The type of circuit the race is being held on (e.g., oval, road course, street circuit, or similar descriptive variation) Required
onelapmi The distance in miles for one lap around the track Required
laps The total number of laps to complete the race (advertised distance) Required
miles The race distance in miles (advertised distance) Required
weather The observed weather conditions for the race; should be place-marked with "TBA" until official report is published. Required
pole The winner of the pole position for the race (required only after the pole winner has been determined)
attendance The announced attendance for the event; should be place-marked with "TBA" until official report is published.
wikireport Wiki link for the full race report article (required only after race has been completed)
textsummary A brief but concise text summary, in prose form, of the highlights of the race. (required only after race has been completed)
leadchanges The number of lead changes during the race - standard format would be: "X lead changes between X drivers" (required only after race has been completed)
leaders A free form list of the lap leaders of the race (required only after race has been completed)
yellows The number of caution periods during the race - standard format would be: "X cautions for X laps" or "None" (required only after race has been completed)
cautions A free form list of the caution periods during of the race (required only after race has been completed)
tvnetwork Television network in the U.S. broadcasting the race
booth Television Host(s), play-by-play announcer(s) and booth analyst(s)
pits Television pit reporter(s) and/or garage area reporter(s); includes non-booth analyst(s)
ratings Nielsen television ratings of the race telecast. Includes, but not limited to, overnight ratings, final ratings, viewers, households, etc.; should be place-marked with "TBA" until official report is published.
1stsp, 2ndsp, 3rdsp Starting position for the 1st-2nd-3rd-place finishers (required only after race has been completed)
1stno, 2ndno, 3rdno Car numbers for the 1st-2nd-3rd-place finishers (required only after race has been completed)
1stbg, 2ndbg, 3rdbg Background color for the 1st-2nd-3rd-place finishers; to match the car color scheme (required only after race has been completed). If it is not filled in, it reverts to normal black numerals on transparent background. Optional
1stfont, 2ndfont, 3rdfont Font color for the 1st-2nd-3rd-place finishers; to match the car color scheme (required only after race has been completed). If it is not filled in, it reverts to normal black numerals on transparent background. Optional
1stname, 2ndname, 3rdname Drivers name for the 1st-2nd-3rd-place finishers (required only after race has been completed)
1stteam, 2ndteam, 3rdteam Team name/entrant for the 1st-2nd-3rd-place finishers (required only after race has been completed)
1stlaps, 1stlaps, 1stlaps Laps completed by the 1st-2nd-3rd-place finishers (required only after race has been completed)
1sttime Total elapsed time for the 1st-place finisher (required only after race has been completed)
2ndmargin, 3rdmargin Margin in seconds behind the race winners for the 2nd-3rd-place finishers (required only after race has been completed)
avespeed Average speed in miles per hour for the race (required only after race has been completed)
officialreport An external link to an official box score or race report (required only after race has been completed)

Examples of usage

[edit]

The following are useful examples for implementing the template.

Blank

[edit]

The following blank version includes all parameters and can be used to copied directly for use.

{{IndyCarSeriesracebox
 |Type=   PODIUM  or THREE
 |bg=
 |bg2=
 |titlestyle= 
 |state=
 |title=
 |1stsp=     |1stno=     |1stbg=    |1stfont=     |1stname=    |1stteam=    |1stlaps=    |1sttime=
 |2ndsp=     |2ndno=     |2ndbg=    |2ndfont=     |2ndname=    |2ndteam=    |2ndlaps=    |2ndmargin=
 |3rdsp=     |3rdno=     |3rdbg=    |3rdfont=     |3rdname=    |3rdteam=    |3rdlaps=    |3rdmargin=  
 |avespeed=
 |officialreport=
 |date=         |time=
 |wikiracearticle=
 |track=
 |city=
 |tracktype=
 |onelapmi=
 |laps=         |miles=
 |weather=
 |pole=
 |attendance=
 |wikireport=
 |textsummary=
 |leadchanges=
 |leaders=
 |yellows=
 |cautions=
 |tvnetwork=
 |booth=
 |pits=
 |ratings=
}}

2011 Indianapolis 500 example

[edit]
{{IndyCarSeriesracebox
 |Type= THREE 
 |bg=
 |bg2=
 |titlestyle= color:white; background:#EE0033; text-align:center; font-weight: bold; 
 |state=collapsed
 |title=95th Indianapolis 500
 |1stsp=6    |1stno=98 |1stbg=orange   |1stfont=black  |1stname={{flagicon|GBR}} [[Dan Wheldon]]
    |1stteam=[[Bryan Herta Autosport]]    |1stlaps=200    |1sttime=2:56:11.7267
 |2ndsp=12   |2ndno=4   |2ndbg=black    |2ndfont=white   |2ndname={{flagicon|USA}} [[J. R. Hildebrand]] (R)
    |2ndteam=[[Panther Racing]]    |2ndlaps=200    |2ndmargin=+2.1086
|3rdsp=29  |3rdno=38  |3rdbg=blue    |3rdfont=white     |3rdname={{flagicon|USA}} [[Graham Rahal]]
    |3rdteam=[[Chip Ganassi Racing]] |3rdlaps= 200   |3rdmargin=+5.5949
 |avespeed=170.265
 |officialreport=[http://www.indycar.com:8080/var/assets/indycar-race-lapfinal24.pdf Report]
 |date=Sunday May 29, 2011      |time=12:15 p.m. [[Eastern Time Zone|EDT]]
 |wikiracearticle=[[Indianapolis 500|95th Indianapolis 500-Mile Race]]
 |track=[[Indianapolis Motor Speedway]]
 |city=[[Speedway, Indiana]]
 |tracktype=Permanent paved [[Oval track racing|oval]]
 |onelapmi=2.500
 |laps=200         |miles=500.000
 |weather=86°F (30°C), cloudy
 |pole=[[Alex Tagliani]] (227.790 mph)
 |attendance=300,000
 |wikireport=2011 Indianapolis 500
 |textsummary=[[Chip Ganassi Racing|Ganassi]] teammates [[Scott Dixon]] and [[Dario Franchitti]] led 124 laps,
 but the race came down to the final few laps as several drivers pitted for fuel. Rookie [[J. R. Hildebrand]]
 took the lead with three laps to go, and led at the white flag. Coming out of the final turn on the final lap,
 Hildebrand hit the outside wall, and [[Dan Wheldon]] drove by to take the victory, which would turn out to
 be his last.
 |leadchanges=23 between 10 drivers
 |leaders=Scott Dixon (73 laps)
*Dario Franchitti (51)
*Alex Tagliani (20)
*Oriol Servia (18)
*Bertrand Baguette (11)
*Danica Patrick (10)
*J.R. Hildebrand (7)
*Graham Rahal (6)
*Ed Carpenter (3)
*Dan Wheldon (1)
 |yellows=7 for 40 laps
 |cautions=Laps 21-26: Contact: Car 5 in Turn 1
*Laps 28-32: Contact: Cars 06 & 59 in Turn 1
*Laps 62-69: Contact: Car 88 in Turn 1
*Laps 101-106: Contact: Car 06 in Turn 3
*Laps 148-154: Contact: Car 77 in Turn 4
*Laps 158-164: Contact: Cars 6 & 99 in Turn 1
*Lap 200: Contact: Car 4 in Turn 4
 |tvnetwork=[[ESPN on ABC|ABC]]
 |booth=[[Marty Reid]], [[Scott Goodyear]], [[Eddie Cheever]], [[Brent Musburger]]
 |pits=Vince Welch, [[Jamie Little]], [[Rick DeBruhl]], [[Jerry Punch]]
 |ratings=4.0, 6.71 million viewers (4.3 overnight)
}}
95th Indianapolis 500
Top Three Finishers
Pos Grid No. Driver Team Laps Time
1 6 98 United Kingdom Dan Wheldon Bryan Herta Autosport 200 2:56:11.7267
2 12 4 United States J. R. Hildebrand (R) Panther Racing 200 +2.1086
3 29 38 United States Graham Rahal Chip Ganassi Racing 200 +5.5949
Race average speed: 170.265 mph (274.015 km/h)
Official Box Score: Report

See also

[edit]