Difference between revisions of "Template:Infobox F1 race"
Jump to navigation
Jump to search
[[Category:Infobox templates|Template:Remove first word]]
imported>Jonesey95 (Fix too small font per MOS:FONTSIZE.) |
|||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | |||
{{Infobox | {{Infobox | ||
| bodystyle = width:25em; font-size:85%; text-align:left | | bodystyle = width:25em; font-size:85%; text-align:left | ||
| Line 20: | Line 19: | ||
| 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}}}}}}}}}} | | 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 | + | | label5 = {{nowrap|Most wins (drivers)}} |
| data5 = {{#if:{{{most_wins_driver|{{{Most_wins_driver|}}}}}} |{{nowrap|{{{most_wins_driver|{{{Most_wins_driver|}}}}}}}} }} | | data5 = {{#if:{{{most_wins_driver|{{{Most_wins_driver|}}}}}} |{{nowrap|{{{most_wins_driver|{{{Most_wins_driver|}}}}}}}} }} | ||
| − | | label6 = {{nowrap|Most wins | + | | label6 = {{nowrap|Most wins (constructors)}} |
| data6 = {{#if:{{{most_wins_constructor|{{{Most_wins_constructor|}}}}}} |{{nowrap|{{{most_wins_constructor|{{{Most_wins_constructor|}}}}}}}} }} | | data6 = {{#if:{{{most_wins_constructor|{{{Most_wins_constructor|}}}}}} |{{nowrap|{{{most_wins_constructor|{{{Most_wins_constructor|}}}}}}}} }} | ||
| Line 31: | Line 30: | ||
| label9 = Circuit length | | label9 = Circuit length | ||
| data9 = {{#if:{{{circuit_length_km|{{{Circuit_length_km|}}}}}} | | data9 = {{#if:{{{circuit_length_km|{{{Circuit_length_km|}}}}}} | ||
| − | | {{{circuit_length_km|{{{Circuit_length_km}}}}}} km {{#if:{{{circuit_length_mi|{{{Circuit_length_mi|}}}}}}|({{{circuit_length_mi|{{{Circuit_length_mi}}}}}} mi)}} | + | | {{{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}}}}}} mi}} | + | | {{#if:{{{circuit_length_mi|{{{Circuit_length_mi|}}}}}}|{{{circuit_length_mi|{{{Circuit_length_mi}}}}}}{{nbsp}}mi}} |
}} | }} | ||
| label10 = Race length | | label10 = Race length | ||
| data10 = {{#if:{{{race_length_km|{{{Race_length_km|}}}}}} | | data10 = {{#if:{{{race_length_km|{{{Race_length_km|}}}}}} | ||
| − | | {{{race_length_km|{{{Race_length_km}}}}}} km {{#if:{{{race_length_mi|{{{Race_length_mi|}}}}}} |({{{race_length_mi|{{{Race_length_mi}}}}}} mi)}} | + | | {{{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}}}}}} mi }} | + | | {{#if:{{{race_length_mi|{{{Race_length_mi|}}}}}} | {{{race_length_mi|{{{Race_length_mi}}}}}}{{nbsp}}mi }} |
}} | }} | ||
| label11 = Laps | | label11 = Laps | ||
| Line 50: | Line 49: | ||
|{{#if:{{{length2_mi|{{{Length_mi2|}}}}}} | |{{#if:{{{length2_mi|{{{Length_mi2|}}}}}} | ||
|{{#if:{{{miles_first|{{{Miles_first|}}}}}} | |{{#if:{{{miles_first|{{{Miles_first|}}}}}} | ||
| − | |{{{length2_mi|{{{Length_mi2}}}}}} mi ({{{length2_km|{{{Length_km2}}}}}} km) | + | |{{{length2_mi|{{{Length_mi2}}}}}}{{nbsp}}mi ({{{length2_km|{{{Length_km2}}}}}}{{nbsp}}km) |
| − | |{{{length2_km|{{{Length_km2}}}}}} km ({{{length2_mi|{{{Length_mi2}}}}}} mi) | + | |{{{length2_km|{{{Length_km2}}}}}}{{nbsp}}km ({{{length2_mi|{{{Length_mi2}}}}}}{{nbsp}}mi) |
}} | }} | ||
| − | |{{{length2_km|{{{Length_km2}}}}}} km | + | |{{{length2_km|{{{Length_km2}}}}}}{{nbsp}}km |
}} | }} | ||
| − | |{{#if:{{{length2_mi|{{{Length_mi2|}}}}}}|{{{length2_mi|{{{Length_mi2}}}}}} mi}} | + | |{{#if:{{{length2_mi|{{{Length_mi2|}}}}}}|{{{length2_mi|{{{Length_mi2}}}}}}{{nbsp}}mi}} |
}} | }} | ||
| label15 = Turns | | label15 = Turns | ||
| Line 72: | Line 71: | ||
|{{#if:{{{length3_mi|{{{Length_mi3|}}}}}} | |{{#if:{{{length3_mi|{{{Length_mi3|}}}}}} | ||
|{{#if:{{{miles_first|{{{Miles_first|}}}}}} | |{{#if:{{{miles_first|{{{Miles_first|}}}}}} | ||
| − | |{{{length3_mi|{{{Length_mi3}}}}}} mi ({{{length3_km|{{{Length_km3}}}}}} km) | + | |{{{length3_mi|{{{Length_mi3}}}}}}{{nbsp}}mi ({{{length3_km|{{{Length_km3}}}}}}{{nbsp}}km) |
| − | |{{{length3_km|{{{Length_km3}}}}}} km ({{{length3_mi|{{{Length_mi3}}}}}} mi) | + | |{{{length3_km|{{{Length_km3}}}}}}{{nbsp}}km ({{{length3_mi|{{{Length_mi3}}}}}}{{nbsp}}mi) |
}} | }} | ||
| − | |{{{length3_km|{{{Length_km3}}}}}} km | + | |{{{length3_km|{{{Length_km3}}}}}}{{nbsp}}km |
}} | }} | ||
| − | |{{#if:{{{length3_mi|{{{Length_mi3|}}}}}}|{{{length3_mi|{{{Length_mi3}}}}}} mi}} | + | |{{#if:{{{length3_mi|{{{Length_mi3|}}}}}}|{{{length3_mi|{{{Length_mi3}}}}}}{{nbsp}}mi}} |
}} | }} | ||
| label21 = Turns | | label21 = Turns | ||
| Line 94: | Line 93: | ||
|{{#if:{{{length4_mi|{{{Length_mi4|}}}}}} | |{{#if:{{{length4_mi|{{{Length_mi4|}}}}}} | ||
|{{#if:{{{miles_first|{{{Miles_first|}}}}}} | |{{#if:{{{miles_first|{{{Miles_first|}}}}}} | ||
| − | |{{{length4_mi|{{{Length_mi4}}}}}} mi ({{{length4_km|{{{Length_km4}}}}}} km) | + | |{{{length4_mi|{{{Length_mi4}}}}}}{{nbsp}}mi ({{{length4_km|{{{Length_km4}}}}}}{{nbsp}}km) |
| − | |{{{length4_km|{{{Length_km4}}}}}} km ({{{length4_mi|{{{Length_mi4}}}}}} mi) | + | |{{{length4_km|{{{Length_km4}}}}}}{{nbsp}}km ({{{length4_mi|{{{Length_mi4}}}}}}{{nbsp}}mi) |
}} | }} | ||
| − | |{{{length4_km|{{{Length_km4}}}}}} km | + | |{{{length4_km|{{{Length_km4}}}}}}{{nbsp}}km |
}} | }} | ||
| − | |{{#if:{{{length4_mi|{{{Length_mi4|}}}}}}|{{{length4_mi|{{{Length_mi4}}}}}} mi}} | + | |{{#if:{{{length4_mi|{{{Length_mi4|}}}}}}|{{{length4_mi|{{{Length_mi4}}}}}}{{nbsp}}mi}} |
}} | }} | ||
| label27 = Turns | | label27 = Turns | ||
| Line 116: | Line 115: | ||
|{{#if:{{{length5_mi|{{{Length_mi5|}}}}}} | |{{#if:{{{length5_mi|{{{Length_mi5|}}}}}} | ||
|{{#if:{{{miles_first|{{{Miles_first|}}}}}} | |{{#if:{{{miles_first|{{{Miles_first|}}}}}} | ||
| − | |{{{length5_mi|{{{Length_mi5}}}}}} mi ({{{length5_km|{{{Length_km5}}}}}} km) | + | |{{{length5_mi|{{{Length_mi5}}}}}}{{nbsp}}mi ({{{length5_km|{{{Length_km5}}}}}}{{nbsp}}km) |
| − | |{{{length5_km|{{{Length_km5}}}}}} km ({{{length5_mi|{{{Length_mi5}}}}}} mi) | + | |{{{length5_km|{{{Length_km5}}}}}}{{nbsp}}km ({{{length5_mi|{{{Length_mi5}}}}}}{{nbsp}}mi) |
}} | }} | ||
| − | |{{{length5_km|{{{Length_km5}}}}}} km | + | |{{{length5_km|{{{Length_km5}}}}}}{{nbsp}}km |
}} | }} | ||
| − | |{{#if:{{{length5_mi|{{{Length_mi5|}}}}}}|{{{length5_mi|{{{Length_mi5}}}}}} mi}} | + | |{{#if:{{{length5_mi|{{{Length_mi5|}}}}}}|{{{length5_mi|{{{Length_mi5}}}}}}{{nbsp}}mi}} |
}} | }} | ||
| label33 = Turns | | label33 = Turns | ||
| Line 138: | Line 137: | ||
|{{#if:{{{length6_mi|{{{Length_mi6|}}}}}} | |{{#if:{{{length6_mi|{{{Length_mi6|}}}}}} | ||
|{{#if:{{{miles_first|{{{Miles_first|}}}}}} | |{{#if:{{{miles_first|{{{Miles_first|}}}}}} | ||
| − | |{{{length6_mi|{{{Length_mi6}}}}}} mi ({{{length6_km|{{{Length_km6}}}}}} km) | + | |{{{length6_mi|{{{Length_mi6}}}}}}{{nbsp}}mi ({{{length6_km|{{{Length_km6}}}}}}{{nbsp}}km) |
| − | |{{{length6_km|{{{Length_km6}}}}}} km ({{{length6_mi|{{{Length_mi6}}}}}} mi) | + | |{{{length6_km|{{{Length_km6}}}}}}{{nbsp}}km ({{{length6_mi|{{{Length_mi6}}}}}}{{nbsp}}mi) |
}} | }} | ||
| − | |{{{length6_km|{{{Length_km6}}}}}} km | + | |{{{length6_km|{{{Length_km6}}}}}}{{nbsp}}km |
}} | }} | ||
| − | |{{#if:{{{length6_mi|{{{Length_mi6|}}}}}}|{{{length6_mi|{{{Length_mi6}}}}}} mi}} | + | |{{#if:{{{length6_mi|{{{Length_mi6|}}}}}}|{{{length6_mi|{{{Length_mi6}}}}}}{{nbsp}}mi}} |
}} | }} | ||
| label39 = Turns | | label39 = Turns | ||
| Line 160: | Line 159: | ||
|{{#if:{{{length7_mi|{{{Length_mi7|}}}}}} | |{{#if:{{{length7_mi|{{{Length_mi7|}}}}}} | ||
|{{#if:{{{miles_first|{{{Miles_first|}}}}}} | |{{#if:{{{miles_first|{{{Miles_first|}}}}}} | ||
| − | |{{{length7_mi|{{{Length_mi7}}}}}} mi ({{{length7_km|{{{Length_km7}}}}}} km) | + | |{{{length7_mi|{{{Length_mi7}}}}}}{{nbsp}}mi ({{{length7_km|{{{Length_km7}}}}}}{{nbsp}}km) |
| − | |{{{length7_km|{{{Length_km7}}}}}} km ({{{length7_mi|{{{Length_mi7}}}}}} mi) | + | |{{{length7_km|{{{Length_km7}}}}}}{{nbsp}}km ({{{length7_mi|{{{Length_mi7}}}}}}{{nbsp}}mi) |
}} | }} | ||
| − | |{{{length7_km|{{{Length_km7}}}}}} km | + | |{{{length7_km|{{{Length_km7}}}}}}{{nbsp}}km |
}} | }} | ||
| − | |{{#if:{{{length7_mi|{{{Length_mi7|}}}}}}|{{{length7_mi|{{{Length_mi7}}}}}} mi}} | + | |{{#if:{{{length7_mi|{{{Length_mi7|}}}}}}|{{{length7_mi|{{{Length_mi7}}}}}}{{nbsp}}mi}} |
}} | }} | ||
| label45 = Turns | | label45 = Turns | ||
| Line 182: | Line 181: | ||
|{{#if:{{{length8_mi|{{{Length_mi8|}}}}}} | |{{#if:{{{length8_mi|{{{Length_mi8|}}}}}} | ||
|{{#if:{{{miles_first|{{{Miles_first|}}}}}} | |{{#if:{{{miles_first|{{{Miles_first|}}}}}} | ||
| − | |{{{length8_mi|{{{Length_mi8}}}}}} mi ({{{length8_km|{{{Length_km8}}}}}} km) | + | |{{{length8_mi|{{{Length_mi8}}}}}}{{nbsp}}mi ({{{length8_km|{{{Length_km8}}}}}}{{nbsp}}km) |
| − | |{{{length8_km|{{{Length_km8}}}}}} km ({{{length8_mi|{{{Length_mi8}}}}}} mi) | + | |{{{length8_km|{{{Length_km8}}}}}}{{nbsp}}km ({{{length8_mi|{{{Length_mi8}}}}}}{{nbsp}}mi) |
}} | }} | ||
| − | |{{{length8_km|{{{Length_km8}}}}}} km | + | |{{{length8_km|{{{Length_km8}}}}}}{{nbsp}}km |
}} | }} | ||
| − | |{{#if:{{{length8_mi|{{{Length_mi8|}}}}}}|{{{length8_mi|{{{Length_mi8}}}}}} mi}} | + | |{{#if:{{{length8_mi|{{{Length_mi8|}}}}}}|{{{length8_mi|{{{Length_mi8}}}}}}{{nbsp}}mi}} |
}} | }} | ||
| label51 = Turns | | label51 = Turns | ||
| Line 217: | Line 216: | ||
}}<noinclude> | }}<noinclude> | ||
{{documentation}} | {{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. |