Difference between revisions of "Template:Infobox F1 race"
Jump to navigation
Jump to search
[[Category:Infobox templates|Template:Remove first word]]
imported>Obersachsebot m (robot Modifying: es:Plantilla:Ficha de carrera de Fórmula 1) |
imported>Jonesey95 (Fix too small font per MOS:FONTSIZE.) |
||
| (41 intermediate revisions by 22 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {| | + | {{Infobox |
| − | | | + | | bodystyle = width:25em; font-size:85%; text-align:left |
| − | | | + | | title = {{#if:{{{flag|{{{Flag|}}}}}}|{{flagicon image|{{{flag|{{{Flag}}}}}} }}}} {{{name|{{{Name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}}} |
| − | | | + | | subheader = {{{circuit|{{{Circuit|}}}}}} |
| − | | | + | |
| − | {{#if:{{{ | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{Circuit_image|}}}}}}|size={{{image_size|{{{Image_size|}}}}}}|sizedefault=frameless}} |
| − | {{ | + | |
| + | | headerstyle = background-color:#99ccff | ||
| + | |||
| + | | header1 = {{#if:{{{laps|{{{Laps|}}}}}}{{{circuit_length_km|{{{Circuit_length_km|}}}}}}{{{circuit_length_mi|{{{Circuit_length_mi|}}}}}}{{{race_length_km|{{{Race_length_km|}}}}}}{{{race_length_mi|{{{Race_length_mi|}}}}}}{{{times_held|{{{Times_held|}}}}}}{{{first_held|{{{First_held|}}}}}}{{{last_held|{{{Last_held|}}}}}}{{{most_wins_driver|{{{Most_wins_driver|}}}}}}{{{most_wins_constructor|{{{Most_wins_constructor|}}}}}}|Race information}} | ||
| + | |||
| + | | label2 = Number of times held | ||
| + | | data2 = {{{times_held|{{{Times_held|}}}}}} | ||
| + | |||
| + | | label3 = First held | ||
| + | | data3 = {{#if:{{{first_held|{{{First_held|}}}}}}|{{#ifexist:{{{first_held|{{{First_held}}}}}} {{{first_race|{{{First_race|{{PAGENAME}}}}}}}}|[[{{{first_held|{{{First_held}}}}}} {{{first_race|{{{First_race|{{PAGENAME}}}}}}}}|{{{first_held|{{{First_held}}}}}}]]|{{{first_held|{{{First_held}}}}}}}}}} | ||
| + | |||
| + | | label4 = Last held | ||
| + | | data4 = {{#if:{{{last_held|{{{Last_held|}}}}}} |{{#ifexist:{{{last_held|{{{Last_held}}}}}} {{{last_race|{{{Last_race|{{PAGENAME}}}}}}}}|[[{{{last_held|{{{Last_held}}}}}} {{{last_race|{{{Last_race|{{PAGENAME}}}}}}}}|{{{last_held|{{{Last_held}}}}}}]]|{{{last_held|{{{Last_held}}}}}}}}}} | ||
| + | |||
| + | | label5 = {{nowrap|Most wins (drivers)}} | ||
| + | | data5 = {{#if:{{{most_wins_driver|{{{Most_wins_driver|}}}}}} |{{nowrap|{{{most_wins_driver|{{{Most_wins_driver|}}}}}}}} }} | ||
| + | |||
| + | | label6 = {{nowrap|Most wins (constructors)}} | ||
| + | | data6 = {{#if:{{{most_wins_constructor|{{{Most_wins_constructor|}}}}}} |{{nowrap|{{{most_wins_constructor|{{{Most_wins_constructor|}}}}}}}} }} | ||
| + | |||
| + | | header7 = {{{Layout|{{{layout|}}}}}} | ||
| + | | label8 = Surface | ||
| + | | data8 = {{{Surface|{{{surface|}}}}}} | ||
| + | | label9 = Circuit length | ||
| + | | data9 = {{#if:{{{circuit_length_km|{{{Circuit_length_km|}}}}}} | ||
| + | | {{{circuit_length_km|{{{Circuit_length_km}}}}}}{{nbsp}}km {{#if:{{{circuit_length_mi|{{{Circuit_length_mi|}}}}}}|({{{circuit_length_mi|{{{Circuit_length_mi}}}}}}{{nbsp}}mi)}} | ||
| + | | {{#if:{{{circuit_length_mi|{{{Circuit_length_mi|}}}}}}|{{{circuit_length_mi|{{{Circuit_length_mi}}}}}}{{nbsp}}mi}} | ||
| + | }} | ||
| + | |||
| + | | label10 = Race length | ||
| + | | data10 = {{#if:{{{race_length_km|{{{Race_length_km|}}}}}} | ||
| + | | {{{race_length_km|{{{Race_length_km}}}}}}{{nbsp}}km {{#if:{{{race_length_mi|{{{Race_length_mi|}}}}}} |({{{race_length_mi|{{{Race_length_mi}}}}}}{{nbsp}}mi)}} | ||
| + | | {{#if:{{{race_length_mi|{{{Race_length_mi|}}}}}} | {{{race_length_mi|{{{Race_length_mi}}}}}}{{nbsp}}mi }} | ||
| + | }} | ||
| + | | label11 = Laps | ||
| + | | data11 = {{{laps|{{{Laps|}}}}}} | ||
| + | | header12 = {{{Circuit2|{{{circuit2|}}}}}} | ||
| + | | label13 = Surface | ||
| + | | data13 = {{{Surface2|{{{surface2|}}}}}} | ||
| + | | label14 = Length | ||
| + | | data14 = | ||
| + | {{#if:{{{length2_km|{{{Length_km2|}}}}}} | ||
| + | |{{#if:{{{length2_mi|{{{Length_mi2|}}}}}} | ||
| + | |{{#if:{{{miles_first|{{{Miles_first|}}}}}} | ||
| + | |{{{length2_mi|{{{Length_mi2}}}}}}{{nbsp}}mi ({{{length2_km|{{{Length_km2}}}}}}{{nbsp}}km) | ||
| + | |{{{length2_km|{{{Length_km2}}}}}}{{nbsp}}km ({{{length2_mi|{{{Length_mi2}}}}}}{{nbsp}}mi) | ||
| + | }} | ||
| + | |{{{length2_km|{{{Length_km2}}}}}}{{nbsp}}km | ||
| + | }} | ||
| + | |{{#if:{{{length2_mi|{{{Length_mi2|}}}}}}|{{{length2_mi|{{{Length_mi2}}}}}}{{nbsp}}mi}} | ||
}} | }} | ||
| − | | | + | | label15 = Turns |
| − | | | + | | data15 = {{{Turns2|{{{turns2|}}}}}} |
| − | | | + | | label16 = Banking |
| − | {{#if:{{{ | + | | data16 = {{{Banking2|{{{banking2|}}}}}} |
| − | + | | label17 = Lap record | |
| − | {{ | + | | data17 = {{{Record_time2|{{{record_time2|}}}}}} {{#if:{{{record_driver2|{{{Record_driver2|}}}}}}|({{{Record_driver2|{{{record_driver2}}}}}}, {{{Record_team2|{{{record_team2}}}}}}, {{{Record_year2|{{{record_year2}}}}}}{{#if:{{{Record_class2|{{{record_class2|}}}}}}|, {{{Record_class2|{{{record_class2}}}}}} }})}} |
| + | |||
| + | | header18 = {{{Circuit3|{{{circuit3|}}}}}} | ||
| + | | label19 = Surface | ||
| + | | data19 = {{{Surface3|{{{surface3|}}}}}} | ||
| + | | label20 = Length | ||
| + | | data20 = | ||
| + | {{#if:{{{length3_km|{{{Length_km3|}}}}}} | ||
| + | |{{#if:{{{length3_mi|{{{Length_mi3|}}}}}} | ||
| + | |{{#if:{{{miles_first|{{{Miles_first|}}}}}} | ||
| + | |{{{length3_mi|{{{Length_mi3}}}}}}{{nbsp}}mi ({{{length3_km|{{{Length_km3}}}}}}{{nbsp}}km) | ||
| + | |{{{length3_km|{{{Length_km3}}}}}}{{nbsp}}km ({{{length3_mi|{{{Length_mi3}}}}}}{{nbsp}}mi) | ||
| + | }} | ||
| + | |{{{length3_km|{{{Length_km3}}}}}}{{nbsp}}km | ||
| + | }} | ||
| + | |{{#if:{{{length3_mi|{{{Length_mi3|}}}}}}|{{{length3_mi|{{{Length_mi3}}}}}}{{nbsp}}mi}} | ||
}} | }} | ||
| − | | | + | | label21 = Turns |
| − | + | | data21 = {{{Turns3|{{{turns3|}}}}}} | |
| − | | {{{ | + | | label22 = Banking |
| − | | | + | | data22 = {{{Banking3|{{{banking3|}}}}}} |
| − | + | | label23 = Lap record | |
| − | | {{{ | + | | data23 = {{{Record_time3|{{{record_time3|}}}}}} {{#if:{{{Record_driver3|{{{record_driver3|}}}}}}|({{{Record_driver3|{{{record_driver3}}}}}}, {{{Record_team3|{{{record_team3}}}}}}, {{{Record_year3|{{{record_year3}}}}}}{{#if:{{{Record_class3|{{{record_class3|}}}}}}|, {{{Record_class3|{{{record_class3}}}}}} }})}} |
| − | | | + | |
| − | {{#if:{{{ | + | | header24 = {{{Circuit4|{{{circuit4|}}}}}} |
| − | + | | label25 = Surface | |
| − | {{ | + | | data25 = {{{Surface4|{{{surface4|}}}}}} |
| + | | label26 = Length | ||
| + | | data26 = | ||
| + | {{#if:{{{length4_km|{{{Length_km4|}}}}}} | ||
| + | |{{#if:{{{length4_mi|{{{Length_mi4|}}}}}} | ||
| + | |{{#if:{{{miles_first|{{{Miles_first|}}}}}} | ||
| + | |{{{length4_mi|{{{Length_mi4}}}}}}{{nbsp}}mi ({{{length4_km|{{{Length_km4}}}}}}{{nbsp}}km) | ||
| + | |{{{length4_km|{{{Length_km4}}}}}}{{nbsp}}km ({{{length4_mi|{{{Length_mi4}}}}}}{{nbsp}}mi) | ||
| + | }} | ||
| + | |{{{length4_km|{{{Length_km4}}}}}}{{nbsp}}km | ||
| + | }} | ||
| + | |{{#if:{{{length4_mi|{{{Length_mi4|}}}}}}|{{{length4_mi|{{{Length_mi4}}}}}}{{nbsp}}mi}} | ||
}} | }} | ||
| − | | | + | | label27 = Turns |
| − | {{#if:{{{ | + | | data27 = {{{Turns4|{{{turns4|}}}}}} |
| − | + | | label28 = Banking | |
| − | {{ | + | | data28 = {{{Banking4|{{{banking4|}}}}}} |
| + | | label29 = Lap record | ||
| + | | data29 = {{{Record_time4|{{{record_time4|}}}}}} {{#if:{{{Record_driver4|{{{record_driver4|}}}}}}|({{{Record_driver4|{{{record_driver4}}}}}}, {{{Record_team4|{{{record_team4}}}}}}, {{{Record_year4|{{{record_year4}}}}}}{{#if:{{{Record_class4|{{{record_class4|}}}}}}|, {{{Record_class4|{{{record_class4}}}}}} }})}} | ||
| + | |||
| + | | header30 = {{{Circuit5|{{{circuit5|}}}}}} | ||
| + | | label31 = Surface | ||
| + | | data31 = {{{Surface5|{{{surface5|}}}}}} | ||
| + | | label32 = Length | ||
| + | | data32 = | ||
| + | {{#if:{{{length5_km|{{{Length_km5|}}}}}} | ||
| + | |{{#if:{{{length5_mi|{{{Length_mi5|}}}}}} | ||
| + | |{{#if:{{{miles_first|{{{Miles_first|}}}}}} | ||
| + | |{{{length5_mi|{{{Length_mi5}}}}}}{{nbsp}}mi ({{{length5_km|{{{Length_km5}}}}}}{{nbsp}}km) | ||
| + | |{{{length5_km|{{{Length_km5}}}}}}{{nbsp}}km ({{{length5_mi|{{{Length_mi5}}}}}}{{nbsp}}mi) | ||
| + | }} | ||
| + | |{{{length5_km|{{{Length_km5}}}}}}{{nbsp}}km | ||
| + | }} | ||
| + | |{{#if:{{{length5_mi|{{{Length_mi5|}}}}}}|{{{length5_mi|{{{Length_mi5}}}}}}{{nbsp}}mi}} | ||
}} | }} | ||
| − | | | + | | label33 = Turns |
| − | {{#if:{{{ | + | | data33 = {{{Turns5|{{{turns5|}}}}}} |
| − | + | | label34 = Banking | |
| − | {{ | + | | data34 = {{{Banking5|{{{banking5|}}}}}} |
| + | | label35 = Lap record | ||
| + | | data35 = {{{Record_time5|{{{record_time5|}}}}}} {{#if:{{{Record_driver5|{{{record_driver5|}}}}}}|({{{Record_driver5|{{{record_driver5}}}}}}, {{{Record_team5|{{{record_team5}}}}}}, {{{Record_year5|{{{record_year5}}}}}}{{#if:{{{Record_class5|{{{record_class5|}}}}}}|, {{{Record_class5|{{{record_class5}}}}}} }})}} | ||
| + | |||
| + | | header36 = {{{Circuit6|{{{circuit6|}}}}}} | ||
| + | | label37 = Surface | ||
| + | | data37 = {{{Surface6|{{{surface6|}}}}}} | ||
| + | | label38 = Length | ||
| + | | data38 = | ||
| + | {{#if:{{{length6_km|{{{Length_km6|}}}}}} | ||
| + | |{{#if:{{{length6_mi|{{{Length_mi6|}}}}}} | ||
| + | |{{#if:{{{miles_first|{{{Miles_first|}}}}}} | ||
| + | |{{{length6_mi|{{{Length_mi6}}}}}}{{nbsp}}mi ({{{length6_km|{{{Length_km6}}}}}}{{nbsp}}km) | ||
| + | |{{{length6_km|{{{Length_km6}}}}}}{{nbsp}}km ({{{length6_mi|{{{Length_mi6}}}}}}{{nbsp}}mi) | ||
| + | }} | ||
| + | |{{{length6_km|{{{Length_km6}}}}}}{{nbsp}}km | ||
| + | }} | ||
| + | |{{#if:{{{length6_mi|{{{Length_mi6|}}}}}}|{{{length6_mi|{{{Length_mi6}}}}}}{{nbsp}}mi}} | ||
}} | }} | ||
| − | | | + | | label39 = Turns |
| − | {{#if:{{{ | + | | data39 = {{{Turns6|{{{turns6|}}}}}} |
| − | + | | label40 = Banking | |
| − | {{ | + | | data40 = {{{Banking6|{{{banking6|}}}}}} |
| + | | label41 = Lap record | ||
| + | | data41 = {{{Record_time6|{{{record_time6|}}}}}} {{#if:{{{Record_driver6|{{{record_driver6|}}}}}}|({{{Record_driver6|{{{record_driver6}}}}}}, {{{Record_team6|{{{record_team6}}}}}}, {{{Record_year6|{{{record_year6}}}}}}{{#if:{{{Record_class6|{{{record_class6|}}}}}}|, {{{Record_class6|{{{record_class6}}}}}} }})}} | ||
| + | |||
| + | | header42 = {{{Circuit7|{{{circuit7|}}}}}} | ||
| + | | label43 = Surface | ||
| + | | data43 = {{{Surface7|{{{surface7|}}}}}} | ||
| + | | label44 = Length | ||
| + | | data44 = | ||
| + | {{#if:{{{length7_km|{{{Length_km7|}}}}}} | ||
| + | |{{#if:{{{length7_mi|{{{Length_mi7|}}}}}} | ||
| + | |{{#if:{{{miles_first|{{{Miles_first|}}}}}} | ||
| + | |{{{length7_mi|{{{Length_mi7}}}}}}{{nbsp}}mi ({{{length7_km|{{{Length_km7}}}}}}{{nbsp}}km) | ||
| + | |{{{length7_km|{{{Length_km7}}}}}}{{nbsp}}km ({{{length7_mi|{{{Length_mi7}}}}}}{{nbsp}}mi) | ||
| + | }} | ||
| + | |{{{length7_km|{{{Length_km7}}}}}}{{nbsp}}km | ||
| + | }} | ||
| + | |{{#if:{{{length7_mi|{{{Length_mi7|}}}}}}|{{{length7_mi|{{{Length_mi7}}}}}}{{nbsp}}mi}} | ||
}} | }} | ||
| − | | | + | | label45 = Turns |
| − | {{#if:{{{ | + | | data45 = {{{Turns7|{{{turns7|}}}}}} |
| − | + | | label46 = Banking | |
| − | {{ | + | | data46 = {{{Banking7|{{{banking7|}}}}}} |
| + | | label47 = Lap record | ||
| + | | data47 = {{{Record_time7|{{{record_time7|}}}}}} {{#if:{{{Record_driver7|{{{record_driver7|}}}}}}|({{{Record_driver7|{{{record_driver7}}}}}}, {{{Record_team7|{{{record_team7}}}}}}, {{{Record_year7|{{{record_year7}}}}}}{{#if:{{{Record_class7|{{{record_class7|}}}}}}|, {{{Record_class7|{{{record_class7}}}}}} }})}} | ||
| + | |||
| + | | header48 = {{{Circuit8|{{{circuit8|}}}}}} | ||
| + | | label49 = Surface | ||
| + | | data49 = {{{Surface8|{{{surface8|}}}}}} | ||
| + | | label50 = Length | ||
| + | | data50 = | ||
| + | {{#if:{{{length8_km|{{{Length_km8|}}}}}} | ||
| + | |{{#if:{{{length8_mi|{{{Length_mi8|}}}}}} | ||
| + | |{{#if:{{{miles_first|{{{Miles_first|}}}}}} | ||
| + | |{{{length8_mi|{{{Length_mi8}}}}}}{{nbsp}}mi ({{{length8_km|{{{Length_km8}}}}}}{{nbsp}}km) | ||
| + | |{{{length8_km|{{{Length_km8}}}}}}{{nbsp}}km ({{{length8_mi|{{{Length_mi8}}}}}}{{nbsp}}mi) | ||
| + | }} | ||
| + | |{{{length8_km|{{{Length_km8}}}}}}{{nbsp}}km | ||
| + | }} | ||
| + | |{{#if:{{{length8_mi|{{{Length_mi8|}}}}}}|{{{length8_mi|{{{Length_mi8}}}}}}{{nbsp}}mi}} | ||
}} | }} | ||
| − | | | + | | label51 = Turns |
| − | {{ | + | | data51 = {{{Turns8|{{{turns8|}}}}}} |
| − | {{ | + | | label52 = Banking |
| − | {{ | + | | data52 = {{{Banking8|{{{banking8|}}}}}} |
| − | + | | label53 = Lap record | |
| − | {{ | + | | data53 = {{{Record_time8|{{{record_time8|}}}}}} {{#if:{{{Record_driver8|{{{record_driver8|}}}}}}|({{{Record_driver8|{{{record_driver8}}}}}}, {{{Record_team8|{{{record_team8}}}}}}, {{{Record_year8|{{{record_year8}}}}}}{{#if:{{{Record_class8|{{{record_class8|}}}}}}|, {{{Record_class8|{{{record_class8}}}}}} }})}} |
| − | + | ||
| − | + | | header54 = {{#if:{{{current_year|{{{Current_year|}}}}}} | |
| − | {{ | + | |Last race ({{#ifexist:{{{current_year|{{{Current_year}}}}}} {{{current_race|{{{Current_race|{{PAGENAME}}}}}}}}|[[{{{current_year|{{{Current_year}}}}}} {{{current_race|{{{Current_race|{{PAGENAME}}}}}}}}|{{{current_year|{{{Current_year}}}}}}]]|{{{current_year|{{{Current_year}}}}}}}})<!-- |
| − | + | -->{{Infobox|child=yes | |
| − | + | | headerstyle = padding-bottom:0 | |
| − | {{ | + | | header1 = Pole position |
| − | }} | + | | data2 = {{hlist | {{{pole_driver|{{{Pole_driver|}}}}}} | {{{pole_team|{{{Pole_team|}}}}}} | {{{pole_time|{{{Pole_time|}}}}}} }} |
| − | + | ||
| − | + | | header3 = Podium | |
| − | + | | data4 = <div class="plainlist" style="text-align:left;"> | |
| − | + | * {{#if:{{{winner|{{{Winner|}}}}}} | {{hlist|'''1.''' {{{winner|{{{Winner}}}}}} | {{{winning_team|{{{Winning_team|}}}}}} | {{{winning_time|{{{Winning_time|}}}}}} }}}} | |
| − | + | * {{#if:{{{second|{{{Second|}}}}}} | {{hlist|'''2.''' {{{second|{{{Second}}}}}} | {{{second_team|{{{Second_team|}}}}}} | {{{second_time|{{{Second_time|}}}}}} }}}} | |
| − | + | * {{#if:{{{third|{{{Third|}}}}}} | {{hlist|'''3.''' {{{third|{{{Third}}}}}} | {{{third_team|{{{Third_team|}}}}}} | {{{third_time|{{{Third_time|}}}}}} }}}} | |
| − | + | </div> | |
| − | + | ||
| − | + | | header5 = Fastest lap | |
| − | + | | data6 = {{hlist| {{{fastest_lap_driver|{{{Fastest_lap_driver|}}}}}} | {{{fastest_lap_team|{{{Fastest_lap_team|}}}}}} | {{{fastest_lap|{{{Fastest_lap|}}}}}} }} | |
| − | + | ||
| − | + | }} }} | |
| − | + | ||
| + | }}<noinclude> | ||
| + | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 04:19, 20 February 2020
[[Category:Infobox templates|Template:Remove first word]]
Usage
| {{{circuit}}} | |
| [[File:{{{image}}}|{{{image_size}}}]] | |
| Race information | |
|---|---|
| Number of times held | {{{times_held}}} |
| First held | {{{first_held}}} |
| Last held | {{{last_held}}} |
| Most wins (drivers) | {{{most_wins_driver}}} |
| Most wins (constructors) | {{{most_wins_constructor}}} |
| Circuit length | {{{circuit_length_km}}} km ({{{circuit_length_mi}}} mi) |
| Race length | {{{race_length_km}}} km ({{{race_length_mi}}} mi) |
| Laps | {{{laps}}} |
| Last race ({{{current_year}}}) | |
| Pole position | |
| |
| Podium | |
| |
| Fastest lap | |
| |
| [[Category:Infobox templates|Template:Remove first word]] | |
{{Infobox F1 race
| name =
| flag =
| circuit =
| image = <!-- Circuit image -->
| image_size = <!-- default is 200px -->
| laps =
| circuit_length_km =
| circuit_length_mi =
| race_length_km =
| race_length_mi =
| times_held =
| first_held = <!-- use | first_race = to override linking -->
| last_held = <!-- use | last_race = to override linking -->
| most_wins_driver =
| most_wins_constructor =
<!-- Current season information -->
| current_year = <!-- use | current_race = to override linking -->
| pole_driver =
| pole_team =
| pole_time =
| winner =
| winning_team =
| winning_time =
| second =
| second_team =
| second_time =
| third =
| third_team =
| third_time =
| fastest_lap_driver =
| fastest_lap_team =
| fastest_lap =
}}
See also
| The above documentation is transcluded from Template:Infobox F1 race/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |