Шаблон:Infobox NASCAR driver/doc
Usage
вироишBlank template
вироиш{{Infobox NASCAR driver | name = | image = | caption = | birth_name = <!-- Only if different from name --> | 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, Xfinity 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 = | Total_Conv_Races = | Years_In_Conv = | Best_Conv_Pos = | First_Conv_Race = | Last_Conv_Race = | First_Conv_Win = | Last_Conv_Win = | Conv_Wins = | Conv_Top_Tens = | Conv_Poles = | updated = }}
Example
вироиш- Example: Richard Petty (former driver)
{{Infobox NASCAR driver | name = Richard Petty | image = Petty, Kyle (Whitehouse) crop.jpg | caption = Petty in 2006 | birth_name = Richard Lee Petty | birth_date = {{Birth date and age|1937|7|2}} | birth_place = [[Level Cross, Randolph County, North Carolina|Level Cross]], [[North Carolina]], U.S. | achievements = {{unbulleted list | 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 = {{unbulleted list | 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) }} | Total_Cup_Races = 1,184 | Years_In_Cup = 35 | Best_Cup_Pos = 1st - 1964, 1967, 1971 (Grand National), 1972, 1974, 1975, 1979 (Winston Cup) | First_Cup_Race = 1958 Jim Mideon 500 ([[Canadian Exposition Stadium]]) | Last_Cup_Race = 1992 [[Hooters 500]] ([[Atlanta Motor Speedway|Atlanta]]) | First_Cup_Win = 1960 untitled race ([[Southern States Fairgrounds]]) | Last_Cup_Win = 1984 [[Firecracker 400]] ([[Daytona International Speedway|Daytona]]) | Cup_Wins = 200 | Cup_Top_Tens = 712 | Cup_Poles = 126 }}
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[1] | |||||
Born[2] | |||||
Hometown[3] | |||||
Died[4] | |||||
Cause of Death[5] | |||||
Achievements[6] | |||||
Awards[7] | |||||
Image[8] | |||||
First_Cup_Race | First_Busch_Race | First_Truck_Race | First_Corona_Race | First Canada Race | First_GNEast_Race[9][10] |
Cup_Car_Team | Busch_Car_Team | Truck_Truck_Team | Corona_Car_Team | Canada_Car_Team[11] | |
Previous_Year[12] | |||||
Prev_Cup_Pos | Prev_Busch_Pos | Prev_Truck_Pos | Prev_Corona_Pos | Prev_Canada_Pos[13] | |
Best_Cup_Pos | Best_Busch_Pos | Best_Truck_Pos | Best_Corona_Pos | Best_Canada_Pos | Best_GNEast_Pos[14] |
First_Cup_Win | First_Busch_Win | First_Truck_Win | First_Corona_Win | First_Canada_Win | First_GNEast_Win[15] |
Last_Cup_Win | Last_Busch_Win | Last_Truck_Win | Last_Corona_Win | Last_Canada_Win | Last_GNEast_Win[15] |
Updated_On[16] | |||||
Cup_Wins | Busch_Wins | Truck_Wins | Corona_Wins | Canada_Wins | GNEast_Wins[17] |
Cup_Top_Tens | Busch_Top_Tens | Truck_Top_Tens | Corona_Top_Tens | Canada_Top_Tens | GNEast_Top_Tens[17] |
Cup_Poles | Busch_Poles | Truck_Poles | Corona_Poles | Canada_Poles | GNEast_Poles[17] |
Use the following only if retired | |||||
---|---|---|---|---|---|
Last_Cup_Race | Last_Busch_Race | Last_Truck_Race | Last_Corona_Race | Last_Canada_Race | Last_GNEast_Race[15] |
Total_Cup_Races | Total_Busch_Races | Total_Truck_Races | Total_Corona_Races | Total_Canada_Races | Total_GNEast_Races[18] |
Years_In_Cup | Years_In_Busch | Years_In_Truck | Years_In_Corona | Years_In_Canada | Years_In_GNEast[19] |
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
- ↑ 15.0 15.1 15.2 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
- ↑ 17.0 17.1 17.2 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
Use as a child template
вироишThis infobox may be used to create a genre-specific section within {{Infobox person}} (or similar biographical infobox templates) for cases where a person may be notable in more than one field; a generic example is shown below. For guidance on usage, see Wikipedia:Infobox modules. Also see the Template:Infobox documentation which explains embedding and subboxes.
{{Infobox person
| name =
| image =
| caption =
| birth_date =
| birth_place =
| <!-- etc. -->
| module =
{{Infobox NASCAR driver |child=yes <!-- or embed=yes / subbox=yes -->
| parameter-1 =
| parameter-2 =
| parameter-3 =
| parameter-4 =
| <!-- etc. -->
}} }}
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.