Difference between revisions of "Template:Infobox race"

From LFS Manual
Jump to navigationJump to search
(Created page with "<includeonly>{{Infobox | above = {{{name|{{BASEPAGENAME}}}}} | image = {{{logo|}}} | caption = {{{logo_caption|}}} | headerstyle = background-color: #dedede | label1...")
 
Line 6: Line 6:
 
| headerstyle = background-color: #dedede
 
| headerstyle = background-color: #dedede
  
| label1  = Type
+
| header1 = {{{race|}}}
| data1  = {{#if:{{{type|}}}|{{{type|}}}}}
+
 
| label2  = Recurrence
+
| label2  = Organizers
| data2  = {{#if:{{{recurrence|}}}|{{#switch:{{{recurrence|}}}
+
| data2  = {{{organizers|}}}
  |daily=daily
+
 
  |weekly=weekly
+
| label3  = Season
   |bi-weekly=bi-weekly
+
| data3  = {{{season|}}}
  |monthly=monthly
+
 
  |custom=custom schedule
+
| label4  = Date
}}}}
+
| data4   = {{date|{{{date|}}}}}
| label3 = License
+
 
| data3   = {{#if:{{{license|}}}|{{#switch:{{{license|}}}
+
| label5 = License
 +
| data5   = {{#if:{{{license|}}}|{{#switch:{{{license|}}}
 
   |demo=[[:Category:Demo contents|demo]]
 
   |demo=[[:Category:Demo contents|demo]]
 
   |S1
 
   |S1
Line 27: Line 28:
 
   |#default=various
 
   |#default=various
 
}}}}
 
}}}}
| label4  = Prize pool
 
| data4  = {{#if:{{{prizepool|}}}|{{{prizepool|}}} {{#if:{{{prizepool|}}}|{{{prizecurrency|}}}}}}}
 
| label5  = Signup required
 
| data5  = {{#if:{{{signup|}}}|{{#ifeq:{{{signup|}}}|yes|{{Yes check}}|{{No mark}}}}}}
 
| label6  = First season
 
| data6  = {{#if:{{{firstseason|}}}|{{{firstseason|}}}}}
 
| label7  = Years active
 
| data7  = {{#if:{{{yearsactive|}}}|{{{yearsactive|}}}}}
 
| label8  = Seasons
 
| data8  = {{#if:{{{seasons|}}}|{{#ifexpr:{{{seasons|}}}>1|{{{seasons|}}} seasons|{{{seasons|}}} season}}}}
 
| label9  = Related event
 
| data9  = {{#if:{{{related|}}}|{{{related|}}}}}
 
| label10  = Organizers
 
| data10  = {{#if:{{{orgs|}}}|{{{orgs|}}}}}
 
  
| belowstyle = background: #dedede;
+
| label6  = Pole position
| below  = {{#if:{{{website|}}}|[{{{website}}} Official website]}}
+
| data6  = {{{pole_position|}}}
 +
 
 +
| label7  = Pole time
 +
| data7  = {{{pole_time|}}}
 +
 
 +
| label8  = Winner
 +
| data8  = {{{winner|}}}
 +
 
 +
| label9  = Winning team
 +
| data9  = {{{team|}}}
 +
 
 +
| label10  = Fastest lap
 +
| data10  = {{{fastest_lap|}}}
 +
 
 +
| label11  = Most laps led
 +
| data11  = {{{most_laps_led|}}}
 +
 
 +
| label12  = Pace car
 +
| data12  = [[{{{pace_car|}}}]]
 +
 
 +
| label13  = Pace car driver
 +
| data13  = {{{pace_driver|}}}
 +
 
 +
| header90 = {{#if:{{{prev|}}}{{{next|}}}|Chronology}}
 +
 
 +
| belowleft = {{#if:{{{prev|}}}|'''Previous'''<br />{{{prev}}}}}
 +
| belowright = {{#if:{{{next|}}}|'''Next'''<br />{{{next}}}}}
 +
 
 
}}</includeonly><noinclude>{{documentation}}</noinclude>
 
}}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 16:02, 25 June 2025

Template Info-Icon.png

Template documentation

View - Edit

Infobox race is used to create an infobox which summarizes the main information of a particular race or event.

Usage

Race name
2014KY500Logo.png
logo caption if needed
Cool Race
Season 2020 League Season
Date
Pole position
United Kingdom
Scawen Roberts (Scawen)
Pole time 1:23.45
Winner
United Kingdom
Eric Bailey (Eric)
Winning team ScaViEr Solutions
Fastest lap 1.25.77
Most laps led 52
Pace car [[FZ50]]
Pace car driver
Netherlands
Victor van Vlaardingen (Victor)
Chronology
Previous
Previous Race
Next
Next Race
{{Infobox race
| name                 = Race name
| logo                 = [[File:2014KY500Logo.png|250px]]
| logo_caption         = logo caption if needed
| race                 = Cool Race
| orgs                 = Organizer Team
| season               = 2020 League Season
| track                = [[Blackwood]] GP
| cars                 = [[XR GT]], [[XF GTI]]
| date                 = 2020-05-23
| distance             = 40 laps
| pole_position        = {{driver|Scawen Roberts|Scawen|flag=GB}}
| pole_time            = 1:23.45
| pole_speed           = 180 km/h
| winner               = {{driver|Eric Bailey|Eric|flag=GB}}
| team                 = ScaViEr Solutions
| fastest_lap          = 1.25.77
| fastest_lap_owner    = {{driver|Eric Bailey|Eric|flag=GB}}
| most_laps_led        = 52
| most_laps_led_driver = {{driver|Scawen Roberts|Scawen|flag=GB}}
| pace_car             = [[FZ50]]
| pace_driver          = {{driver|Victor van Vlaardingen|Victor|flag=NL}}
| stewards             = {{driver|Leo Roberts|Leo}}<br>{{driver|Geraldine Muir|Geraldine|flag=GB}}
| broadcast            = [https://www.youtube.com/watch?v=TuNu700qcyw NDR TV (YouTube)]
| prev                 = [[Previous Race]]
| next                 = [[Next Race]]
}}