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 | ||
− | | | + | | header1 = {{{race|}}} |
− | + | ||
− | | label2 = | + | | label2 = Organizers |
− | | data2 = {{ | + | | data2 = {{{organizers|}}} |
− | + | ||
− | + | | label3 = Season | |
− | + | | data3 = {{{season|}}} | |
− | + | ||
− | + | | label4 = Date | |
− | }}}} | + | | data4 = {{date|{{{date|}}}}} |
− | | | + | |
− | | | + | | 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 | ||
}}}} | }}}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | + | | label6 = Pole position |
− | | | + | | 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 17:02, 25 June 2025
Template documentation
Infobox race is used to create an infobox which summarizes the main information of a particular race or event.
Usage
Race name | |
---|---|
![]() logo caption if needed |
|
Cool Race | |
Season | 2020 League Season |
Date | 23 May 2020 |
Pole position | (Scawen) | Scawen Roberts
Pole time | 1:23.45 |
Winner | (Eric) | Eric Bailey
Winning team | ScaViEr Solutions |
Fastest lap | 1.25.77 |
Most laps led | 52 |
Pace car | [[FZ50]] |
Pace car driver | (Victor) | Victor van Vlaardingen
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]] }}