User:QuickNick/R/ProfitRaces2a

|-{{#if:{{{5|}}} | {{#vardefine:$count|{{#expr:{{#var:$count}}+1}}}}{{#vardefine:$event | {{Events | {{{5}}} }} }}{{#ifeq: {{#var:$event}} | Formula E | {{#vardefine:$eventLink | {{#var:$event}} (Event) }} | {{#vardefine:$eventLink | {{#var:$event}} }} }}{{#if:{{{6|}}} | {{#vardefine:$track | {{EventTracks | {{{6}}} }} }} }}{{#if:{{{S|}}} | {{#vardefine:$variant | {{EventTrackVariants | {{{S}}} }} }} }}{{#if:{{{D|}}} | {{#vardefine:$daytime | {{TimeVariant | {{{D}}} }} }} }} {{{4}}} | ? }} {{#var:$daytime}} | #default = ({{#var:$daytime}}) }} }}{{#if:{{{S|}}} | {{#var:$variant}} }}{{#if:{{{R|}}} | Rolling Start }}{{#if:{{{B|}}} | Battery {{{B}}}% }} {{#if:{{{L|}}} | {{#ifeq:{{{L}}} | ? | ? | {{FormatNo | {{{L}}} }} }} | - }}
 * style="background-color: #56758D; color: white;" data-sort-value={{#var:$count}} | {{#if: {{{1|}}} | {{{1}}} | ? }}
 * style="background-color: #56758D;" | {{#if: {{{2|}}} | }}}|{{!}}{{{ALT}}}}} | ? }}
 * style="background-color: #56758D; color: white;" | {{#if:{{{3|}}} | {{{3}}}
 * style="background-color: #56758D; color: white; line-height:9px;" data-sort-value="{{#var:$event}}" | {{#if:{{{5|}}} | Event {{#var:$event}}.png {{#var:$event}} | ? }}
 * {{#if:{{{6|}}} | {{#var:$track}} | ? }}{{#if:{{{D|}}} | {{#switch: {{#var:$track}} | Formula E Hong Kong Circuit =

{{#if:{{{PR|}}} | {{#ifeq:{{{PR}}} | ? | ? | {{FormatPR | {{{PR}}} }} }} | — }}

{{#if:{{{7|}}} | {{{7}}} | — }} {{#if: {{{8|}}} | {{FormatR$|{{{8}}}}} | - }}

{{#if: {{{10|}}} | {{FormatNo|{{{10}}}}} | - }} {{#if: {{{9|}}} | {{FormatNo|{{{9}}}}} | - }}

{{#if: {{{11|}}} | {{FormatNo|{{{11}}}}} | - }} Most Profitable {| class="wikitable sortable" style="text-align: center; border: 2px solid #6C93B1; width: 100%;" ! style="background-color: #6C93B1; color: white; width: 32px;" data-sort-type="number" | Index
 * Index. Career index as per Series & Special Events.
 * Series. Series name. Links to Series page.
 * Tier. Tier & Event Number. Tier name.
 * Event. Event type.
 * Location. Track, variant and additional race information.
 * Laps, PR, Time. Number of Laps. Required PR. Time taken for event.
 * R$. Total R$ and R$ per minute. Does not include CRB.
 * Fame. Total Fame and Fame per minute.

! style="background-color: #6C93B1; color: white; width: 130px;" | Series

! style="background-color: #6C93B1; color: white; width: 120px;" class="unsortable" | Tier ! style="background-color: #6C93B1; color: white; width: 60px;" | Event

! style="background-color: #6C93B1; color: white; width: 170px;" | Location

! style="background-color: #6C93B1; color: white;" class="unsortable" | Laps PR Time ! style="background-color: #6C93B1; color: white;" data-sort-type="number" | R$

! style="background-color: #6C93B1; color: white;" data-sort-type="number" | Fame

{{User:QuickNick/R/ProfitRaces2|2.2|NASCAR All-Star Series|19.2|Turbo Burst Speedway 40|NASCAR|Daytona International Speedway|S=Speedway|R=Y|L=10|PR=53|7:34|31700|5800|4189|767}} {{User:QuickNick/R/ProfitRaces2|2.2|NASCAR All-Star Series|20.1|Flag Racing Prime 39|NASCAR|Circuit de Catalunya|S=National Circuit|R=Y|L=8|PR=53|7:58|32400|5900|4067|741}} {{User:QuickNick/R/ProfitRaces2|2.2|NASCAR All-Star Series|22.2|Flag Racing American All-Star 65|NASCAR|Indianapolis Motor Speedway|S=Speedway|R=Y|L=10|PR=55|7:40|32900|6000|4291|783}} {{User:QuickNick/R/ProfitRaces2|2.2|NASCAR All-Star Series|22.3|Flag Racing American All-Star 65|NASCAR|Daytona International Speedway|S=Speedway|D=Evening|R=Y|L=12|PR=55|8:45|39900|7300|4560|834}} {{User:QuickNick/R/ProfitRaces2|6.3|Classic Ferrari Showdown|2.1|Ferrari F40 Showcase|Cup|Circuit des 24 Heures|L=2|6:56|37600|6900|5423|995}} {{User:QuickNick/R/ProfitRaces2|6.3|Classic Ferrari Showdown|5.1|Ferrari F50 Showcase|Cup|Circuit des 24 Heures|D=Morning|L=2|6:54|40600|7400|5884|1072}} {{User:QuickNick/R/ProfitRaces2|6.3|Classic Ferrari Showdown|21.3|Cloudmusiq Battle Of Maranello|Cup|Circuit des 24 Heures|D=Night|L=4|PR=58|13:37|83200|15200|6110|1116}} {{User:QuickNick/R/ProfitRaces2|6.3.1|Ferrari Heritage Hustle|14.2|Speedrush TV Tour of Le Mans|Cup|Circuit des 24 Heures|L=2|PR=68|6:55|30900|5700|4467|824}} {{User:QuickNick/R/ProfitRaces2|8.2.1|Spider Showdown|20.2|Speedrush TV Launch Speed Championship|Cup|Circuit des 24 Heures|L=4|PR=67|12:30|51500|9400|4120|752}} {{User:QuickNick/R/ProfitRaces2|8.3.2|Masters of Speed|22.2|Speed Barons|Cup|Circuit des 24 Heures|D=Morning|L=5|PR=85|16:29|71800|13100|4356|795}} {{User:QuickNick/R/ProfitRaces2|8.4|Vertex Series|18.3|Speedrush TV Speed Quest|Cup|Circuit de Spa-Francorchamps|L=4|PR=80|7:17|30900|5700|4243|783}} {{User:QuickNick/R/ProfitRaces2|8.4|Vertex Series|22.3|Mastre Vertex Crown|Cup|Silverstone|S=The Grand Prix Circuit|L=5|PR=85|7:45|33300|6100|4297|787}} {{User:QuickNick/R/ProfitRaces2|8.4.2|Endurance Kings|22.1|Mastare Prototype Championship|Cup|Circuit des 24 Heures|L=10|PR=86|26:47|155700|28400|5813|1060}} {{User:QuickNick/R/ProfitRaces2|8.4.2|Endurance Kings|22.2|Mastare Prototype Championship|Cup|Circuit des 24 Heures|D=Night|L=10|PR=86|26:47|155700|28400|5813|1060}} {{User:QuickNick/R/ProfitRaces2|8.5|RACING SPIRIT|10.1|Turbo Burst Sarthe Sunrise-To-Sunset|Cup|Circuit des 24 Heures|D=Morning|L=2|PR=78|6:31|39200|7200|6015|1105}} {{User:QuickNick/R/ProfitRaces2|8.5.1|Concept Car Clash|19.1|Long Road Rumble|Cup|Circuit des 24 Heures|D=Evening|L=4|PR=85|12:33|59900|10900|4773|869}} {{User:QuickNick/R/ProfitRaces2|8.5.2|Endurance Champions|7.2|Endurance Kickoff|Cup|Circuit des 24 Heures|R=Y|L=6|PR=92|16:26|82400|15000|5014|913}} {{User:QuickNick/R/ProfitRaces2|8.5.2|Endurance Champions|11.3|Evening Endurance|Cup|Circuit des 24 Heures|D=Evening|R=Y|L=7|PR=93|18:56|99800|18200|5271|961}} {{User:QuickNick/R/ProfitRaces2|8.5.2|Endurance Champions|16.1|Midnight Marathon|Cup|Circuit des 24 Heures|D=Night|R=Y|L=8|PR=94|22:02|120400|21900|5464|994}} {{User:QuickNick/R/ProfitRaces2|8.5.2|Endurance Champions|19.1|Daybreak Dash|Cup|Circuit des 24 Heures|D=Morning|R=Y|L=9|PR=95|24:36|137800|25100|5602|1020}} {{User:QuickNick/R/ProfitRaces2|8.5.2|Endurance Champions|22.2|Endurance End|Cup|Circuit des 24 Heures|R=Y|L=10|PR=96|27:45|158400|28800|5708|1038}} {{User:QuickNick/R/ProfitRaces2|8.6|McLaren Generations|2.1|McLaren F1 GTR Showcase|Cup|Circuit des 24 Heures|D=Morning|L=2|6:28|30000|5500|4639|851}} {{User:QuickNick/R/ProfitRaces2|8.6|McLaren Generations|7.1|The Endurance Legend Begins|Cup|Circuit des 24 Heures|D=Morning|L=4|PR=67|11:31|61900|11300|5375|981}} {{User:QuickNick/R/ProfitRaces2|8.6|McLaren Generations|11.1|McLaren P1™ GTR Showcase|Cup|Circuit des 24 Heures|D=Morning|L=2|6:01|30700|5600|5102|931}} {{User:QuickNick/R/ProfitRaces2|8.6|McLaren Generations|16.1|The Endurance Legend Continues|Cup|Circuit des 24 Heures|D=Night|L=5|PR=79|14:29|77400|14100|5344|974}} {{User:QuickNick/R/ProfitRaces2|8.6|McLaren Generations|22.1|The Endurance Legend Grand Finale|Cup|Circuit des 24 Heures|D=Night|L=6|PR=93|17:07|92900|16900|5427|987}} {{User:QuickNick/R/ProfitRaces2|8.6.2|Hypercar Charge|13.3|Mega Extended Trial|Cup|Circuit des 24 Heures|L=3|PR=87|8:32|42200|7700|4945|902}} {{User:QuickNick/R/ProfitRaces2|8.7.2|Group C: Porsche vs Jaguar|20.3|TIER 20|Cup|Circuit des 24 Heures|L=4|PR=88|11:29|48600|8900|4232|775}} {{User:QuickNick/R/ProfitRaces2|8.8|Campionato Scuderia Ferrari|4.2|Hockenheim Grand Prix|Cup|Hockenheimring|S=Grand Prix Circuit|L=6|PR=105|7:22|38500|7400|5226|1005}} {{User:QuickNick/R/ProfitRaces2|8.8|Campionato Scuderia Ferrari|9.2|Dubai Grand Prix|Cup|Dubai Autodrome|S=Grand Prix Circuit|L=6|PR=113|8:45|40600|7400|4640|846}} {{User:QuickNick/R/ProfitRaces2|8.8|Campionato Scuderia Ferrari|14.2|Suzuka Grand Prix|Cup|Suzuka Circuit|S=Grand Prix Circuit|L=8|PR=121|12:00|58000|10600|4833|883}} {{User:QuickNick/R/ProfitRaces2|8.8|Campionato Scuderia Ferrari|16.1|Flag Racing Euro Race Day|Cup|Circuit de Spa-Francorchamps|L=6|PR=122|9:50|51500|9400|5237|956}} {{User:QuickNick/R/ProfitRaces2|8.8|Campionato Scuderia Ferrari|16.2|Flag Racing Euro Race Day|Head To Head|Circuit des 24 Heures|D=Evening|L=1|2:54|28200|5200|9724|1793}} {{User:QuickNick/R/ProfitRaces2|8.8|Campionato Scuderia Ferrari|16.3|Flag Racing Euro Race Day|Cup|Autodromo Nazionale Monza|S=Road Course|L=8|PR=123|9:24|52900|9700|5628|1032}} {{User:QuickNick/R/ProfitRaces2|8.8.2|Ferrari Evolution|22.1|Mastare Marathon Finale|Cup|Circuit des 24 Heures|L=3|PR=123|8:41|52500|9600|6046|1106}} {{User:QuickNick/R/ProfitRaces2|9.12|Ferrari FXX K (Exclusive Series)|15.3|TIER 15|Cup|Mount Panorama|L=5|PR=96.3|7:30|33900|6200|4520|827}} {{User:QuickNick/R/ProfitRaces2|9.12|Ferrari FXX K (Exclusive Series)|16.1|TIER 16|Cup|Circuit des 24 Heures|D=Evening|L=3|PR=96.3|8:25|36500|6700|4337|796}} {{User:QuickNick/R/ProfitRaces2|9.13|Koenigsegg Regera (Exclusive Series)|9.1|TIER 9|Cup|Circuit des 24 Heures|D=Evening|L=5|PR=94.4|14:06|62100|11300|4404|801}} {{User:QuickNick/R/ProfitRaces2|9.16|McLaren MP4-X (Exclusive Series)|3.1|TIER 3|Endurance|Circuit des 24 Heures|L=3|PR=145.2|7:30|75300|13800|10040|1840}} {{User:QuickNick/R/ProfitRaces2|9.16|McLaren MP4-X (Exclusive Series)|3.1|TIER 3|Endurance|Circuit des 24 Heures|L=4|PR=145.2|10:00|100400|18400|10040|1840}}

{{End}} Notes:
 * Starting a table column entry with "!" causes the contents to be bold! Starting with "|" doesn't.
 * This and User:QuickNick/R/ProfitRaces3 use the same data, just a different template.
 * Added &lt;br&gt; to every sortable column header to push sort buttons to next line. I think it looks better.
 * Added column separator lines (removed invisible border) because it was looking rather cluttered.