Difference between revisions of "Template:Infobox F1 constructor"

From blackwiki
Jump to navigation Jump to search
imported>DH85868993
("World Championship Career" --> "Formula One World Championship career" as per WP:F1 discussion page)
imported>Carfan568
(Added clarification because constructor includes chassis and engine (for example see 1963 Formula One season where there is Lotus-Climax, Lotus-BRM, Lotus-Ford and Lotus-Borgward).)
 
(20 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{| class="toccolours" style="float:right; margin-left:1em; width:25em; font-size:90%; text-align:left;"
+
{{Infobox
|+ style="font-size: larger; margin: inherit;" | '''{{{Short_name}}}''' ''as a Formula One constructor''
+
| bodyclass = vcard
|- style="vertical-align: top;"
+
 
| colspan="2" style="text-align:center;"| {{ #if: {{{Logo|}}} |{{{Logo}}} |}}
+
| title = <includeonly>{{if empty|{{{name|}}}|{{{Short_name|}}}|{{PAGENAMEBASE}}}} ''as a Formula One chassis constructor''</includeonly>
|- style="vertical-align: top;"
+
 
! {{ #if: {{{Official_name|}}} | Official name/s |}}
+
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|{{{Logo|}}}}}}|sizedefault=frameless}}
| {{ #if: {{{Official_name|}}} |{{{Official_name}}} |}}
+
 
|- style="vertical-align: top;"
+
| headerstyle = background-color: gainsboro;
! {{ #if: {{{Base|}}} | Base |}}
+
 
| {{ #if: {{{Base|}}} |{{{Base}}} |}}
+
| label1  = Official {{nowrap|name(s)}}
|- style="vertical-align: top;"
+
| data1    = {{{official_name|{{{Official_name|}}}}}}
! {{ #if: {{{Founder/s|}}} | Founder/s |}}
+
| class1  = fn org
| {{ #if: {{{Founder/s|}}} |{{{Founder/s}}} |}}
+
| label2  = Base
|- style="vertical-align: top;"
+
| data2    = {{{base|{{{Base|}}}}}}
! {{ #if: {{{Staff|}}} | Notable staff |}}
+
| class2  = label
| {{ #if: {{{Staff|}}} |{{{Staff}}} |}}
+
| label3  = {{nowrap|Founder(s)}}
|-
+
| data3    = {{{founders|{{{Founders|{{{Founder/s|}}}}}}}}}
|colspan="2" style="text-align:center;" | '''[[Formula One]] World Championship Career'''
+
| class3  = agent
|- style="vertical-align: top;"
+
| label4  = Notable staff
! {{ #if: {{{Engines|}}} | Engines|}}
+
| data4    = {{{staff|{{{Staff|}}}}}}
| {{ #if: {{{Engines|}}} |{{{Engines}}} |}}
+
| class4  = agent
|- style="vertical-align: top;"
+
 
! Entrants
+
| header10 = {{#if:{{{engines|{{{Engines|}}}}}}{{{entrants|{{{Entrants|}}}}}}{{{debut|{{{Debut|}}}}}}{{{final_race|{{{Final_race|}}}}}}{{{races|{{{Races|}}}}}}{{{wins|{{{Wins|}}}}}}{{{cons_champ|{{{Cons_champ|}}}}}}{{{drivers_champ|{{{Drivers_champ|}}}}}}{{{poles|{{{Poles|}}}}}}{{{fastest_laps|{{{Fastest_laps|}}}}}}|[[Formula One]] World Championship career}}
| {{{Entrants}}}
+
 
|- style="vertical-align: top;"
+
| label11  = Engines
! Debut
+
| data11  = {{{engines|{{{Engines|}}}}}}
| {{{Debut}}}
+
| label12  = Entrants
|- style="vertical-align: top;"
+
| data12  = {{{entrants|{{{Entrants|}}}}}}
! Final race
+
| label13  = First entry
| {{{Final_race}}}
+
| data13  = {{{debut|{{{Debut|}}}}}}
|- style="vertical-align: top;"
+
| label14  = Last entry
! Races competed
+
| data14  = {{{final_race|{{{Final_race|}}}}}}
| {{{Races}}}
+
| label15  = Races entered
|- style="vertical-align: top;"
+
| data15  = {{{races|{{{Races|}}}}}}
! Race victories
+
| label16  = Race victories
| {{{Wins}}}
+
| data16  = {{{wins|{{{Wins|}}}}}}
|- style="vertical-align: top;"
+
| label17  = [[List of Formula One World Constructors' Champions|Constructors' Championships]]
! {{ #if: {{{Cons_champ|}}} | [[List of Formula One World Constructors' Champions|Constructors'<br> Championships]] |}}
+
| data17  = {{{cons_champ|{{{Cons_champ|}}}}}}
| {{ #if: {{{Cons_champ|}}} |{{{Cons_champ}}} |}}
+
| label18  = [[List of Formula One World Drivers' Champions|Drivers'<br> Championships]]
|- style="vertical-align: top;"
+
| data18  = {{{drivers_champ|{{{Drivers_champ|}}}}}}
! {{ #if: {{{Drivers_champ|}}} | [[List of Formula One World Drivers' Champions|Drivers'<br> Championships]] |}}
+
| label19  = Points
| {{ #if: {{{Drivers_champ|}}} |{{{Drivers_champ}}} |}}
+
| data19  = {{{points|{{{Points|}}}}}}
|- style="vertical-align: top;"
+
| label20  = [[Pole position]]s
! Pole positions
+
| data20  = {{{poles|{{{Poles|}}}}}}
| {{{Poles}}}
+
| label21  = [[Fastest lap]]s
|- style="vertical-align: top;"
+
| data21  = {{{fastest_laps|{{{Fastest_laps|}}}}}}
! Fastest laps
+
}}<noinclude>
| {{{Fastest_laps}}}
+
{{documentation}}<!-- category links go on /doc -->
|}
+
</noinclude>
<noinclude>Used:
 
*in addition to [[template:F1 team]] or [[template:Former F1 team]] for the case where the statistics for an entity ''as a constructor'' are not the same as the statistics for that entity ''as a team'' - see [[Tyrrell Racing]] as an example.
 
*as a primary infobox for constructors which never ran a works team, such as [[Alta Car and Engineering Company]]</noinclude>
 

Latest revision as of 15:48, 2 December 2020

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

This infobox is used:

Usage

Script error: No such module "If empty". as a Formula One chassis constructor
[[File:{{{logo}}}|frameless]]
Official name(s){{{official_name}}}
Base{{{base}}}
Founder(s){{{founders}}}
Notable staff{{{staff}}}
Formula One World Championship career
Engines{{{engines}}}
Entrants{{{entrants}}}
First entry{{{debut}}}
Last entry{{{final_race}}}
Races entered{{{races}}}
Race victories{{{wins}}}
Constructors' Championships{{{cons_champ}}}
Drivers'
Championships
{{{drivers_champ}}}
Points{{{points}}}
Pole positions{{{poles}}}
Fastest laps{{{fastest_laps}}}
[[Category:Infobox templates|Template:Remove first word]]
{{Infobox F1 constructor
| name          =
| logo          =
| official_name =
| base          =
| founders      =
| staff         =
| engines       =
| entrants      =
| debut         = <!-- first race *entered* -->
| final_race    = <!-- last race *entered* -->
| races         = <!-- number of races *entered* -->
| wins          =
| cons_champ    =
| drivers_champ =
| points        =
| poles         =
| fastest_laps  =
}}

See also