Template:Infobox NASCAR race report/sandbox: Difference between revisions
>Frietjes No edit summary |
(No difference)
|
Latest revision as of 15:04, 1 September 2015
| Race details | ||
|---|---|---|
|
| ||
| Location | {{{location}}} | |
| Course | Permanent racing facility {{{Course_mi}}} mi ({{{Course_km}}} km) | |
| Distance | {{{Distance_laps}}} laps, {{{Distance_mi}}} mi ({{{Distance_km}}} km) | |
| File:Sandbox.svg | This is the template sandbox page for Template:Infobox NASCAR race report (diff). See also the companion subpage for test cases. |
| Warning | This template is used on approximately 2,500 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
| File:Information icon4.svg | This template adds an automatically generated short description. If the automatic short description is not optimal, replace it by adding {{Short description}} at the top of the article. |
| File:Lua-Logo.svg | This template uses Lua: |
Infobox template for all NASCAR season races, part of the NASCAR WikiProject.
Usage
| Race details | |||
|---|---|---|---|
| [[Image:{{{Image}}}|180px|{{{Caption}}}]] {{{Caption}}} | |||
| Date | {{{Fulldate}}} | ||
| Location | {{{Location}}} | ||
| Course | {{{Course}}} {{{Course_mi}}} mi ({{{Course_km}}} km) | ||
| Distance | {{{Distance_laps}}} laps, {{{Distance_mi}}} mi ({{{Distance_km}}} km) | ||
| Scheduled Distance | {{{Scheduled_laps}}} laps, {{{Scheduled_mi}}} mi ({{{Scheduled_km}}} km) | ||
| Weather | {{{Weather}}} | ||
| Avg Speed | {{{Avg}}} | ||
| Pole position | |||
| Drivers | {{{Pole_Driver}}} | {{{Pole_Team}}} | |
| {{{Pole_Driver2}}} | |||
| Time | {{{Pole_Time}}} | ||
| Most laps led | |||
| Driver | {{{Most_Driver}}} | {{{Most_Team}}} | |
| Laps | {{{Most_laps}}} | ||
| Winner | |||
| {{{Car}}} |
{{{First_Driver}}} |
{{{First_Team}}} | |
| Television | |||
| Network | {{{Network}}} | ||
| Announcers | {{{Announcers}}} | ||
{{Infobox NASCAR race report
| Year =
| Race_Name =
| Details_ref =
| Type = NASME <!-- or NAS, NASNEX, NASWINSTON, NASXFIN, ARCAM, ARCAME, ARCAMW, CUST -->
| Race_No =
| Season_No =
| Description = <!-- only if CUST is used -->
| Image =
| image_size = <!-- only if ismaller than 220px -->
| image_alt =
| Caption =
| Fulldate = {{Start date|YYYY|MM|DD}}
| Official_name =
| Location =
| Course =
| Course_mi =
| Course_km =
| Distance_laps =
| Distance_mi =
| Distance_km =
| Weather =
| Avg = <!--{{Convert|---|mph|km/h|abbr=on}}-->
| Attendance =
| Pole_Driver =
| Pole_Driver2 =
| Pole_Team =
| Pole_Time =
| Grid_from_heats =
| Grid_from_ballot =
| Grid_from_number =
| Grid_from_inversion =
| Grid_from_prev_perf =
| Most_Driver =
| Most_Team =
| Most_laps =
| Car =
| First_Driver =
| First_Team =
| Network =
| Announcers =
| Ratings =
| Radio =
| Booth_Ann =
| Turn_Ann =
| Previous =
| Next =
}}
Note: The syntax |Type=NASME is used to display "Race XX of XX in the 20XX Monster Energy NASCAR Cup Series season".
- For 2008-2016, use
|Type=NASis used to display "Race XX of XX in the 20XX NASCAR Sprint Cup Series season". - For 2004-2007, use
|Type=NASNEXfor "Race XX of XX in the 20XX NASCAR Nextel Cup Series season". - For 1971-2003, use
|Type=NASWINSTONfor "Race XX of XX in the XXXX NASCAR Winston Cup Series season". - Use
|Type=CUSTalong with|Description=to display a custom description in place of the above. - For NASCAR Xfinity Series races, use
|Type=NASXFINfor "Race XX of XX in the XXXX NASCAR Xfinity Series season". - For ARCA Menards Series races, use
|Type=ARCAMfor "Race XX of XX in the XXXX NASCAR Xfinity Series season". For its counterparts, the ARCA Menards Series East and ARCA Menards Series West, use|Type=ARCAMEfor East and|Type=ARCAMWfor West.
Example
From 2015 Ford EcoBoost 400:
| Race details[1] | |||
|---|---|---|---|
| Race 36 of 36 in the 2015 NASCAR Sprint Cup Series | |||
| Date | November 22, 2015 | ||
| Location | Homestead–Miami Speedway in Homestead, Florida | ||
| Course | Permanent racing facility | ||
| Course length | 2.4 km (1.5 miles) | ||
| Distance | 267 laps, 400.5 mi (640.8 km) | ||
| Weather | Mostly sunny skies with a temperature of 81 °F (27 °C); wind out of the west/southwest at 13 mph (21 km/h) | ||
| Average speed | 131.755 mph (212.039 km/h) | ||
| Pole position | |||
| Driver | Joe Gibbs Racing | ||
| Time | 30.568 | ||
| Most laps led | |||
| Driver | Brad Keselowski | Team Penske | |
| Laps | 86 | ||
| Winner | |||
| No. 18 | Kyle Busch | Joe Gibbs Racing | |
| Television in the United States | |||
| Network | NBC & | ||
| Announcers | Rick Allen, Jeff Burton and Steve Letarte | ||
| Nielsen ratings | 4.4/10 (Overnight) | ||
| Radio in the United States | |||
| Radio | MRN | ||
| Booth announcers | Joe Moore, Jeff Striegle and Rusty Wallace | ||
| Turn announcers | Dave Moody (1 & 2) andMike Bagley (3 & 4) | ||
{{Infobox NASCAR race report
| Type = NAS
| Description = <!-- Use only if CUSTOM is used -->
| Race Name = Ford EcoBoost 400
| Details ref = <ref>{{Cite web|url=http://www.nascar.com/content/dam/nascar/download-schedule/2015/nscs_2015_printable_schedule3.pdf|title=2015 NASCAR Schedule|publisher=NASCAR Media Group, LLC.|date=August 26, 2014|website=NASCAR.com|accessdate=November 9, 2015}}</ref>
| Fulldate = {{Start date|2015|11|22}}
| Year = 2015
| Race_No = 36
| Season_No = 36
| Image = 2015 Ford EcoBoost 400 logo.jpg
| Caption =
| Location = [[Homestead–Miami Speedway]] in [[Homestead, Florida]]
| Course_mi = 1.5
| Course_km = 2.4
| Distance_mi = 400.5
| Distance_laps = 267
| Distance_km = 640.8
| Weather = Mostly sunny skies with a temperature of {{Convert|81|F|C}}; wind out of the west/southwest at {{Convert|13|mph|km/h|abbr=on}}
| Avg = {{Convert|131.755|mph|km/h|abbr=on}}
| Pole_Driver = [[Denny Hamlin]]
| Pole_Team = [[Joe Gibbs Racing]]
| Pole_Time = 30.568
| Most_Driver = [[Brad Keselowski]]
| Most_Team = [[Team Penske]]
| Most_laps = 86
| Car = 18
| First_Driver = [[Kyle Busch]]
| First_Team = [[Joe Gibbs Racing]]
| Network = [[NASCAR on NBC|NBC]] &
| Announcers = [[Rick Allen (sportscaster)|Rick Allen]], [[Jeff Burton]] and [[Steve Letarte]]
| Ratings = 4.4/10 (Overnight)
| Radio = [[Motor Racing Network|MRN]]
| Booth_Ann = Joe Moore, Jeff Striegle and [[Rusty Wallace]]
| Turn_Ann = [[Dave Moody (sportscaster)|Dave Moody]] (1 & 2) and[[Mike Bagley]] (3 & 4)
}}
- References from example
- ↑ Lua error in Module:Citation/CS1/Configuration at line 2088: attempt to index field '?' (a nil value).
TemplateData
TemplateData for Infobox NASCAR race report
Infobox template for all NASCAR season races, part of the NASCAR WikiProject.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Year | Year | no description | Number | optional |
| Race_Name | Race_Name | no description | Content | optional |
| Details_ref | Details_ref | no description | Unknown | optional |
| Details ref | Details ref | no description | Unknown | optional |
| Type | Type | no description
| Content | required |
| Race_No | Race_No | no description | Number | optional |
| Season_No | Season_No | no description | Number | optional |
| Description | Description | no description | Unknown | optional |
| Image | Image | no description | File | optional |
| image_size | image_size | no description | Unknown | optional |
| image-size | image-size | no description | Unknown | optional |
| image_alt | image_alt | no description | Unknown | optional |
| image-alt | image-alt | no description | Unknown | optional |
| Caption | Caption | no description | Unknown | optional |
| Date | Date | no description | Date | optional |
| Fulldate | Fulldate | no description | Date | optional |
| Official_name | Official_name | no description | Content | optional |
| Official name | Official name | no description | Unknown | optional |
| Location | Location | no description | Content | suggested |
| Course | Course | no description | Unknown | suggested |
| Course_mi | Course_mi | no description | Unknown | optional |
| Course_km | Course_km | no description | Unknown | optional |
| Distance_mi | Distance_mi | no description | Number | suggested |
| Distance_laps | Distance_laps | no description | Unknown | optional |
| Distance_km | Distance_km | no description | Unknown | optional |
| Scheduled_laps | Scheduled_laps | no description | Unknown | optional |
| Scheduled_mi | Scheduled_mi | no description | Unknown | optional |
| Scheduled_km | Scheduled_km | no description | Unknown | optional |
| Weather | Weather | no description | Unknown | optional |
| Avg | Avg | no description | Unknown | optional |
| Attendance | Attendance | no description | Unknown | optional |
| Pole_Driver | Pole_Driver | no description | Unknown | optional |
| Pole_Driver2 | Pole_Driver2 | no description | Unknown | optional |
| Pole_Team | Pole_Team | no description | Unknown | optional |
| Pole_Time | Pole_Time | no description | Unknown | optional |
| Grid_from_heats | Grid_from_heats | no description | Unknown | optional |
| Grid_from_ballot | Grid_from_ballot | no description | Unknown | optional |
| Grid_from_number | Grid_from_number | no description | Unknown | optional |
| Grid_from_inversion | Grid_from_inversion | no description | Unknown | optional |
| Grid_from_prev_perf | Grid_from_prev_perf | no description | Unknown | optional |
| Most_Driver | Most_Driver | no description | Unknown | optional |
| Most_laps | Most_laps | no description | Number | optional |
| Most_Team | Most_Team | no description | Unknown | optional |
| Car | Car | no description | Unknown | optional |
| First_Driver | First_Driver | no description | Unknown | optional |
| First_Team | First_Team | no description | Unknown | optional |
| Network | Network | no description | Unknown | optional |
| Announcers | Announcers | no description | Unknown | optional |
| Ratings | Ratings | no description
| Number | optional |
| Radio | Radio | no description | Unknown | optional |
| Booth_Ann | Booth_Ann | no description | Unknown | optional |
| Turn_Ann | Turn_Ann | no description | Unknown | optional |