Difference between revisions of "Template:Tracks infobox"

From GPVWC Wiki
Jump to: navigation, search
(try different style)
m
 
(17 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="infobox" style="width:25em; font-size:85%; text-align:left"
+
{| class="toccolours" align="right" style="float:right; width: 25em; vertical-align:top; margin-left:1em;"
|+ {{#if:{{{Flag<includeonly>|</includeonly>}}}|[[Image:{{{Flag}}}|20px|border]]}} '''{{{Name}}}'''
+
|+ style="font-size: larger; margin: inherit;" | [[Image:{{{Flag}}}|20px|border]] '''{{{Name|<includeonly>{{PAGENAME}}</includeonly>}}}'''
 
|-
 
|-
|colspan="2" style="text-align:center"| {{{Circuit}}}
+
!colspan="3" bgcolor="#efefef"| Track details
 
|-
 
|-
{{#if:{{{Circuit_image<includeonly>|</includeonly>}}} |
+
| colspan=2 align="center" | {{{Image}}}
{{!}}colspan="2" style="text-align:center"{{!}} [[Image:{{{Circuit_image}}}|{{#if:{{{Image_size<includeonly>|</includeonly>}}}|{{{Image_size}}}|200px}}|]]
+
}}
+
 
|-
 
|-
|colspan="2" style="text-align:center; background-color:#99ccff"| '''Race information'''
+
!width="75px" align="left" |Location
 +
| {{{Location}}}
 
|-
 
|-
{{#if:{{{Laps<includeonly>|</includeonly>}}} |
+
! align="left"| Time Zone
! Laps
+
| {{{Time}}}
{{!}} {{{Laps}}}
+
}}
+
 
|-
 
|-
! Circuit length
+
! align="left"| Type
| {{{Circuit_length_km}}} km ({{{Circuit_length_mi}}} mi)
+
| [[{{{Type}}}]]
 
|-
 
|-
! Race length
+
! align="left"| First held
| {{{Race_length_km}}} km ({{{Race_length_mi}}} mi)
+
{{!}}{{{First_held}}}
 
|-
 
|-
{{#if:{{{Times_held<includeonly>|</includeonly>}}} |
+
! align="left"| Times held
! Number of times held
+
 
{{!}} {{{Times_held}}}
 
{{!}} {{{Times_held}}}
}}
 
 
|-
 
|-
{{#if:{{{First_held<includeonly>|</includeonly>}}} |
+
! align="left" style="vertical-align:top;"| Major events
! First held
+
{{!}} {{{Major_events}}}
{{!}}[[{{{First_held}}} {{{First_race|{{PAGENAME}}}}}|{{{First_held}}}]]
+
}}
+
 
|-
 
|-
{{#if:{{{Last_held<includeonly>|</includeonly>}}} |
+
| colspan="2" align="center" bgcolor="#efefef" | '''Lap details'''
! Last held
+
{{!}}[[{{{Last_held}}} {{PAGENAME}}|{{{Last_held}}}]]
+
}}
+
 
|-
 
|-
{{#if:{{{Most_wins_driver<includeonly>|</includeonly>}}} |
+
! align="left"| Length
! Most wins (drivers)
+
| {{{Length_km}}} km ({{{Length_mi}}} miles)
{{!}} {{{Most_wins_driver}}}
+
}}
+
 
|-
 
|-
{{#if:{{{Most_wins_constructor<includeonly>|</includeonly>}}} |
+
! align="left"| Turns
! Most wins (constructors)
+
| {{{Turns}}}
{{!}} {{{Most_wins_constructor}}}
+
}}
+
 
|-
 
|-
{{#if:{{{Current_year<includeonly>|</includeonly>}}} |
+
! align="left"| Lap record
{{!}}colspan="2" style="text-align:center; background-color:#99ccff"{{!}}'''Last race ([[{{{Current_year}}} {{PAGENAME}}|{{{Current_year}}}]]):'''
+
| {{{Record_time| --}}} ({{{Record_driver| --}}}, {{{Record_team| --}}}, {{{Record_year| --}}})
{{!}}-
+
|-<!--
! Pole position
+
! align="left"| Fastest lap
{{!}} {{{Pole_driver}}} <br> {{{Pole_team}}} <br> {{{Pole_time}}}
+
| {{{FL_time| --}}} ({{{FL_driver| --}}}, {{{FL_team| --}}}, {{{FL_year| --}}})-->
{{!}}-
+
! Podium
+
{{!}} '''1.''' {{{Winner}}} <br> {{{Winning_team}}} <br> {{{Winning_time}}} {{#if:{{{Second|}}}|<br> '''2.''' {{{Second}}} <br> {{{Second_team}}} <br> {{{Second_time}}} }} {{#if:{{{Third|}}}|<br> '''3.''' {{{Third}}} <br> {{{Third_team}}} <br> {{{Third_time}}} }}
+
{{!}}-
+
! Fastest lap
+
{{!}} {{{Fastest_lap_driver}}} <br> {{{Fastest_lap_team}}} <br> {{{Fastest_lap}}}
+
}}
+
 
|}
 
|}
 +
<noinclude>
 +
[[Category:Infobox templates|{{PAGENAME}}]]
 +
</noinclude>

Latest revision as of 17:46, 7 January 2016

[[Image:{{{Flag}}}|20px|border]] '
Track details
{{{Image}}}
Location {{{Location}}}
Time Zone {{{Time}}}
Type [[{{{Type}}}]]
First held {{{First_held}}}
Times held {{{Times_held}}}
Major events {{{Major_events}}}
Lap details
Length {{{Length_km}}} km ({{{Length_mi}}} miles)
Turns {{{Turns}}}
Lap record -- ( --, --, --)