<#Roles#> {boximg id='rolelist'}
{foreach name="rlist" from=$rolelist item="r"} {* *} {foreachelse} {/foreach}
{sortheader label="<#Role#>" sort="uniqueid" baseurl="$PHP_SELF?id=$thingid" prefix="r" order=$rorder cursort=$rsort urltail="roles"} {sortheader label="<#Team#>" sort="team" order=$rorder} {sortheader label="<#Kills#>" sort="kills" order=$rorder} {sortheader label="<#Deaths#>" sort="deaths" order=$rorder} {sortheader label="<#Headshots#>" sort="headshotkills" order=$rorder} {sortheader label="<#HS%#>" sort="headshotpct" order=$rorder title="<#Headshot percentage#>"} {sortheader label="<#Accuracy#>" sort="accuracy" order=$rorder} {sortheader label="<#S:K#>" sort="shotsperkill" order=$rorder title="<#Shots per kill#>"} {sortheader label="<#Damage#>" sort="damage" order=$rorder}
{roleimg role=$r}{roleimg role=$r} {$r.team|default:'-'|escape} {$r.kills|commify} {$r.deaths|commify} {$r.headshotkills|commify} {$r.headshotpct|digits2}% {$r.accuracy|digits2}% {$r.shotsperkill} {$r.damage|commify}

<#No roles to display#>

{$rolelist|@count} <#of#> {$thing.totalroles|commify} <#roles shown#> {$rolepager}
{* {foreach name="rlist" from=$rolelist item="r"}
{roleimg role=$r path="large" noimg=" - <#No Image Available#> - "}
{$r.name|default:$r.uniqueid|escape}
{/foreach} *}