{{define "matches"}}{{template "top" .}} {{- with .Data}}
A name finds the matches played under it then or by whoever has it now: a player reporting a cheater by the name the game showed finds the match, and the cheater's Steam ID.
{{if or .Query .Kind}}No match found.{{else}}No match recorded yet.{{end}}{{if gt .Page 1}} Back to the newest{{end}}
{{- end}}| Started | Players | Kind | Length | Result |
|---|---|---|---|---|
| {{template "ago" (at $.Now .Started)}} | {{- range $i, $p := .Players}}{{if $i}}vs{{end}} {{- if eq (print $p.SteamID) $.Self}}{{$p.Name}}{{else}}{{$p.Name}}{{end}} {{- if gt $p.LocalPlayers 1}} x{{$p.LocalPlayers}}{{end}} {{- if eq $p.Won 1}} won{{else if eq $p.Won 0}} lost{{end}} {{- end}} | {{if eq .Kind "ranked"}}Ranked{{else}}Player match{{end}} | {{if .Open}}in play{{else}}{{.Took}}{{end}} | {{.ResultText}} |