{{/* gotype: github.com/cj123/assetto-server-manager.championshipViewTemplateVars */}} {{ define "title" }}{{ .Championship.Name }}{{ end }} {{ define "content" }}
| Class | {{ end }}# | Driver | {{ if $championship.HasTeamNames }}Team | {{ end }}Points | {{ if WriteAccess }}Actions | {{ end }}
|---|---|---|---|---|---|
| {{ $class.Name }} | {{ end }} {{ end }}{{ add $i 1 }} | {{ driverName $entrant.Car.Driver.Name }} {{ $driverPenalty := $class.PenaltyForGUID $entrant.Car.Driver.GUID }} {{ if gt $driverPenalty 0 }} Points Penalty: {{ $driverPenalty }} {{ end }} | {{ if $championship.HasTeamNames }}{{ $entrant.TeamSummary }} | {{ end }}{{ $entrant.Points }} | {{ if WriteAccess }}{{ end }} |
| Class | {{ end }}# | Team | Points | {{ if WriteAccess }}Actions | {{ end }}
|---|---|---|---|---|
| {{ $class.Name }} | {{ end }} {{ end }}{{ add $i 1 }} | {{ $team.Team }} {{ $teamPenalty := $class.PenaltyForTeam $team.Team }} {{ if gt $teamPenalty 0 }} Points Penalty: {{ $teamPenalty }} {{ end }} | {{ $team.Points }} | {{ if WriteAccess }}{{ end }} |
| Class | {{ end }}# | Driver | {{ if $championship.HasTeamNames }}Team | {{ end }}Car | Attendance |
|---|---|---|---|---|---|
| {{ $class.Name }} | {{ end }} {{ end }}{{ add $i 1 }} | {{ driverName $entrant.Name }} | {{ if $championship.HasTeamNames }}{{ $entrant.Team }} | {{ end }}{{ prettify $entrant.Model true }} / {{ prettify $entrant.Skin false }} | {{ $championship.EntrantAttendance $entrant.GUID }} / {{ $championship.NumCompletedEvents }} |
| {{ $class.Name }} | {{ end }}{{ $entrant.Name }} | ||||
| Class | {{ end }}Place | Points |
|---|---|---|
| {{ $class.Name }} | {{ end }} {{ end }}{{ add $i 1 }}{{ ordinal (add $i 1) }} | {{ $pts }} |
| Fastest Race Lap | {{ $class.Points.BestLap }} | |
| Best Qualifying Lap | {{ $class.Points.PolePosition }} | |
| Collision with Other Car | -{{ $class.Points.CollisionWithDriver }} | |
| Collision with Environment | -{{ $class.Points.CollisionWithEnv }} | |
| Cut Track | -{{ $class.Points.CutTrack }} | |
| Second Race Points Multiplier | {{ $class.Points.SecondRaceMultiplier }} |
{{ driverName $entrant.Car.Driver.Name }}
{{ $entrant.Car.Driver.Team }}
This Championship currently has {{ len $championship.Events }} events configured.