Difference between revisions of "Template:Infobox F1 race"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Frietjes
Line 28: Line 28:
  
 
| label6  =  First held
 
| label6  =  First held
| data6  = {{#if:{{{first_held|{{{First_held|}}}}}}|[[{{{first_held|{{{First_held}}}}}} {{{first_race|{{{First_race|{{PAGENAME}}}}}}}}|{{{first_held|{{{First_held}}}}}}]]}}
+
| data6  = {{#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}}}}}}}}}}
  
 
| label7  =  Last held
 
| label7  =  Last held
| data7  = {{#if:{{{last_held|{{{Last_held|}}}}}} |[[{{{last_held|{{{Last_held}}}}}} {{{last_race|{{{Last_race|{{PAGENAME}}}}}}}}|{{{last_held|{{{Last_held}}}}}}]]}}
+
| data7  = {{#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}}}}}}}}}}
  
 
| label8  =  Most wins (drivers)
 
| label8  =  Most wins (drivers)
Line 39: Line 39:
 
| data9  = {{{most_wins_constructor|{{{Most_wins_constructor|}}}}}}
 
| data9  = {{{most_wins_constructor|{{{Most_wins_constructor|}}}}}}
  
| header10 = {{#if:{{{current_year|{{{Current_year|}}}}}}|Last race ([[{{{current_year|{{{Current_year}}}}}} {{{current_race|{{{Current_race|{{PAGENAME}}}}}}}}|{{{current_year|{{{Current_year}}}}}}]]):}}
+
| header10 = {{#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}}}}}}}}):}}
  
 
| label11  =  Pole position
 
| label11  =  Pole position

Revision as of 18:29, 16 June 2013

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

Usage

[[File:{{{flag}}}|20px|border]] {{{name}}}
{{{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}}}
Last held{{{last_held}}}
Most wins (drivers){{{most_wins_driver}}}
Most wins (constructors){{{most_wins_constructor}}}
Last race ({{{current_year}}}):
Pole position{{{pole_driver}}}
{{{pole_team}}}
{{{pole_time}}}
Podium
  • 1. {{{winner}}}
    {{{winning_team}}}
    {{{winning_time}}}
  • 2. {{{second}}}
    {{{second_team}}}
    {{{second_time}}}
  • 3. {{{third}}}
    {{{third_team}}}
    {{{third_time}}}
Fastest lap{{{fastest_lap_driver}}}
{{{fastest_lap_team}}}
{{{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