Template:Infobox Daytona 500/doc: Difference between revisions
Appearance
Content deleted Content added
Nascar1996 (talk | contribs) fix |
m syntaxhighlight lang="wikitext" |
||
(20 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} |
{{Documentation subpage}} |
||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> |
|||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> |
|||
{{Lua|Module:Infobox3cols|Module:InfoboxImage|Module:Check for unknown parameters}} |
|||
This template is an infobox for use in articles about a Daytona 500 race, such as [[2008 Daytona 500]]. |
|||
=== Plain Template === |
|||
<pre><nowiki>{{Infobox Daytona 500 |
|||
{{clear}} |
|||
| Type = NAS |
|||
== Usage == |
|||
| Details ref = |
|||
===Basic template=== |
|||
{{Parameter names example | Year | Details_ref | Type=NASME | Race_No | Season_No | Image | Fulldate | Distance_laps | Distance_mi | Distance_km | Scheduled_laps | Weather | Avg | Pole_Driver | Pole_Team | Pole_Time | Duel1 | One_Team | Duel2 | Two_Team | Most_Driver | Most_Team | Most_laps | Car | First_Driver | First_Team | Network | Announcers | Ratings | Radio | Booth_Ann | Turn_Ann }} |
|||
<syntaxhighlight lang="wikitext" style="overflow:auto; white-space:pre;"> |
|||
{{Infobox Daytona 500 |
|||
| Year = |
|||
| Details_ref = |
|||
| Type = NASME |
|||
| Race_No = |
|||
| Season_No = |
|||
| Image = |
|||
| Fulldate = {{Start date|YYYY|MM|DD}} |
| Fulldate = {{Start date|YYYY|MM|DD}} |
||
| Distance_laps = |
|||
| Year = |
|||
| |
| Distance_mi = |
||
| |
| Distance_km = |
||
| Scheduled_laps = |
|||
| Image = |
|||
| |
| Weather = |
||
| Distance_mi = |
|||
| Distance_km = |
|||
| Weather = |
|||
| Avg = <!-- {{convert|SPEED|mi/h}} --> |
| Avg = <!-- {{convert|SPEED|mi/h}} --> |
||
| |
| Pole_Driver = |
||
| |
| Pole_Team = |
||
| |
| Pole_Time = |
||
| |
| Duel1 = |
||
| |
| One_Team = |
||
| |
| Duel2 = |
||
| |
| Two_Team = |
||
| |
| Most_Driver = |
||
| |
| Most_Team = |
||
| |
| Most_laps = |
||
| |
| Car = |
||
| |
| First_Driver = |
||
| |
| First_Team = |
||
| |
| Network = |
||
| Announcers = |
|||
| Ratings = |
|||
| Radio = |
|||
| Booth_Ann = |
|||
| Turn_Ann = |
|||
}} |
}} |
||
</syntaxhighlight> |
|||
</nowiki></pre> |
|||
=== Example Syntax === |
|||
{{clear}} |
|||
From [[2010 Daytona 500]]: |
|||
<pre><nowiki>{{Infobox Daytona 500 |
|||
===Full template=== |
|||
{{Parameter names example | Year | Race_Name | Details_ref | Type=CUST | Race_No | Season_No | Description | Image | image_size | image_alt | Caption | Fulldate | Official_name | Location | Course | Course_mi | Course_km | Distance_laps | Distance_mi | Distance_km | Scheduled_laps | Scheduled_mi | Scheduled_km | Weather | Avg | Attendance | Pole_Driver | Pole_Driver2 | Pole_Team | Pole_Time | Duel1 | One_Team | Duel2 | Two_Team | Most_Driver | Most_laps | Most_Team | Car | First_Driver | First_Team | Network | Announcers | Ratings }} |
|||
<syntaxhighlight lang="wikitext" style="overflow:auto; white-space:pre;"> |
|||
{{Infobox Daytona 500 |
|||
| Year = |
|||
| Race_Name = |
|||
| Details_ref = |
|||
| Type = CUST |
|||
| Race_No = |
|||
| Season_No = |
|||
| Description = |
|||
| Image = |
|||
| image_size = |
|||
| image_alt = |
|||
| Caption = |
|||
| Fulldate = {{Start date|YYYY|MM|DD}} |
|||
| Official_name = |
|||
| Location = |
|||
| Course = |
|||
| Course_mi = |
|||
| Course_km = |
|||
| Distance_laps = |
|||
| Distance_mi = |
|||
| Distance_km = |
|||
| Scheduled_laps = |
|||
| Scheduled_mi = |
|||
| Scheduled_km = |
|||
| Weather = |
|||
| Avg = <!-- {{convert|SPEED|mi/h}} --> |
|||
| Attendance = |
|||
| Pole_Driver = |
|||
| Pole_Driver2 = |
|||
| Pole_Team = |
|||
| Pole_Time = |
|||
| Duel1 = |
|||
| One_Team = |
|||
| Duel2 = |
|||
| Two_Team = |
|||
| Most_Driver = |
|||
| Most_Team = |
|||
| Most_laps = |
|||
| Car = |
|||
| First_Driver = |
|||
| First_Team = |
|||
| Network = |
|||
| Announcers = |
|||
| Ratings = |
|||
}} |
|||
</syntaxhighlight> |
|||
{{clear}} |
|||
==Parameter notes== |
|||
; Year : Used in infobox heading, also used with {{Para|Type}} to create descriptions for 1971 through 2015+ |
|||
:* 2008–2015+, use {{Para|Type|NAS}} for links to [[2008 NASCAR Sprint Cup Series]], etc. |
|||
:** <nowiki>Race {{{Race_No}}} of {{{Season_No}}} in the [[{{{Year}}} NASCAR Sprint Cup Series]] season</nowiki> |
|||
:* 2004–2007, use {{Para|Type|NASNEX}} for links to [[2004 NASCAR Nextel Cup Series]], etc. |
|||
:** <nowiki>Race {{{Race_No}}} of {{{Season_No}}} in the [[{{{Year}}} NASCAR Nextel Cup Series]] season</nowiki> |
|||
:* 1971–2003, use {{Para|Type|NASWINSTON}} for links to [[1971 NASCAR Winston Cup Series]], etc. |
|||
:** <nowiki>Race {{{Race_No}}} of {{{Season_No}}} in the [[{{{Year}}} NASCAR Winston Cup Series]] season</nowiki> |
|||
:* 1959–1970, use {{Para|Type|CUST}} with {{Para|Description}} |
|||
:** <nowiki>{{{Description}}}</nowiki> such as: Race 2 of 44 in the [[1959 in NASCAR|1959 NASCAR Grand National Series]] |
|||
; Type : NAS, NASNEX, NASWINSTON, or CUST |
|||
; Race_No : Only displayed if {{Para|Type|NAS, NASNEX, or NASWINSTON}} |
|||
; Season_No : Only displayed if {{Para|Type|NAS, NASNEX, or NASWINSTON}} |
|||
; Description : Only displayed if {{Para|Type|CUST}} |
|||
; Fulldate : use <code><nowiki> {{Start date|YYYY|MM|DD}} </nowiki></code> |
|||
; Location : if not specified, defaults to: [[Daytona International Speedway]], [[Daytona Beach, Florida]], U.S. |
|||
; Course : if not specified, defaults to: Permanent racing facility, 2.5 mi (4.023 km) |
|||
; Scheduled_laps : USE ONLY WHEN THE RACE IS SHORTENED OR EXTENDED; IF SO PUT 200 here |
|||
; Avg : use <code><nowiki> {{Convert|SPEED|mi/h}} </nowiki></code> |
|||
== Example == |
|||
From [[2008 Daytona 500]]: |
|||
{{Infobox Daytona 500 |
|||
| Year = 2008 |
|||
| Details_ref = |
|||
| Type = NAS |
| Type = NAS |
||
| Details ref = <ref>[http://www.medialifemagazine.com/artman2/publish/Sports_TV_52/Fox_s_Daytona_500_hits_a_speed_bump.asp Fox's Daytona 500 hits a speed bump]</ref> |
|||
| Fulldate = {{Start date|2010|2|14}} |
|||
| Year = 2010 |
|||
| Race_No = 1 |
| Race_No = 1 |
||
| Season_No = 36 |
| Season_No = 36 |
||
| Image = |
| Image = Example_logo.jpg |
||
| Fulldate = {{Start date|2008|02|17}} |
|||
| Distance_laps = 200 |
| Distance_laps = 200 |
||
| Distance_mi = |
| Distance_mi = 500 |
||
| Distance_km = |
| Distance_km = 800 |
||
| Scheduled_laps = |
|||
| Weather = |
|||
| |
| Weather = |
||
| |
| Avg = {{convert|152.672|mi/h}} |
||
| |
| Pole_Driver = [[Jimmie Johnson]] |
||
| |
| Pole_Team = Hendrick Motorsports |
||
| |
| Pole_Time = |
||
| |
| Duel1 = [[Dale Earnhardt, Jr.]] |
||
| |
| One_Team = [[Hendrick Motorsports]] |
||
| |
| Duel2 = [[Denny Hamlin]] |
||
| |
| Two_Team = [[Joe Gibbs Racing]] |
||
| |
| Most_Driver = [[Kyle Busch]] |
||
| |
| Most_Team = Joe Gibbs Racing |
||
| Most_laps = |
|||
| First_Team = [[Earnhardt Ganassi Racing]] |
|||
| |
| Car = 12 |
||
| First_Driver = [[Ryan Newman (racing driver)|Ryan Newman]] |
|||
| First_Team = [[Penske Racing]] |
|||
| Network = [[Fox Broadcasting Company|Fox]] |
|||
| Announcers = [[Mike Joy]], [[Darrell Waltrip]] and [[Larry McReynolds]] |
| Announcers = [[Mike Joy]], [[Darrell Waltrip]] and [[Larry McReynolds]] |
||
| Ratings = |
| Ratings = |
||
}} |
}} |
||
</nowiki></pre> |
|||
<syntaxhighlight lang="wikitext" style="overflow:auto; white-space:pre;"> |
|||
<includeonly> |
|||
{{Infobox Daytona 500 |
|||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> |
|||
| Year = 2008 |
|||
| Details_ref = |
|||
| Type = NAS |
|||
| Race_No = 1 |
|||
| Season_No = 36 |
|||
| Image = Example_logo.jpg |
|||
| Fulldate = {{Start date|2008|02|17}} |
|||
| Distance_laps = 200 |
|||
| Distance_mi = 500 |
|||
| Distance_km = 800 |
|||
| Scheduled_laps = |
|||
| Weather = |
|||
| Pole_Driver = [[Jimmie Johnson]] |
|||
| Pole_Team = Hendrick Motorsports |
|||
| Pole_Time = |
|||
| Avg = {{convert|152.672|mi/h}} |
|||
| Duel1 = [[Dale Earnhardt, Jr.]] |
|||
| One_Team = [[Hendrick Motorsports]] |
|||
| Duel2 = [[Denny Hamlin]] |
|||
| Two_Team = [[Joe Gibbs Racing]] |
|||
| Most_Driver = [[Kyle Busch]] |
|||
| Most_Team = Joe Gibbs Racing |
|||
| Most_laps = |
|||
| Car = 12 |
|||
| First_Driver = [[Ryan Newman (racing driver)|Ryan Newman]] |
|||
| First_Team = [[Penske Racing]] |
|||
| Network = [[Fox Broadcasting Company|Fox]] |
|||
| Announcers = [[Mike Joy]], [[Darrell Waltrip]] and [[Larry McReynolds]] |
|||
| Ratings = |
|||
}} |
|||
</syntaxhighlight> |
|||
{{clear}} |
|||
== Tracking category == |
|||
* {{clc|Pages using infobox Daytona 500 with unknown parameters}} |
|||
== See also == |
|||
* [[Template:Infobox NASCAR race report]], has similar parameters and output |
|||
<includeonly>{{Sandbox other|| |
|||
<!-- Categories go here and interwikis go in Wikidata. --> |
|||
[[Category:NASCAR infobox templates|Daytona 500]] |
[[Category:NASCAR infobox templates|Daytona 500]] |
||
[[Category:Motor race report infobox templates|Daytona 500]] |
[[Category:Motor race report infobox templates|Daytona 500]] |
||
[[Category:Templates that add a tracking category]] |
|||
</includeonly> |
|||
}}</includeonly> |
Latest revision as of 12:17, 18 May 2023
This is a documentation subpage for Template:Infobox Daytona 500. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
This template is an infobox for use in articles about a Daytona 500 race, such as 2008 Daytona 500.
Usage
[edit]Basic template
[edit]Race details{{{Details_ref}}} | |||
---|---|---|---|
Race {{{Race_No}}} of {{{Season_No}}} in the [[{{{Year}}} Monster Energy NASCAR Cup Series]] | |||
[[File:{{{Image}}}|frameless]] | |||
Date | {{{Fulldate}}} | ||
Location |
Daytona International Speedway Daytona Beach, Florida, U.S. | ||
Course |
Permanent racing facility 2.5 mi (4.023 km) | ||
Distance | {{{Distance_laps}}} laps, {{{Distance_mi}}} mi ({{{Distance_km}}} km) | ||
Scheduled Distance | {{{Scheduled_laps}}} laps, 500 mi (804.672 km) | ||
Weather | {{{Weather}}} | ||
Average speed | {{{Avg}}} | ||
Pole position | |||
Driver |
| {{{Pole_Team}}} | |
Time | {{{Pole_Time}}} | ||
Qualifying race winners | |||
Duel 1 Winner | {{{Duel1}}} | {{{One_Team}}} | |
Duel 2 Winner | {{{Duel2}}} | {{{Two_Team}}} | |
Most laps led | |||
Driver | {{{Most_Driver}}} | {{{Most_Team}}} | |
Laps | {{{Most_laps}}} | ||
Winner | |||
No. {{{Car}}} | {{{First_Driver}}} | {{{First_Team}}} | |
Television in the United States | |||
Network | {{{Network}}} | ||
Announcers | {{{Announcers}}} | ||
Nielsen Ratings | {{{Ratings}}} | ||
Radio in the United States | |||
Radio | {{{Radio}}} | ||
Booth Announcers | {{{Booth_Ann}}} | ||
Turn Announcers | {{{Turn_Ann}}} |
{{Infobox Daytona 500
| Year =
| Details_ref =
| Type = NASME
| Race_No =
| Season_No =
| Image =
| Fulldate = {{Start date|YYYY|MM|DD}}
| Distance_laps =
| Distance_mi =
| Distance_km =
| Scheduled_laps =
| Weather =
| Avg = <!-- {{convert|SPEED|mi/h}} -->
| Pole_Driver =
| Pole_Team =
| Pole_Time =
| Duel1 =
| One_Team =
| Duel2 =
| Two_Team =
| Most_Driver =
| Most_Team =
| Most_laps =
| Car =
| First_Driver =
| First_Team =
| Network =
| Announcers =
| Ratings =
| Radio =
| Booth_Ann =
| Turn_Ann =
}}
Full template
[edit]Race details{{{Details_ref}}} | |||
---|---|---|---|
{{{Description}}} | |||
[[File:{{{Image}}}|{{{image_size}}}|alt={{{image_alt}}}|{{{Caption}}}]] | |||
Date | {{{Fulldate}}} | ||
Official name | {{{Official_name}}} | ||
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}}} | ||
Average speed | {{{Avg}}} | ||
Attendance | {{{Attendance}}} | ||
Pole position | |||
Drivers |
| {{{Pole_Team}}} | |
Time | {{{Pole_Time}}} | ||
Qualifying race winners | |||
Duel 1 Winner | {{{Duel1}}} | {{{One_Team}}} | |
Duel 2 Winner | {{{Duel2}}} | {{{Two_Team}}} | |
Most laps led | |||
Driver | {{{Most_Driver}}} | {{{Most_Team}}} | |
Laps | {{{Most_laps}}} | ||
Winner | |||
No. {{{Car}}} | {{{First_Driver}}} | {{{First_Team}}} | |
Television in the United States | |||
Network | {{{Network}}} | ||
Announcers | {{{Announcers}}} | ||
Nielsen Ratings | {{{Ratings}}} |
{{Infobox Daytona 500
| Year =
| Race_Name =
| Details_ref =
| Type = CUST
| Race_No =
| Season_No =
| Description =
| Image =
| image_size =
| image_alt =
| Caption =
| Fulldate = {{Start date|YYYY|MM|DD}}
| Official_name =
| Location =
| Course =
| Course_mi =
| Course_km =
| Distance_laps =
| Distance_mi =
| Distance_km =
| Scheduled_laps =
| Scheduled_mi =
| Scheduled_km =
| Weather =
| Avg = <!-- {{convert|SPEED|mi/h}} -->
| Attendance =
| Pole_Driver =
| Pole_Driver2 =
| Pole_Team =
| Pole_Time =
| Duel1 =
| One_Team =
| Duel2 =
| Two_Team =
| Most_Driver =
| Most_Team =
| Most_laps =
| Car =
| First_Driver =
| First_Team =
| Network =
| Announcers =
| Ratings =
}}
Parameter notes
[edit]- Year
- Used in infobox heading, also used with
|Type=
to create descriptions for 1971 through 2015+- 2008–2015+, use
|Type=NAS
for links to 2008 NASCAR Sprint Cup Series, etc.- Race {{{Race_No}}} of {{{Season_No}}} in the [[{{{Year}}} NASCAR Sprint Cup Series]] season
- 2004–2007, use
|Type=NASNEX
for links to 2004 NASCAR Nextel Cup Series, etc.- Race {{{Race_No}}} of {{{Season_No}}} in the [[{{{Year}}} NASCAR Nextel Cup Series]] season
- 1971–2003, use
|Type=NASWINSTON
for links to 1971 NASCAR Winston Cup Series, etc.- Race {{{Race_No}}} of {{{Season_No}}} in the [[{{{Year}}} NASCAR Winston Cup Series]] season
- 1959–1970, use
|Type=CUST
with|Description=
- {{{Description}}} such as: Race 2 of 44 in the 1959 NASCAR Grand National Series
- 2008–2015+, use
- Type
- NAS, NASNEX, NASWINSTON, or CUST
- Race_No
- Only displayed if
|Type=NAS, NASNEX, or NASWINSTON
- Season_No
- Only displayed if
|Type=NAS, NASNEX, or NASWINSTON
- Description
- Only displayed if
|Type=CUST
- Fulldate
- use
{{Start date|YYYY|MM|DD}}
- Location
- if not specified, defaults to: Daytona International Speedway, Daytona Beach, Florida, U.S.
- Course
- if not specified, defaults to: Permanent racing facility, 2.5 mi (4.023 km)
- Scheduled_laps
- USE ONLY WHEN THE RACE IS SHORTENED OR EXTENDED; IF SO PUT 200 here
- Avg
- use
{{Convert|SPEED|mi/h}}
Example
[edit]From 2008 Daytona 500:
Race details | |||
---|---|---|---|
Race 1 of 36 in the 2008 NASCAR Sprint Cup Series | |||
Date | February 17, 2008 | ||
Location |
Daytona International Speedway Daytona Beach, Florida, U.S. | ||
Course |
Permanent racing facility 2.5 mi (4.023 km) | ||
Distance | 200 laps, 500 mi (800 km) | ||
Average speed | 152.672 miles per hour (245.702 km/h) | ||
Pole position | |||
Driver | Hendrick Motorsports | ||
Qualifying race winners | |||
Duel 1 Winner | Dale Earnhardt, Jr. | Hendrick Motorsports | |
Duel 2 Winner | Denny Hamlin | Joe Gibbs Racing | |
Most laps led | |||
Driver | Kyle Busch | Joe Gibbs Racing | |
Winner | |||
No. 12 | Ryan Newman | Penske Racing | |
Television in the United States | |||
Network | Fox | ||
Announcers | Mike Joy, Darrell Waltrip and Larry McReynolds |
{{Infobox Daytona 500
| Year = 2008
| Details_ref =
| Type = NAS
| Race_No = 1
| Season_No = 36
| Image = Example_logo.jpg
| Fulldate = {{Start date|2008|02|17}}
| Distance_laps = 200
| Distance_mi = 500
| Distance_km = 800
| Scheduled_laps =
| Weather =
| Pole_Driver = [[Jimmie Johnson]]
| Pole_Team = Hendrick Motorsports
| Pole_Time =
| Avg = {{convert|152.672|mi/h}}
| Duel1 = [[Dale Earnhardt, Jr.]]
| One_Team = [[Hendrick Motorsports]]
| Duel2 = [[Denny Hamlin]]
| Two_Team = [[Joe Gibbs Racing]]
| Most_Driver = [[Kyle Busch]]
| Most_Team = Joe Gibbs Racing
| Most_laps =
| Car = 12
| First_Driver = [[Ryan Newman (racing driver)|Ryan Newman]]
| First_Team = [[Penske Racing]]
| Network = [[Fox Broadcasting Company|Fox]]
| Announcers = [[Mike Joy]], [[Darrell Waltrip]] and [[Larry McReynolds]]
| Ratings =
}}
Tracking category
[edit]See also
[edit]- Template:Infobox NASCAR race report, has similar parameters and output