Template:Infobox NASCAR race report/sandbox: Difference between revisions
en>Frietjes No edit summary |
m (1 revision imported) |
(No difference)
|
Latest revision as of 01:07, 18 January 2023
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. |
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
Script error: No such module "Parameter names example".
{{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=NAS
is used to display "Race XX of XX in the 20XX NASCAR Sprint Cup Series season". - For 2004-2007, use
|Type=NASNEX
for "Race XX of XX in the 20XX NASCAR Nextel Cup Series season". - For 1971-2003, use
|Type=NASWINSTON
for "Race XX of XX in the XXXX NASCAR Winston Cup Series season". - Use
|Type=CUST
along with|Description=
to display a custom description in place of the above. - For NASCAR Xfinity Series races, use
|Type=NASXFIN
for "Race XX of XX in the XXXX NASCAR Xfinity Series season". - For ARCA Menards Series races, use
|Type=ARCAM
for "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=ARCAME
for East and|Type=ARCAMW
for West.
Example
From 2015 Ford EcoBoost 400:
Script error: No such module "Infobox3cols".{{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
- ↑ "2015 NASCAR Schedule" (PDF). NASCAR.com. NASCAR Media Group, LLC. August 26, 2014. Retrieved November 9, 2015.
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 |