Difference between revisions of "Template:Infobox Daytona 500/doc"
Jump to navigation
Jump to search
imported>Ptb1997 |
imported>Zyxw (add parameter notes, add display for example, add link to tracking category and note usage of Module:Check for unknown parameters, prevent categories from being transcluded by /sandbox, misc formatting) |
||
| 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]]) --> |
| + | {{Lua | 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]]. |
| − | {{Parameter names example | + | |
| − | <pre style="overflow: auto;">{{Infobox Daytona 500 | + | {{clear}} |
| + | == Usage == | ||
| + | {{Parameter names example | Year | year | Race Name | Details ref | Type | Race_No | Season_No | Description | Image | image_size | image-size | image_alt | image-alt | Caption | Fulldate | Official name | Location | location | Course | Course_mi | Course_km | Distance_mi | Distance_laps | Distance_km | Scheduled_laps | Scheduled_mi | Scheduled_km | Weather | Avg | 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 }} | ||
| + | |||
| + | <pre style="overflow:auto; white-space:pre;"> | ||
| + | {{Infobox Daytona 500 | ||
| Type = NAS | | Type = NAS | ||
| Details ref = | | Details ref = | ||
| − | + | | Year = | |
| − | | Year = | ||
| Race_No = | | Race_No = | ||
| Season_No = | | Season_No = | ||
| Image = | | Image = | ||
| + | | Fulldate = {{Start date|YYYY|MM|DD}} | ||
| Distance_laps = | | Distance_laps = | ||
| Distance_mi = | | Distance_mi = | ||
| Distance_km = | | Distance_km = | ||
| − | | Scheduled_laps = | + | | Scheduled_laps = |
| Weather = | | Weather = | ||
| Avg = <!-- {{convert|SPEED|mi/h}} --> | | Avg = <!-- {{convert|SPEED|mi/h}} --> | ||
| Line 37: | Line 43: | ||
</pre> | </pre> | ||
| − | === Example | + | ==Parameter notes== |
| + | |||
| + | ; Type : NAS, NASNEX, NASWINSTON, or CUST | ||
| + | :* NAS = <nowiki>Race {{{Race_No}}} of {{{Season_No}}} in the [[{{{Year}}} NASCAR Sprint Cup Series]] season</nowiki> | ||
| + | :* NASNEX = <nowiki>Race {{{Race_No}}} of {{{Season_No}}} in the [[{{{Year}}} NASCAR Nextel Cup Series]] season</nowiki> | ||
| + | :* NASWINSTON = <nowiki>Race {{{Race_No}}} of {{{Season_No}}} in the [[{{{Year}}} NASCAR Winston Cup Series]] season</nowiki> | ||
| + | :* CUST = <nowiki>{{{Description}}}</nowiki> | ||
| + | ; Year : DO *not* FILL IN FOR SEASONS BEFORE 2008 | ||
| + | ; Fulldate : use <nowiki> {{Start date|YYYY|MM|DD}} </nowiki> | ||
| + | ; Scheduled_laps : USE ONLY WHEN THE RACE IS SHORTENED OR EXTENDED; IF SO PUT 200 here | ||
| + | ; Avg : use <nowiki> {{convert|SPEED|mi/h}} </nowiki> | ||
| + | |||
| + | {{clear}} | ||
| + | == Example == | ||
From [[2008 Daytona 500]]: | From [[2008 Daytona 500]]: | ||
| − | + | ||
| + | {{Infobox Daytona 500 | ||
| Type = NAS | | Type = NAS | ||
| − | | Details ref = | + | | Details ref = |
| − | |||
| Year = 2008 | | Year = 2008 | ||
| 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 = 500 | | Distance_mi = 500 | ||
| Distance_km = 800 | | Distance_km = 800 | ||
| − | | Scheduled_laps = | + | | Scheduled_laps = |
| − | | Weather = | + | | Weather = |
| Avg = {{convert|152.672|mi/h}} | | Avg = {{convert|152.672|mi/h}} | ||
| + | | Pole_Driver = [[Jimmie Johnson]] | ||
| + | | Pole_Team = Hendrick Motorsports | ||
| + | | Pole_Time = | ||
| Duel1 = [[Dale Earnhardt, Jr.]] | | Duel1 = [[Dale Earnhardt, Jr.]] | ||
| One_Team = [[Hendrick Motorsports]] | | One_Team = [[Hendrick Motorsports]] | ||
| Duel2 = [[Denny Hamlin]] | | Duel2 = [[Denny Hamlin]] | ||
| Two_Team = [[Joe Gibbs Racing]] | | Two_Team = [[Joe Gibbs Racing]] | ||
| + | | Most_Driver = [[Kyle Busch]] | ||
| + | | Most_Team = Joe Gibbs Racing | ||
| + | | Most_laps = | ||
| + | | Car = 12 | ||
| + | | First_Driver = [[Ryan Newman]] | ||
| + | | First_Team = [[Penske Racing]] | ||
| + | | Network = [[Fox Broadcasting Company|Fox]] | ||
| + | | Announcers = [[Mike Joy]], [[Darrell Waltrip]] and [[Larry McReynolds]] | ||
| + | | Ratings = | ||
| + | }} | ||
| + | |||
| + | <pre style="overflow:auto; white-space:pre;"> | ||
| + | {{Infobox Daytona 500 | ||
| + | | Type = NAS | ||
| + | | Details ref = | ||
| + | | Year = 2008 | ||
| + | | 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_Driver = [[Jimmie Johnson]] | ||
| Pole_Team = Hendrick Motorsports | | Pole_Team = Hendrick Motorsports | ||
| − | | Pole_Time = | + | | 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_Driver = [[Kyle Busch]] | ||
| Most_Team = Joe Gibbs Racing | | Most_Team = Joe Gibbs Racing | ||
| − | | Most_laps = | + | | Most_laps = |
| Car = 12 | | Car = 12 | ||
| First_Driver = [[Ryan Newman]] | | First_Driver = [[Ryan Newman]] | ||
| Line 68: | Line 121: | ||
| Network = [[Fox Broadcasting Company|Fox]] | | Network = [[Fox Broadcasting Company|Fox]] | ||
| Announcers = [[Mike Joy]], [[Darrell Waltrip]] and [[Larry McReynolds]] | | Announcers = [[Mike Joy]], [[Darrell Waltrip]] and [[Larry McReynolds]] | ||
| − | | Ratings = | + | | Ratings = |
}} | }} | ||
</pre> | </pre> | ||
| − | <includeonly> | + | |
| − | <!-- | + | {{clear}} |
| + | == See also == | ||
| + | * [[:Category:Pages using infobox Daytona 500 with unknown parameters]] (hidden tracking/maintenance category) | ||
| + | |||
| + | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| | ||
| + | <!-- 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]] | ||
| − | </includeonly> | + | }}</includeonly> |
Revision as of 07:55, 8 October 2015
| This is a documentation subpage for Template:Infobox Daytona 500. It contains usage information, categories and other content that is not part of the original template page. |
| 30px | This template uses Lua: |
This template is an infobox for use in articles about a Daytona 500 race, such as 2008 Daytona 500.
Contents
Usage
Template:Parameter names example
{{Infobox Daytona 500
| Type = NAS
| Details ref =
| Year =
| 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 =
}}
Parameter notes
- Type
- NAS, NASNEX, NASWINSTON, or CUST
- NAS = Race {{{Race_No}}} of {{{Season_No}}} in the [[{{{Year}}} NASCAR Sprint Cup Series]] season
- NASNEX = Race {{{Race_No}}} of {{{Season_No}}} in the [[{{{Year}}} NASCAR Nextel Cup Series]] season
- NASWINSTON = Race {{{Race_No}}} of {{{Season_No}}} in the [[{{{Year}}} NASCAR Winston Cup Series]] season
- CUST = {{{Description}}}
- Year
- DO *not* FILL IN FOR SEASONS BEFORE 2008
- Fulldate
- use {{Start date|YYYY|MM|DD}}
- Scheduled_laps
- USE ONLY WHEN THE RACE IS SHORTENED OR EXTENDED; IF SO PUT 200 here
- Avg
- use {{convert|SPEED|mi/h}}
Example
From 2008 Daytona 500:
| Race details | |||
|---|---|---|---|
| Race 1 of 36 in the 2008 NASCAR Sprint Cup Series | |||
| File:Example logo.jpg | |||
| 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
| Type = NAS
| Details ref =
| Year = 2008
| 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]]
| First_Team = [[Penske Racing]]
| Network = [[Fox Broadcasting Company|Fox]]
| Announcers = [[Mike Joy]], [[Darrell Waltrip]] and [[Larry McReynolds]]
| Ratings =
}}
See also
- Category:Pages using infobox Daytona 500 with unknown parameters (hidden tracking/maintenance category)