.

Template:Infobox Grand Prix race report: Difference between revisions

Wikicars, a place to share your automotive knowledge
Jump to navigationJump to search
mNo edit summary
mNo edit summary
 
(22 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="infobox vevent" style="width: 27em; font-size: 88%; line-height: 1.5em"
{|class="toccolours" style="float:right; clear:right; margin-left:1em; width:24em; text-align:left; font-size:90%;"
|+ style="font-size: 125%; font-weight: bold" | {{flagicon|{{{Country|none}}}|{{{Flag_suffix|}}}}}&nbsp;&nbsp;<span class="summary">{{{Year|{{{year}}}}}} {{{Grand Prix}}} {{{GP_Suffix|Grand Prix}}}</span>
|-
|-
!colspan="3" bgcolor="#efefef"| Race details{{#if:{{{Details ref|}}} | {{{Details ref}}} }}
| colspan="3" style="font-size: larger; text-align: center;" | '''{{flagicon|{{{Country|}}}}} {{{Name|{{PAGENAME}}}}}'''
|-
|-
|colspan="3" style="text-align:center;"| <!--
| colspan="3" style="text-align: center;" | [[Image:{{{Image|}}}]]
-->{{#switch:{{{Type}}}
|F1 = <small class="description">Race {{{Race_No}}} of {{{Season_No}}} in the [[{{{Year|{{{year}}}}}} Formula One season]]</small>
|GP = <small class="description">{{#if:{{{Description|}}}|{{{Description}}}|[[{{{Season|{{{Year|{{{year}}}}}}}}} Grand Prix season]]}}</small>
|EC = <small class="description">Race {{{Race_No}}} of {{{Season_No}}} in the [[{{{Year|{{{year}}}}}} Grand Prix season|{{{Year|{{{year}}}}}} European Championship]]</small>
|WMC = <small class="description">Race {{{Race_No}}} of {{{Season_No}}} in the [[{{{Year|{{{year}}}}}} Grand Prix season|{{{Year}}} World Manufacturers' Championship]]</small>
|NC = <small class="description">Non-Championship Race in the [[{{{Year|{{{year}}}}}} Formula One season]]</small>
|CUST = <small class="description">{{{Description}}}</small>
|<small class="description">Race {{{Race_No}}} of {{{Season_No}}} in the [[{{{Year|{{{year}}}}}} Formula One season]].</small>
}}
{{#if:{{{Image|}}}|
{{!}}-
{{!}} colspan="3" style="text-align: center;" {{!}} [[Image:{{{Image|}}}|{{{image-size|220px}}}|{{{Caption|}}}{{#if:{{{image-alt|}}}|{{!}}alt={{{image-alt}}}|}}]]{{#if:{{Caption|}}}|<br />{{{Caption|}}}}}
}}
{{#if:{{{Date|{{{date|}}}}}}|
{{!}}-
{{!}} style="width: 20%;" {{!}} '''Date'''
{{!}} {{#formatdate:{{{Date|{{{date|}}}}}} {{{Year|{{{year}}}}}}}}
}}
{{#if:{{{Fulldate|}}}|
{{!}}-
{{!}} style="width: 20%;" {{!}} '''Date'''
{{!}} {{{Fulldate}}}
}}
|-
|-
{{#if:{{{Official name|}}}|
| colspan="3" bgcolor="#ddb" style="text-align:center;" | '''Race details'''
{{!}}-
{{!}} '''Official name'''  
{{!}}colspan=2{{!}} {{{Official name}}}
}}
|-
|-
| '''Location'''  
| colspan="2" style="text-align:center;" | <small>Race {{{Race_No}}} of {{{Season_No}}} in the [[{{{Year|{{{year}}}}}} Formula One season]]</small>
|colspan=2 class="location"| {{{Location|{{{location}}}}}}
|- style="vertical-align: top;"
! Date
| {{{Date|{{{date|}}}}}} {{{Year|{{{year}}}}}}
|- style="vertical-align: top;"
! Official name
| {{{Official name}}}
|- style="vertical-align: top;"
! '''Location'''
| {{{Location|{{{location}}}}}}
|- style="vertical-align: top;"
! '''Course'''
|  {{{Course|Permanent racing facility}}} <br> {{{Course_km}}} km ({{{Course_mi}}} mi)
|- style="vertical-align: top;"
! '''Distance'''
| {{{Distance_laps}}} laps, {{{Distance_km}}} km ({{{Distance_mi}}} mi)
|- style="vertical-align: top;"
! Weather
| {{{Weather|}}}
|-
|-
| '''Course'''  
| colspan="3" bgcolor="#ddb" style="text-align:center;" | '''[[Pole position]]'''
|colspan=2| {{{Course|Permanent racing facility}}} <br> {{{Course_km}}} km ({{{Course_mi}}} mi)</td></tr>
|- style="vertical-align: top;"
! Driver
| {{flagicon|{{{Pole_Country|}}}}} {{{Pole_Driver|}}} <small>for {{{Pole_Team|}}}</small>
|- style="vertical-align: top;"
! Time
| {{{Pole_Time|}}}
|-
|-
|'''Distance'''
| colspan="3" bgcolor="#ddb" style="text-align:center;" | '''[[Fastest lap]]'''
|colspan="2"| {{{Distance_laps}}} laps, {{{Distance_km}}} km ({{{Distance_mi}}} mi)</td></tr>{{#if: {{{Scheduled_laps|}}} | <tr> <td>'''Scheduled Distance'''</td><td colspan="2">{{{Scheduled_laps}}} laps, {{{Scheduled_km}}} km ({{{Scheduled_mi}}} mi)</td></tr> |}}{{#if: {{{Weather|}}} | <tr> <td>'''Weather'''</td><td colspan="2">{{{Weather}}}</td></tr> |}}
|- style="vertical-align: top;"
|-
! Driver
{{#if:{{{Attendance|}}}|
| {{flagicon|{{{Fast_Country|}}}}} {{{Fast_Driver|}}} <small>for {{{Fast_Team|}}}</small>
{{!}}-
|- style="vertical-align: top;"
{{!}} '''Attendance'''
! Time
{{!}} {{{Attendance}}}
| {{{Fast_Time|time}}} on lap {{{Fast_Lap|#}}}
}}
|-
!{{#if: {{{Pole_Driver|}}}| colspan="3" bgcolor="#efefef"{{!}} [[Pole position]]
{{!}}-
{{!}} '''{{#if: {{{Pole_Driver2|}}}|Drivers|Driver}}'''  
{{!}} {{flagicon|{{{Pole_Country|none}}}|{{{Pole_flag_suffix|}}}}} {{{Pole_Driver}}}
{{!}}<small>{{#if: {{{Pole_Team|}}}|{{{Pole_Team}}}}}</small>
{{!}}-
{{#if: {{{Pole_Driver2|}}}|
{{!}}
{{!}} {{flagicon|{{{Pole_Country2|none}}}|{{{Pole_flag_suffix2|}}}}} {{{Pole_Driver2}}}
{{!}}
{{!}}-
}}
{{!}}{{#if: {{{Pole_Time|}}}| '''Time'''
{{!}}colspan=2{{!}} {{{Pole_Time}}}|
colspan=3 align=center{{!}} {{#if: {{{Grid_from_heats|}}}|'''Grid positions set by heat results'''}}{{#if: {{{Grid_from_ballot|}}}|'''Grid positions set by ballot'''}}{{#if: {{{Grid_from_number|}}}|'''Grid positions set by car number'''}}
}}
}}
|-
!colspan="3" bgcolor="#efefef"| [[Fastest lap]]
|-
| {{#if: {{{Fast_Driver2|}}}|'''Drivers'''|'''Driver'''}}
| {{flagicon|{{{Fast_Country|none}}}|{{{Fast_flag_suffix|}}}}} {{{Fast_Driver}}} {{#if: {{{Fast_Driver2|}}}| {{#if: {{{Fast_Lap|}}}| <small>(lap {{{Fast_Lap}}})</small>}} }} {{#if: {{{Fast_Driver2|}}}|<br />{{flagicon|{{{Fast_Country2|none}}}|{{{Fast_flag_suffix2|}}}}} {{{Fast_Driver2}}} {{#if: {{{Fast_Lap2|}}}| <small>(lap {{{Fast_Lap2}}})</small>}} }} {{#if: {{{Fast_Driver3|}}}|<br />{{flagicon|{{{Fast_Country3|none}}}|{{{Fast_flag_suffix3|}}}}} {{{Fast_Driver3}}} {{#if: {{{Fast_Lap3|}}}| <small>(lap {{{Fast_Lap3}}})</small>}} }}{{#if: {{{Fast_Driver4|}}}|<br />{{flagicon|{{{Fast_Country4|none}}}|{{{Fast_flag_suffix4|}}}}} {{{Fast_Driver4}}} {{#if: {{{Fast_Lap4|}}}| <small>(lap {{{Fast_Lap4}}})</small>}} }}{{#if: {{{Fast_Driver5|}}}|<br />{{flagicon|{{{Fast_Country5|none}}}|{{{Fast_flag_suffix5|}}}}} {{{Fast_Driver5}}} {{#if: {{{Fast_Lap5|}}}| <small>(lap {{{Fast_Lap5}}})</small>}} }} {{#if: {{{Fast_Driver6|}}}|<br />{{flagicon|{{{Fast_Country6|none}}}|{{{Fast_flag_suffix6|}}}}} {{{Fast_Driver6}}} {{#if: {{{Fast_Lap6|}}}| <small>(lap {{{Fast_Lap6}}})</small>}} }}{{#if: {{{Fast_Driver7|}}}|<br />{{flagicon|{{{Fast_Country7|none}}}|{{{Fast_flag_suffix7|}}}}} {{{Fast_Driver7}}} {{#if: {{{Fast_Lap7|}}}| <small>(lap {{{Fast_Lap7}}})</small>}} }}
|<small>{{{Fast_Team}}}</small> {{#if: {{{Fast_Driver2|}}}|<br /> <small>{{{Fast_Team2}}}</small> }} {{#if: {{{Fast_Driver3|}}}|<br /> <small>{{{Fast_Team3}}}</small> }} {{#if: {{{Fast_Driver4|}}}|<br /> <small>{{{Fast_Team4}}}</small> }}{{#if: {{{Fast_Driver5|}}}|<br /> <small>{{{Fast_Team5}}}</small> }}{{#if: {{{Fast_Driver6|}}}|<br /> <small>{{{Fast_Team6}}}</small> }}{{#if: {{{Fast_Driver7|}}}|<br /> <small>{{{Fast_Team7}}}</small> }}
|-
| '''Time'''
|colspan=2| {{{Fast_Time}}} {{#if: {{{Fast_Driver2|}}}| |{{#if: {{{Fast_Lap|}}}| on lap {{{Fast_Lap}}} }} }}
|-
!colspan="3" bgcolor="#efefef"| [[Podium#Usage_in_motorsport|Podium]]
|-
| '''First''' || {{flagicon|{{{First_Country|none}}}|{{{First_flag_suffix|}}}}} {{{First_Driver}}} {{#if: {{{First_Driver2|}}}|<br /> {{flagicon|{{{First_Country2|none}}}|{{{First_flag_suffix2|}}}}} {{{First_Driver2}}} }} {{#if: {{{First_Driver3|}}}|<br /> {{flagicon|{{{First_Country3|none}}}|{{{First_flag_suffix3|}}}}} {{{First_Driver3}}} }}
|<small>{{{First_Team}}}</small>
|-
| '''Second''' || {{flagicon|{{{Second_Country|none}}}|{{{Second_flag_suffix|}}}}} {{{Second_Driver}}} {{#if: {{{Second_Driver2|}}}|<br /> {{flagicon|{{{Second_Country2|none}}}|{{{Second_flag_suffix2|}}}}} {{{Second_Driver2}}} }} {{#if: {{{Second_Driver3|}}}|<br /> {{flagicon|{{{Second_Country3|none}}}|{{{Second_flag_suffix3|}}}}} {{{Second_Driver3}}} }}
|<small>{{{Second_Team}}}</small>
|-
| '''Third''' || {{flagicon|{{{Third_Country|none}}}|{{{Third_flag_suffix|}}}}} {{{Third_Driver}}} {{#if: {{{Third_Driver2|}}}|<br /> {{flagicon|{{{Third_Country2|none}}}|{{{Third_flag_suffix2|}}}}} {{{Third_Driver2}}} }} {{#if: {{{Third_Driver3|}}}|<br /> {{flagicon|{{{Third_Country3|none}}}|{{{Third_flag_suffix3|}}}}} {{{Third_Driver3}}} }}
|<small>{{{Third_Team}}}</small>
|-
!{{#if: {{{Lapchart|}}}| colspan="3" bgcolor="#efefef"{{!}} {{List collapsed|title=<center>Lap leaders</center>|<center>{{{Lapchart}}}</center>}}
}}
|-
|-
| colspan="3" bgcolor="#ddb" style="text-align:center;" | '''[[Podium#Usage_in_motorsport|Podium]]'''
|- style="vertical-align: top;"
! First
| {{flagicon|{{{First_Country|}}}}} {{{First_Driver|}}} <small>for {{{First_Team}}}</small>
|- style="vertical-align: top;"
! Second
| {{flagicon|{{{Second_Country|}}}}} {{{Second_Driver|}}} <small>for {{{Second_Team}}}</small>
|- style="vertical-align: top;"
! Third
| {{flagicon|{{{Third_Country|}}}}} {{{Third_Driver|}}} <small>for {{{Third_Team}}}</small>
|}<noinclude>{{documentation}}[[Category:Templates]]</noinclude>
|}<noinclude>{{documentation}}[[Category:Templates]]</noinclude>

Latest revision as of 18:51, 24 October 2010

Template:Country flagicon Infobox Grand Prix race report
[[Image:]]
Race details
Race {{{Race_No}}} of {{{Season_No}}} in the [[{{{year}}} Formula One season]]
Date {{{year}}}
Official name {{{Official name}}}
Location {{{location}}}
Course Permanent racing facility
{{{Course_km}}} km ({{{Course_mi}}} mi)
Distance {{{Distance_laps}}} laps, {{{Distance_km}}} km ({{{Distance_mi}}} mi)
Weather
Pole position
Driver Template:Country flagicon for
Time
Fastest lap
Driver Template:Country flagicon for
Time time on lap #
Podium
First Template:Country flagicon for {{{First_Team}}}
Second Template:Country flagicon for {{{Second_Team}}}
Third Template:Country flagicon for {{{Third_Team}}}

{{#ifeq: Infobox Grand Prix race report | sandbox |

Template:Template sandbox notice }}Template:Template other

{{#ifeq: ¬ |

|

|
{{
 #if: 
 | 
 | 
   {{
   #if: {{#ifexist: 
   {{#if: 
   |    
   | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template
 }}:{{#switch: Infobox Grand Prix race report
 | sandbox
 | testcases = Infobox Grand Prix race report
 | #default = Infobox Grand Prix race report
 }}/doc
   }}
 | yes
 }}
   | [[{{fullurl:{{#if: 
 | 
 | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template
 }}:{{#switch: Infobox Grand Prix race report
 | sandbox
 | testcases = Infobox Grand Prix race report
 | #default = Infobox Grand Prix race report
 }}/doc
 }}|action=edit}} edit]] [purge] 
   | 
     [[{{fullurl:{{#if: 
 | 
 | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template
 }}:{{#switch: Infobox Grand Prix race report
 | sandbox
 | testcases = Infobox Grand Prix race report
 | #default = Infobox Grand Prix race report
 }}/doc
 }}| action=edit&preload={{
       #ifeq: Template | File
       | Template:Documentation/preload-filespace
       | Template:Documentation/preload
       }} }} create]]
   }}
 }} {{#switch: ¬
 | ¬ =   
   {{#switch: Template 
   | Template =  Template documentation
   | File = Summary
   | #default = Documentation
   }}
 | #default = 
   ¬
}}

}} {{#if: | | {{#if: {{#ifexist:

   {{#if: 
   |    
   | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template
 }}:{{#switch: Infobox Grand Prix race report
 | sandbox
 | testcases = Infobox Grand Prix race report
 | #default = Infobox Grand Prix race report
 }}/doc
   }}
 | yes
 }}
 | {{ {{#if: 
 | 
 | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template
 }}:{{#switch: Infobox Grand Prix race report
 | sandbox
 | testcases = Infobox Grand Prix race report
 | #default = Infobox Grand Prix race report
 }}/doc
 }} }}
 }}

}}

{{#if:

 {{#ifeq:  | off
 |
 | {{#ifexist: 
   {{#if: 
   |    
   | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template
 }}:{{#switch: Infobox Grand Prix race report
 | sandbox
 | testcases = Infobox Grand Prix race report
 | #default = Infobox Grand Prix race report
 }}/doc
   }}
 | yes
 }}{{
   #switch: Template
   | User
   | Template = yes
   }}
 }}

| Template:Fmbox }}{{#if:

 {{#switch: Infobox Grand Prix race report
 | doc
 | testcases = strange
 }}

| [[Category:Wikipedia pages with strange ((documentation)) usage|Template:Main otherTemplate:Infobox Grand Prix race report]]

}}