ಟೆಂಪ್ಲೇಟು:Infobox NASCAR driver
Usage
ಬದಲಾಯಿಸಿBlank Template
ಬದಲಾಯಿಸಿ{{Infobox NASCAR driver | name = | image = | caption = | birth_date = <!-- {{Birth date and age|YYYY|MM|DD}} --> | birth_place = | death_date = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} (death date then birth date) --> | death_place = | death_cause = | height = | weight = | achievements = | awards = | Total_Cup_Races = <!-- Strictly Stock Series, Grand National Series, Winston Cup Series, Nextel Cup Series, Sprint Cup Series--> | Years_In_Cup = | Cup_Car_Team = | Prev_Cup_Pos = | Prev_Cup_Year = | Best_Cup_Pos = | First_Cup_Race = | Last_Cup_Race = | First_Cup_Win = | Last_Cup_Win = | Cup_Wins = | Cup_Top_Tens = | Cup_Poles = | Total_Busch_Races = <-- Budweiser Late Model Sportsman Series, Busch Series Grand National Division, Busch Series, Nationwide Series --> | Years_In_Busch = | Busch_Car_Team = | Prev_Busch_Pos = | Prev_Busch_Year = | Best_Busch_Pos = | First_Busch_Race = | Last_Busch_Race = | First_Busch_Win = | Last_Busch_Win = | Busch_Wins = | Busch_Top_Tens = | Busch_Poles = | Total_Truck_Races = <!-- SuperTruck Series by Craftsman, Craftsman Truck Series, Camping World Truck Series --> | Years_In_Truck = | Truck_Car_Team = | Prev_Truck_Pos = | Prev_Truck_Year = | Best_Truck_Pos = | First_Truck_Race = | Last_Truck_Race = | First_Truck_Win = | Last_Truck_Win = | Truck_Wins = | Truck_Top_Tens = | Truck_Poles = | Total_Corona_Races = <!-- Desafío Corona, NASCAR Mexico Corona Series, NASCAR Corona Series, NASCAR Toyota Series --> | Years_In_Corona = | Corona_Car_Team = | Prev_Corona_Pos = | Prev_Corona_Year = | Best_Corona_Pos = | First_Corona_Race = | Last_Corona_Race = | First_Corona_Win = | Last_Corona_Win = | Corona_Wins = | Corona_Top_Tens = | Corona_Poles = | Total_Canada_Races = <!-- CASCAR Super Series, NASCAR Canadian Tire Series --> | Years_In_Canada = | Canada_Car_Team = | Prev_Canada_Pos = | Prev_Canada_Year = | Best_Canada_Pos = | First_Canada_Race = | Last_Canada_Race = | First_Canada_Win = | Last_Canada_Win = | Canada_Wins = | Canada_Top_Tens = | Canada_Poles = | Total_GNEast_Races = <!-- NASCAR Grand National East Series (1972-1973) --> | Years_In_GNEast = | Best_GNEast_Pos = | First_GNEast_Race = | Last_GNEast_Race = | First_GNEast_Win = | Last_GNEast_Win = | GNEast_Wins = | GNEast_Top_Tens = | GNEast_Poles = | updated = }}
Syntax
ಬದಲಾಯಿಸಿ- Example: Richard Petty (former driver)
{{Infobox NASCAR driver | image = Petty, Kyle (Whitehouse) crop.jpg | name = Richard Lee Petty | birth_date = {{Birth date and age|1937|7|2}} | birth_place = [[Randleman, North Carolina|Level Cross, North Carolina]] | Best_Cup_Pos = 1st - 1964, 1967, 1971 (Grand National), 1972, 1974, 1975, 1979 (Winston Cup) | Cup_Wins = 200 | Cup_Top_Tens = 712 | Cup_Poles = 126 | First_Cup_Race = 1958 Jim Mideon 500 ([[Canadian Exposition Stadium]]) | First_Cup_Win = 1960 untitled race ([[Southern States Fairgrounds]]) | Last_Cup_Win = 1984 [[Firecracker 400]] ([[Daytona International Speedway|Daytona]]) | Last_Cup_Race = 1992 [[Hooters 500]] ([[Atlanta Motor Speedway|Atlanta]]) | Championships= 1979 [[NASCAR Championship|Winston Cup Champion]] 1975 [[NASCAR Championship|Winston Cup Champion]] 1974 [[NASCAR Championship|Winston Cup Champion]] 1972 [[NASCAR Championship|Winston Cup Champion]] 1971 [[NASCAR Championship|Grand National Champion]] 1967 [[NASCAR Championship|Grand National Champion]] 1964 [[NASCAR Championship|Grand National Champion]] 1959 [[NASCAR Rookie of the Year|Rookie of the Year]] Awards =Is tied with [[Dale Earnhardt]] with 7 cup championship. Named one of [[NASCAR's 50 Greatest Drivers]] (1998) Inducted in the [[International Motorsports Hall of Fame]] (1997) Inducted in the [[Motorsports Hall of Fame of America]] (1989 - inaugural inductee) | Years_In_Cup = 35 | Total_Cup_Races = 1,184 }}
Parameters
ಬದಲಾಯಿಸಿThis template has two types of variables to be called, those having to do with statistics, and those not having to do with statistics. All attributes are optional.
Name[೧] | |||||
Born[೨] | |||||
Hometown[೩] | |||||
Died[೪] | |||||
Cause of Death[೫] | |||||
Achievements[೬] | |||||
Awards[೭] | |||||
Image[೮] | |||||
First_Cup_Race | First_Busch_Race | First_Truck_Race | First_Corona_Race | First Canada Race | First_GNEast_Race[೯][೧೦] |
Cup_Car_Team | Busch_Car_Team | Truck_Truck_Team | Corona_Car_Team | Canada_Car_Team[೧೧] | |
Previous_Year[೧೨] | |||||
Prev_Cup_Pos | Prev_Busch_Pos | Prev_Truck_Pos | Prev_Corona_Pos | Prev_Canada_Pos[೧೩] | |
Best_Cup_Pos | Best_Busch_Pos | Best_Truck_Pos | Best_Corona_Pos | Best_Canada_Pos | Best_GNEast_Pos[೧೪] |
First_Cup_Win | First_Busch_Win | First_Truck_Win | First_Corona_Win | First_Canada_Win | First_GNEast_Win[೧೫] |
Last_Cup_Win | Last_Busch_Win | Last_Truck_Win | Last_Corona_Win | Last_Canada_Win | Last_GNEast_Win[೧೫] |
Updated_On[೧೬] | |||||
Cup_Wins | Busch_Wins | Truck_Wins | Corona_Wins | Canada_Wins | GNEast_Wins[೧೭] |
Cup_Top_Tens | Busch_Top_Tens | Truck_Top_Tens | Corona_Top_Tens | Canada_Top_Tens | GNEast_Top_Tens[೧೭] |
Cup_Poles | Busch_Poles | Truck_Poles | Corona_Poles | Canada_Poles | GNEast_Poles[೧೭] |
Use the following only if retired | |||||
---|---|---|---|---|---|
Last_Cup_Race | Last_Busch_Race | Last_Truck_Race | Last_Corona_Race | Last_Canada_Race | Last_GNEast_Race[೧೫] |
Total_Cup_Races | Total_Busch_Races | Total_Truck_Races | Total_Corona_Races | Total_Canada_Races | Total_GNEast_Races[೧೮] |
Years_In_Cup | Years_In_Busch | Years_In_Truck | Years_In_Corona | Years_In_Canada | Years_In_GNEast[೧೯] |
Microformat
ಬದಲಾಯಿಸಿThe HTML markup produced by this template includes an hCard microformat, which makes the person's details parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book or database. For more information about the use of microformats on Wikipedia, please see the microformat project.
Sub-templates
ಬದಲಾಯಿಸಿDate-of-birth ("bday") information will only be included in the microformat if {{Birth date}}
, or {{Birth date and age}}
are used in the infobox. (Do not use these if the date is before 1583). Be cautious about using these if the person is still living, per WP:DOB.
To include a URL, use {{URL}}
.
Please do not remove instances of these sub-templates.
Classes
ಬದಲಾಯಿಸಿhCard uses HTML classes including:
- adr
- agent
- bday
- birthplace
- category
- country-name
- deathdate
- deathplace
- extended-address
- family-name
- fn (required)
- given-name
- honorific-prefix
- honorific-suffix
- label
- locality
- n
- nickname
- note
- org
- role
- url
- vcard
Please do not rename or remove these classes nor collapse nested elements which use them.
Notes
ಬದಲಾಯಿಸಿ- ↑ Should be full name (when known) and NOT wikilinked.
- ↑ a.k.a. Date of birth. Use
{{Birth date}}
or{{Birth date and age}}
- ↑ a.k.a. Place of birth, should be wikilinked.
- ↑ a.k.a. Date of death. Use
{{Death date}}
or{{Death date and age}}
- ↑ If undefined, displays as "Unknown".
- ↑ Any notable achievements. e.g. Daytona 500 win, All-Star win, Championship, etc..
- ↑ Any notable awards. The definition of notable in this context is not clear, however, for now, if you think it might be notable, include it.
- ↑ Still under discussion, might not be included in template
- ↑ Required for any series that the driver has started one or more race. If not present NONE of the other stats will show.
- ↑ Formatting: Year Race (Track) Year linked to year in NASCAR page, name of race linked to page of that race. Wikilinked name of race. Track is wikilink to track, piped text should be nickname/short name.
- ↑ Required for any current driver. Formatting Car #, wikilinked team.
- ↑ Required for any driver that raced last year in any series.
- ↑ Required for any driver that raced last year for each series. If not present, the entire Previous Year line will not show for that series section.
- ↑ For any driver that was active in that series. Do NOT count this year. (if this year is the only year that the driver has participated, e.g., rookie, do not use this field
- ↑ ೧೫.೦ ೧೫.೧ ೧೫.೨ Same formatting as First Race. If undefined, will not show.
- ↑ Required for any current driver. This field MUST be updated each time the stats are. Once driver retires, and this field is irrellivant, remove field
- ↑ ೧೭.೦ ೧೭.೧ ೧೭.೨ If undefined, shows as "0"
- ↑ Another term for this could be total starts. If the driver took the green flag, it counts.
- ↑ One race in a year counts for that year. e.g. 10 races in 10 years is possible, especially for road ringers