Difference between revisions of "Template:Infobox F1 race"
Jump to navigation
Jump to search
[[Category:Infobox templates|Template:Remove first word]]
imported>Magioladitis m (File: using AWB (9268)) |
imported>Frietjes (use infobox) |
||
| Line 1: | Line 1: | ||
| − | {| | + | {{infobox |
| − | | | + | | bodystyle = width:25em; font-size:85%; text-align:left |
| − | | | + | | title = {{#if:{{{flag|{{{Flag|}}}}}}|[[File:{{{flag|{{{Flag}}}}}}|20px|border]]}} {{{name|{{{Name|<includeonly>{{PAGENAME}}</includeonly>}}}}}} |
| − | | | + | | subheader = {{{circuit|{{{Circuit|}}}}}} |
| − | |- | + | |
| − | {{#if:{{{ | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{Circuit_image|}}}}}}|size={{{image_size|{{{Image_size|}}}}}}|sizedefault=200px}} |
| − | {{ | + | |
| − | }} | + | | 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 = Laps |
| − | + | | data2 = {{{laps|{{{Laps|}}}}}} | |
| − | {{ | + | |
| − | }} | + | | label3 = Circuit length |
| − | | | + | | data3 = {{#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)}} | |
| − | | {{{ | + | | {{#if:{{{circuit_length_mi|{{{Circuit_length_mi|}}}}}}|{{{circuit_length_mi|{{{Circuit_length_mi}}}}}} mi}} |
| − | | | + | }} |
| − | + | ||
| − | | {{{Race_length_km}}} km ({{{Race_length_mi}}} mi) | + | | label4 = Race length |
| − | | | + | | data4 = {{#if:{{{race_length_km|{{{Race_length_km|}}}}}} |
| − | {{#if:{{{ | + | | {{{race_length_km|{{{Race_length_km}}}}}} km {{#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}}}}}} mi }} | |
| − | {{ | + | }} |
| − | }} | + | | label5 = Number of times held |
| − | | | + | | data5 = {{{times_held|{{{Times_held|}}}}}} |
| − | {{#if:{{{First_held | + | |
| − | + | | label6 = First held | |
| − | + | | data6 = {{#if:{{{first_held|{{{First_held|}}}}}}|[[{{{first_held|{{{First_held}}}}}} {{{first_race|{{{First_race|{{PAGENAME}}}}}}}}|{{{first_held|{{{First_held}}}}}}]]}} | |
| − | }} | + | |
| − | | | + | | label7 = Last held |
| − | {{#if:{{{Last_held | + | | data7 = {{#if:{{{last_held|{{{Last_held|}}}}}} |[[{{{last_held|{{{Last_held}}}}}} {{{last_race|{{{Last_race|{{PAGENAME}}}}}}}}|{{{last_held|{{{Last_held}}}}}}]]}} |
| − | + | ||
| − | + | | label8 = Most wins (drivers) | |
| − | }} | + | | data8 = {{{most_wins_driver|{{{Most_wins_driver|}}}}}} |
| − | | | + | |
| − | {{ | + | | label9 = Most wins (constructors) |
| − | + | | data9 = {{{most_wins_constructor|{{{Most_wins_constructor|}}}}}} | |
| − | {{ | + | |
| − | }} | + | | header10 = {{#if:{{{current_year|{{{Current_year|}}}}}}|Last race ([[{{{current_year|{{{Current_year}}}}}} {{PAGENAME}}|{{{current_year|{{{Current_year}}}}}}]]):}} |
| − | + | ||
| − | + | | label11 = Pole position | |
| − | + | | data11 = {{#if:{{{current_year|{{{Current_year|}}}}}}| {{br separated entries | |
| − | {{ | + | | 1 = {{{pole_driver|{{{Pole_driver|}}}}}} |
| − | }} | + | | 2 = {{{pole_team|{{{Pole_team|}}}}}} |
| − | | | + | | 3 = {{{pole_time|{{{Pole_time|}}}}}} |
| − | {{#if:{{{Current_year | + | }} }} |
| − | + | ||
| − | + | | label12 = Podium | |
| − | + | | data12 = {{#if:{{{current_year|{{{Current_year|}}}}}}| {{unbulleted list | |
| − | {{ | + | | 1 = {{#if:{{{winner|{{{Winner|}}}}}}| {{br separated entries |
| − | + | | 1 = '''1.''' {{{winner|{{{Winner}}}}}} | |
| − | + | | 2 = {{{winning_team|{{{Winning_team|}}}}}} | |
| − | {{ | + | | 3 = {{{winning_time|{{{Winning_time|}}}}}} |
| − | + | }} }} | |
| − | + | | 2 = {{#if:{{{second|{{{Second|}}}}}}| {{br separated entries | |
| − | {{ | + | | 1 = '''2.''' {{{second|{{{Second}}}}}} |
| − | }} | + | | 2 = {{{second_team|{{{Second_team|}}}}}} |
| − | + | | 3 = {{{second_time|{{{Second_time|}}}}}} | |
| − | + | }} }} | |
| − | + | | 3 = {{#if:{{{third|{{{Third|}}}}}}| {{br separated entries | |
| + | | 1 = '''3.''' {{{third|{{{Third}}}}}} | ||
| + | | 2 = {{{third_team|{{{Third_team|}}}}}} | ||
| + | | 3 = {{{third_time|{{{Third_time|}}}}}} | ||
| + | }} }} | ||
| + | }} | ||
| + | }} | ||
| + | |||
| + | | label13 = Fastest lap | ||
| + | | data13 = {{#if:{{{current_year|{{{Current_year|}}}}}}| {{br separated entries | ||
| + | | 1 = {{{fastest_lap_driver|{{{Fastest_lap_driver|}}}}}} | ||
| + | | 2 = {{{fastest_lap_team|{{{Fastest_lap_team|}}}}}} | ||
| + | | 3 = {{{fastest_lap|{{{Fastest_lap|}}}}}} | ||
| + | }} }} | ||
| + | |||
| + | }}<noinclude> | ||
| + | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 18:15, 16 June 2013
[[Category:Infobox templates|Template:Remove first word]]
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
Usage
| {{{circuit}}} | |
| [[File:{{{image}}}|{{{image_size}}}]] | |
| Race information | |
|---|---|
| Laps | {{{laps}}} |
| Circuit length | {{{circuit_length_km}}} km ({{{circuit_length_mi}}} mi) |
| Race length | {{{race_length_km}}} km ({{{race_length_mi}}} mi) |
| Number of times held | {{{times_held}}} |
| First held | [[{{{first_held}}} {{{first_race}}}|{{{first_held}}}]] |
| Last held | [[{{{last_held}}} {{{last_race}}}|{{{last_held}}}]] |
| Most wins (drivers) | {{{most_wins_driver}}} |
| Most wins (constructors) | {{{most_wins_constructor}}} |
| Last race ([[{{{current_year}}} Infobox F1 race|{{{current_year}}}]]): | |
| Pole position | {{{pole_driver}}} {{{pole_team}}} {{{pole_time}}} |
| Podium |
|
| Fastest lap | {{{fastest_lap_driver}}} {{{fastest_lap_team}}} {{{fastest_lap}}} |
{{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. |