User:QuickNick/R/ProfitRaces3b

|-{{#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:{{{9|}}} | {{{9}}} | — }} {{#if: {{{7|}}} | {{FormatR$|{{{7}}}}} | - }}

{{#if: {{{8|}}} | {{FormatNo|{{{8}}}}} | - }} {{#if: {{{7|}}} | {{#if:{{{9|}}} | {{#iferror: {{formatnum: {{#expr: {{formatnum:{{{7}}}|R}} / ( {{#time: i | {{#pad:{{{9}}}|8|00:|left}} }} + {{#time: s | {{#pad:{{{9}}}|8|00:|left}} }} / 60) round 0}} }}
 * error }} | - }} | - }}

{{#if: {{{8|}}} | {{#if:{{{9|}}} | {{#iferror: {{formatnum: {{#expr: {{formatnum:{{{8}}}|R}} / ( {{#time: i | {{#pad:{{{9}}}|8|00:|left}} }} + {{#time: s | {{#pad:{{{9}}}|8|00:|left}} }} / 60) round 0}} }} 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
 * error }} | - }} | - }}
 * 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$, Fame. Total R$ and Fame. Does not include CRB.
 * Fame. R$ and Fame per minute. Does not include CRB.

! 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$ Fame

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

{{User:QuickNick/R/ProfitRaces3b|2.2|NASCAR All-Star Series|19.2|Turbo Burst Speedway 40|NASCAR|Daytona International Speedway|S=Speedway|R=Y|L=10|PR=53|31700|5800|7:34}} {{User:QuickNick/R/ProfitRaces3b|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|32400|5900|7:58}} {{User:QuickNick/R/ProfitRaces3b|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|32900|6000|7:40}} {{User:QuickNick/R/ProfitRaces3b|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|39900|7300|8:45}} {{User:QuickNick/R/ProfitRaces3b|6.3|Classic Ferrari Showdown|2.1|Ferrari F40 Showcase|Cup|Circuit des 24 Heures|L=2|37600|6900|6:56}} {{User:QuickNick/R/ProfitRaces3b|6.3|Classic Ferrari Showdown|5.1|Ferrari F50 Showcase|Cup|Circuit des 24 Heures|D=Morning|L=2|40600|7400|6:54}} {{User:QuickNick/R/ProfitRaces3b|6.3|Classic Ferrari Showdown|21.3|Cloudmusiq Battle Of Maranello|Cup|Circuit des 24 Heures|D=Night|L=4|PR=58|83200|15200|13:37}} {{User:QuickNick/R/ProfitRaces3b|6.3.1|Ferrari Heritage Hustle|14.2|Speedrush TV Tour of Le Mans|Cup|Circuit des 24 Heures|L=2|PR=68|30900|5700|6:55}} {{User:QuickNick/R/ProfitRaces3b|8.2.1|Spider Showdown|20.2|Speedrush TV Launch Speed Championship|Cup|Circuit des 24 Heures|L=4|PR=67|51500|9400|12:30}} {{User:QuickNick/R/ProfitRaces3b|8.3.2|Masters of Speed|22.2|Speed Barons|Cup|Circuit des 24 Heures|D=Morning|L=5|PR=85|71800|13100|16:29}} {{User:QuickNick/R/ProfitRaces3b|8.4|Vertex Series|18.3|Speedrush TV Speed Quest|Cup|Circuit de Spa-Francorchamps|L=4|PR=80|30900|5700|7:17}} {{User:QuickNick/R/ProfitRaces3b|8.4|Vertex Series|22.3|Mastre Vertex Crown|Cup|Silverstone|S=The Grand Prix Circuit|L=5|PR=85|33300|6100|7:45}} {{User:QuickNick/R/ProfitRaces3b|8.4.2|Endurance Kings|22.1|Mastare Prototype Championship|Cup|Circuit des 24 Heures|L=10|PR=86|155700|28400|26:47}} {{User:QuickNick/R/ProfitRaces3b|8.4.2|Endurance Kings|22.2|Mastare Prototype Championship|Cup|Circuit des 24 Heures|D=Night|L=10|PR=86|155700|28400|26:47}} {{User:QuickNick/R/ProfitRaces3b|8.5|RACING SPIRIT|10.1|Turbo Burst Sarthe Sunrise-To-Sunset|Cup|Circuit des 24 Heures|D=Morning|L=2|PR=78|39200|7200|6:31}} {{User:QuickNick/R/ProfitRaces3b|8.5.1|Concept Car Clash|19.1|Long Road Rumble|Cup|Circuit des 24 Heures|D=Evening|L=4|PR=85|59900|10900|12:33}} {{User:QuickNick/R/ProfitRaces3b|8.5.2|Endurance Champions|7.2|Endurance Kickoff|Cup|Circuit des 24 Heures|R=Y|L=6|PR=92|82400|15000|16:26}} {{User:QuickNick/R/ProfitRaces3b|8.5.2|Endurance Champions|11.3|Evening Endurance|Cup|Circuit des 24 Heures|D=Evening|R=Y|L=7|PR=93|99800|18200|18:56}} {{User:QuickNick/R/ProfitRaces3b|8.5.2|Endurance Champions|16.1|Midnight Marathon|Cup|Circuit des 24 Heures|D=Night|R=Y|L=8|PR=94|120400|21900|22:02}} {{User:QuickNick/R/ProfitRaces3b|8.5.2|Endurance Champions|19.1|Daybreak Dash|Cup|Circuit des 24 Heures|D=Morning|R=Y|L=9|PR=95|137800|25100|24:36}} {{User:QuickNick/R/ProfitRaces3b|8.5.2|Endurance Champions|22.2|Endurance End|Cup|Circuit des 24 Heures|R=Y|L=10|PR=96|158400|28800|27:45}} {{User:QuickNick/R/ProfitRaces3b|8.6|McLaren Generations|2.1|McLaren F1 GTR Showcase|Cup|Circuit des 24 Heures|D=Morning|L=2|30000|5500|6:28}} {{User:QuickNick/R/ProfitRaces3b|8.6|McLaren Generations|7.1|The Endurance Legend Begins|Cup|Circuit des 24 Heures|D=Morning|L=4|PR=67|61900|11300|11:31}} {{User:QuickNick/R/ProfitRaces3b|8.6|McLaren Generations|11.1|McLaren P1™ GTR Showcase|Cup|Circuit des 24 Heures|D=Morning|L=2|30700|5600|6:01}} {{User:QuickNick/R/ProfitRaces3b|8.6|McLaren Generations|16.1|The Endurance Legend Continues|Cup|Circuit des 24 Heures|D=Night|L=5|PR=79|77400|14100|14:29}} {{User:QuickNick/R/ProfitRaces3b|8.6|McLaren Generations|22.1|The Endurance Legend Grand Finale|Cup|Circuit des 24 Heures|D=Night|L=6|PR=93|92900|16900|17:07}} {{User:QuickNick/R/ProfitRaces3b|8.6.2|Hypercar Charge|13.3|Mega Extended Trial|Cup|Circuit des 24 Heures|L=3|PR=87|42200|7700|8:32}} {{User:QuickNick/R/ProfitRaces3b|8.7.2|Group C: Porsche vs Jaguar|20.3|TIER 20|Cup|Circuit des 24 Heures|L=4|PR=88|48600|8900|11:29}} {{User:QuickNick/R/ProfitRaces3b|8.8|Campionato Scuderia Ferrari|4.2|Hockenheim Grand Prix|Cup|Hockenheimring|S=Grand Prix Circuit|L=6|PR=105|38500|7400|7:22}} {{User:QuickNick/R/ProfitRaces3b|8.8|Campionato Scuderia Ferrari|9.2|Dubai Grand Prix|Cup|Dubai Autodrome|S=Grand Prix Circuit|L=6|PR=113|40600|7400|8:45}} {{User:QuickNick/R/ProfitRaces3b|8.8|Campionato Scuderia Ferrari|14.2|Suzuka Grand Prix|Cup|Suzuka Circuit|S=Grand Prix Circuit|L=8|PR=121|58000|10600|12:00}} {{User:QuickNick/R/ProfitRaces3b|8.8|Campionato Scuderia Ferrari|16.1|Flag Racing Euro Race Day|Cup|Circuit de Spa-Francorchamps|L=6|PR=122|51500|9400|9:50}} {{User:QuickNick/R/ProfitRaces3b|8.8|Campionato Scuderia Ferrari|16.2|Flag Racing Euro Race Day|Head To Head|Circuit des 24 Heures|D=Evening|L=1|28200|5200|2:54}} {{User:QuickNick/R/ProfitRaces3b|8.8|Campionato Scuderia Ferrari|16.3|Flag Racing Euro Race Day|Cup|Autodromo Nazionale Monza|S=Road Course|L=8|PR=123|52900|9700|9:24}} {{User:QuickNick/R/ProfitRaces3b|8.8.2|Ferrari Evolution|22.1|Mastare Marathon Finale|Cup|Circuit des 24 Heures|L=3|PR=123|52500|9600|8:41}} {{User:QuickNick/R/ProfitRaces3b|9.12|Ferrari FXX K (Exclusive Series)|15.3|TIER 15|Cup|Mount Panorama|L=5|PR=96.3|33900|6200|7:30}} {{User:QuickNick/R/ProfitRaces3b|9.12|Ferrari FXX K (Exclusive Series)|16.1|TIER 16|Cup|Circuit des 24 Heures|D=Evening|L=3|PR=96.3|36500|6700|8:25}} {{User:QuickNick/R/ProfitRaces3b|9.13|Koenigsegg Regera (Exclusive Series)|9.1|TIER 9|Cup|Circuit des 24 Heures|D=Evening|L=5|PR=94.4|62100|11300|14:06}} {{User:QuickNick/R/ProfitRaces3b|9.16|McLaren MP4-X (Exclusive Series)|3.1|TIER 3|Endurance|Circuit des 24 Heures|L=3|PR=145.2|75300|13800|7:30}} {{User:QuickNick/R/ProfitRaces3b|9.16|McLaren MP4-X (Exclusive Series)|3.1|TIER 3|Endurance|Circuit des 24 Heures|L=4|PR=145.2|100400|18400|10:00}}

{{End}} Notes:
 * Starting a table column entry with "!" causes the contents to be bold! Starting with "|" doesn't.
 * This and User:QuickNick/R/ProfitRaces2a 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.