Difference between revisions of "Template:Infobox GP2 Asia round report"

From blackwiki
Jump to navigation Jump to search
imported>Zackmann08
imported>Zackmann08
(converting to use Template:infobox)
Line 1: Line 1:
{| class="infobox" cellpadding="2" style="float:right; width:27em; font-size:88%;"
+
<includeonly>{{Infobox
|+ style="font-size: larger;" | {{flagicon|{{{Country|none}}}|{{{Flag_suffix|}}}}}&nbsp;&nbsp;'''{{{Season|{{{Season}}}}}} {{{Grand Prix}}} GP2 Asia round'''
+
| bodystyle = width:26em;
|-
+
| title = {{flagicon|{{{Country|none}}}|{{{Flag_suffix|}}}}}&nbsp;&nbsp;{{{Season|{{{Season}}}}}} {{{Grand Prix}}} GP2 Asia round
! colspan="3" style="background-color:#efefef;" | Round details
+
| above = Race details
|-
+
| subheader = Round {{{Round_No}}} of {{{Season_No}}} in the [[{{{Season|{{{Season}}}}}} GP2 Asia Series]].
| colspan="3" style="text-align:center;"| <small>Round {{{Round_No}}} of {{{Season_No}}} in the [[{{{Season|{{{Season}}}}}} GP2 Asia Series]].</small>
+
| headerstyle = background-color:#000000;color:white;
|-
+
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{Image|}}}|size={{{image-size|220px}}}|alt={{{alt|}}}}}
| colspan="3" style="text-align:center;" {{!}} [[Image:{{{Image|}}}|{{{image-size|220px}}}|{{{Caption|}}}]]{{#if:{{{Caption|}}}|<br />{{{Caption|}}}}}
+
| caption = {{{Caption|}}}
|-
 
| '''Location'''
 
|colspan=2| {{{Location}}}
 
|-
 
| '''Course'''
 
|colspan=2| {{{Course|Permanent racing facility}}} <br> {{{Course_km}}} km ({{{Course_mi}}} mi)
 
|-
 
!colspan="3" style="background-color:#000000;color:white;" | Feature Race
 
|-
 
| style="width: 20%;" | '''Date'''
 
| colspan=2| {{#if:{{{Date_r1|}}}|{{{Date_r1}}} {{{Year}}} }}
 
|-
 
| '''Laps'''
 
|colspan=2| {{#if:{{{Laps_r1|}}}|{{{Laps_r1}}} }}
 
|-
 
!colspan="3" style="background-color:#efefef;" | [[Pole position]]
 
|-
 
| '''Driver'''
 
| {{#if:{{{Pole_driver_country|}}}|{{flagicon|{{{Pole_driver_country}}}}} {{{Pole_driver}}} }}
 
| <small>{{#if:{{{Pole_team|}}}|{{{Pole_team}}} }}</small>
 
|-
 
| '''Time'''
 
|colspan=2| {{#if:{{{Pole_time|}}}|{{{Pole_time}}} }}
 
|-
 
!colspan="3" style="background-color:#efefef;" | [[Podium#Usage_in_motorsport|Podium]]
 
|-
 
| '''First''' || {{#if:{{{First_driver_country_r1|}}}|{{flagicon|{{{First_driver_country_r1}}}}} {{{First_driver_r1}}} }}
 
|<small>{{#if:{{{First_team_r1|}}}|{{{First_team_r1}}} }}</small>
 
|-
 
| '''Second''' || {{#if:{{{Second_driver_country_r1|}}}|{{flagicon|{{{Second_driver_country_r1}}}}} {{{Second_driver_r1}}} }}
 
|<small>{{#if:{{{Second_team_r1|}}}|{{{Second_team_r1}}} }}</small>
 
|-
 
| '''Third''' || {{#if:{{{Third_driver_country_r1|}}}|{{flagicon|{{{Third_driver_country_r1}}}}} {{{Third_driver_r1}}} }}
 
|<small>{{#if:{{{Third_team_r1|}}}|{{{Third_team_r1}}} }}</small>
 
|-
 
!colspan="3" style="background-color:#efefef;" | [[Fastest lap]]
 
|-
 
| '''Driver'''
 
| {{#if:{{{Fast_driver_country_r1|}}}|{{flagicon|{{{Fast_driver_country_r1}}}}} {{{Fast_driver_r1}}} }}
 
|<small>{{#if:{{{Fast_team_r1|}}}|{{{Fast_team_r1}}} }}</small>
 
|-
 
| '''Time'''
 
|colspan=2| {{#if:{{{Fast_driver_r1|}}}| {{{Fast_time_r1}}} {{#if:{{{Fast_lap_r1|}}}|(on lap {{{Fast_lap_r1}}})}} }}
 
|-
 
!colspan="3" style="background-color:#000000;color:white;" | Sprint Race
 
|-
 
| style="width: 20%;" | '''Date'''
 
| colspan=2| {{#if:{{{Date_r2|}}}|{{{Date_r2}}} {{{Year}}} }}
 
|-
 
| '''Laps'''
 
|colspan=2| {{#if:{{{Laps_r2|}}}|{{{Laps_r2}}} }}
 
|-
 
!colspan="3" style="background-color:#efefef;" | [[Podium#Usage_in_motorsport|Podium]]
 
|-
 
| '''First''' || {{#if:{{{First_driver_country_r2|}}}|{{flagicon|{{{First_driver_country_r2}}}}} {{{First_driver_r2}}} }}
 
|<small>{{#if:{{{First_team_r2|}}}|{{{First_team_r2}}} }}</small>
 
|-
 
| '''Second''' || {{#if:{{{Second_driver_country_r2|}}}|{{flagicon|{{{Second_driver_country_r2}}}}} {{{Second_driver_r2}}} }}
 
|<small>{{#if:{{{Second_team_r2|}}}|{{{Second_team_r2}}} }}</small>
 
|-
 
| '''Third''' || {{#if:{{{Third_driver_country_r2|}}}|{{flagicon|{{{Third_driver_country_r2}}}}} {{{Third_driver_r2}}} }}
 
|<small>{{#if:{{{Third_team_r2|}}}|{{{Third_team_r2}}} }}</small>
 
|-
 
!colspan="3" style="background-color:#efefef;" | [[Fastest lap]]
 
|-
 
| '''Driver'''
 
| {{#if:{{{Fast_driver_country_r2|}}}|{{flagicon|{{{Fast_driver_country_r2}}}}} {{{Fast_driver_r2}}} }}
 
|<small>{{#if:{{{Fast_team_r2|}}}|{{{Fast_team_r2}}} }}</small>
 
|-
 
| '''Time'''
 
|colspan=2| {{#if:{{{Fast_driver_r2|}}}| {{{Fast_time_r2}}} {{#if:{{{Fast_lap_r2|}}}|(on lap {{{Fast_lap_r2}}})}} }}
 
|}<noinclude>
 
{{Convert to use Infobox}}
 
<pre>
 
  
{{Infobox GP2 Asia round report
+
| label1 = Location
| Country                  =  
+
| data1 = {{{Location|}}}
| Grand Prix                =  
+
| label2 = Course
| Round_No                  =
+
| data2 = {{{Course|Permanent racing facility}}} <br> {{{Course_km}}} km ({{{Course_mi}}} mi)
| Season_No                =  
 
| Season                    =  
 
| Image                    =
 
| Caption                  =
 
| Year                      =
 
| Location                  =
 
| Course                   =
 
| Course_km                 =
 
| Course_mi                 =
 
  
| Date_r1                  =  
+
| header3 = Feature Race
| Laps_r1                  =  
+
| data4 = {{infobox3cols
| Pole_driver_country      =  
+
  | bodystyle = width: 100%; padding: 0px;
| Pole_driver              =  
+
  | headerstyle = background-color:#efefef;
| Pole_team                =  
+
  | datastyleb = font-size: 85%;
| Pole_time                =  
+
  | child = yes
| First_driver_country_r1  =  
+
  | label1 = Date
| First_driver_r1          =  
+
  | data1 = {{#if:{{{Date_r1|}}}|{{{Date_r1}}} {{{Year}}} }}
| First_team_r1            =  
+
  | label2 = Laps
| Second_driver_country_r1  =  
+
  | data2 = {{{Laps_r1|}}}
| Second_driver_r1          =  
+
  | label3 = Time
| Second_team_r1            =  
+
  | header4 = [[Pole position]]
| Third_driver_country_r1  =  
+
  | label5 = Driver
| Third_driver_r1          =  
+
  | data5a = {{#if:{{{Pole_driver_country|}}}|{{flagicon|{{{Pole_driver_country}}}}} {{{Pole_driver}}} }}
| Third_team_r1            =  
+
  | data5b = {{{Pole_team|}}}
| Fast_driver_country_r1    =  
+
  | label6 = Time
| Fast_driver_r1            =  
+
  | data6a = {{{Pole_time|}}}
| Fast_team_r1              =  
+
  | header7 = [[Podium#Usage_in_motorsport|Podium]]
| Fast_time_r1              =  
+
  | label8 = First
| Fast_lap_r1              =  
+
  | data8a = {{#if:{{{First_driver_country_r1|}}}|{{flagicon|{{{First_driver_country_r1}}}}} {{{First_driver_r1}}} }}
 
+
  | data8b = {{{First_team_r1|}}}
| Date_r2                  =  
+
  | label9 = Second
| Laps_r2                  =  
+
  | data9a = {{#if:{{{Second_driver_country_r1|}}}|{{flagicon|{{{Second_driver_country_r1}}}}} {{{Second_driver_r1}}} }}
| First_driver_country_r2  =  
+
  | data9b = {{{Second_team_r1|}}}
| First_driver_r2          =  
+
  | label10 = Third
| First_team_r2            =  
+
  | data10a = {{#if:{{{Third_driver_country_r1|}}}|{{flagicon|{{{Third_driver_country_r1}}}}} {{{Third_driver_r1}}} }}
| Second_driver_country_r2  =  
+
  | data10b = {{{Third_team_r1|}}}
| Second_driver_r2          =  
+
  | header11 = [[Fastest lap]]
| Second_team_r2            =  
+
  | label12 = Driver
| Third_driver_country_r2  =  
+
  | data12a = {{#if:{{{Fast_driver_country_r1|}}}|{{flagicon|{{{Fast_driver_country_r1}}}}} {{{Fast_driver_r1}}} }}
| Third_driver_r2          =  
+
  | data12b = {{{Fast_team_r1|}}}
| Third_team_r2            =  
+
  | label13 = Time
| Fast_driver_country_r2    =  
+
  | data13 = {{#if:{{{Fast_driver_r1|}}}| {{{Fast_time_r1}}} {{#if:{{{Fast_lap_r1|}}}|(on lap {{{Fast_lap_r1}}})}} }}
| Fast_driver_r2            =  
 
| Fast_team_r2              =
 
| Fast_time_r2              =
 
| Fast_lap_r2              =
 
 
}}
 
}}
</pre>
 
  
[[Category:Motor race report infobox templates]]
+
| header5 = Sprint Race
</noinclude>
+
| data6 = {{infobox3cols
 +
  | bodystyle = width: 100%; padding: 0px;
 +
  | headerstyle = background-color:#efefef;
 +
  | datastyleb = font-size: 85%;
 +
  | child = yes
 +
  | label1 = Date
 +
  | data1 = {{#if:{{{Date_r2|}}}|{{{Date_r2}}} {{{Year}}} }}
 +
  | label2 = Laps
 +
  | data2 = {{{Laps_r2|}}}
 +
  | label3 = Time
 +
  | header4 = [[Podium#Usage_in_motorsport|Podium]]
 +
  | label5 = First
 +
  | data5a = {{#if:{{{First_driver_country_r2|}}}|{{flagicon|{{{First_driver_country_r2}}}}} {{{First_driver_r2}}} }}
 +
  | data5b = {{{First_team_r2|}}}
 +
  | label6 = Second
 +
  | data6a = {{#if:{{{Second_driver_country_r2|}}}|{{flagicon|{{{Second_driver_country_r2}}}}} {{{Second_driver_r2}}} }}
 +
  | data6b = {{{Second_team_r2|}}}
 +
  | label7 = Third
 +
  | data7a = {{#if:{{{Third_driver_country_r2|}}}|{{flagicon|{{{Third_driver_country_r2}}}}} {{{Third_driver_r2}}} }}
 +
  | data7b = {{{Third_team_r2|}}}
 +
  | header8 = [[Fastest lap]]
 +
  | label9 = Driver
 +
  | data9a = {{#if:{{{Fast_driver_country_r2|}}}|{{flagicon|{{{Fast_driver_country_r2}}}}} {{{Fast_driver_r2}}} }}
 +
  | data9b = {{{Fast_team_r2|}}}
 +
  | label10 = Time
 +
  | data10 = {{#if:{{{Fast_driver_r2|}}}| {{{Fast_time_r2}}} {{#if:{{{Fast_lap_r2|}}}|(on lap {{{Fast_lap_r2}}})}} }}}}}}</includeonly><noinclude>
 +
{{documentation}}</noinclude>

Revision as of 20:08, 28 August 2017

Template documentation[create]