Difference between revisions of "Template:Infobox F1 constructor"

From blackwiki
Jump to navigation Jump to search
imported>DH85868993
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).)
 
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{| class="infobox toccolours" style="width:22em; text-align:left; font-size:88%; line-height:1.5em;"
+
{{Infobox
|+ '''{{{Short_name}}}''' ''as a Formula One constructor''{{
+
| bodyclass = vcard
#if: {{{Logo|}}} |<tr><td colspan="2" style="text-align:center;">{{{Logo}}}</td></tr>}}{{
+
 
#if: {{{Official_name|}}} |<tr><th>Official name/s</th><td>{{{Official_name}}}</td></tr>}}{{
+
| title = <includeonly>{{if empty|{{{name|}}}|{{{Short_name|}}}|{{PAGENAMEBASE}}}} ''as a Formula One chassis constructor''</includeonly>
#if: {{{Base|}}} |<tr><th>Base</th><td>{{{Base}}}</td></tr>}}{{
+
 
#if: {{{Founder/s|}}} |<tr><th>Founder/s</th><td>{{{Founder/s}}}</td></tr>}}{{
+
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|{{{Logo|}}}}}}|sizedefault=frameless}}
#if: {{{Staff|}}} |<tr><th>Notable staff</th><td>{{{Staff}}}</td></tr>}}
+
 
|-
+
| headerstyle = background-color: gainsboro;
!colspan="2" style="padding-top:0.8em; text-align:center; font-size:108%; background:gainsboro;"| [[Formula One]] World Championship career{{
+
 
#if: {{{Engines|}}} |<tr><th>Engines</th><td>{{{Engines}}}</td></tr>}}
+
| label1  = Official {{nowrap|name(s)}}
|-
+
| data1    = {{{official_name|{{{Official_name|}}}}}}
! Entrants
+
| class1  = fn org
| {{{Entrants}}}
+
| label2  = Base
|-
+
| data2    = {{{base|{{{Base|}}}}}}
! Debut
+
| class2  = label
| {{{Debut}}}
+
| label3  = {{nowrap|Founder(s)}}
|-
+
| data3    = {{{founders|{{{Founders|{{{Founder/s|}}}}}}}}}
! Final race
+
| class3  = agent
| {{{Final_race}}}
+
| label4  = Notable staff
|-
+
| data4    = {{{staff|{{{Staff|}}}}}}
! Races competed
+
| class4  = agent
| {{{Races}}}
+
 
|-
+
| 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}}
! Race victories
+
 
| {{{Wins}}}{{
+
| label11  = Engines
#if: {{{Cons_champ|}}}|<tr><th>[[List of Formula One World Constructors' Champions|Constructors'<br> Championships]]</th><td>{{{Cons_champ}}}</td></tr>}}{{
+
| data11  = {{{engines|{{{Engines|}}}}}}
#if: {{{Drivers_champ|}}} |<tr><th>[[List of Formula One World Drivers' Champions|Drivers'<br> Championships]]</th><td>{{{Drivers_champ}}}</td></tr>}}
+
| label12  = Entrants
|-
+
| data12  = {{{entrants|{{{Entrants|}}}}}}
! [[Pole position]]s
+
| label13  = First entry
| {{{Poles}}}
+
| data13  = {{{debut|{{{Debut|}}}}}}
|-
+
| label14  = Last entry
! [[Fastest lap]]s
+
| data14  = {{{final_race|{{{Final_race|}}}}}}
| {{{Fastest_laps}}}
+
| label15  = Races entered
|}<noinclude>{{doc}}<!-- category and interwiki links go on /doc --></noinclude>
+
| data15  = {{{races|{{{Races|}}}}}}
 +
| label16  = Race victories
 +
| data16  = {{{wins|{{{Wins|}}}}}}
 +
| label17  = [[List of Formula One World Constructors' Champions|Constructors' Championships]]
 +
| data17  = {{{cons_champ|{{{Cons_champ|}}}}}}
 +
| label18  = [[List of Formula One World Drivers' Champions|Drivers'<br> Championships]]
 +
| data18  = {{{drivers_champ|{{{Drivers_champ|}}}}}}
 +
| label19  = Points
 +
| data19  = {{{points|{{{Points|}}}}}}
 +
| label20  = [[Pole position]]s
 +
| data20  = {{{poles|{{{Poles|}}}}}}
 +
| label21  = [[Fastest lap]]s
 +
| data21  = {{{fastest_laps|{{{Fastest_laps|}}}}}}
 +
}}<noinclude>
 +
{{documentation}}<!-- category links go on /doc -->
 +
</noinclude>

Latest revision as of 15:48, 2 December 2020

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

50px 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