{extends 'tpl.main'} {block 'vars'} {set $name = $_modx->resource.common_name ~~ $_modx->resource.pagetitle} {set $title = 'app.player_title' | lexicon : ['name' => $name]} {set $description = 'app.player_desc' | lexicon : ['name' => $_modx->resource.common_name_p ?: $name]} {parent} {/block} {block 'critical'} {/block} {block 'styles'} {/block} {block 'content'}
{$_modx->resource.player_number}
{/if}{('app.player_stat_' ~ $k) | lexicon} {switch $k} {case 'toi'} {$khl->formatToi($stat[$k])} {case 'toi_avg'} {$khl->formatToiAvg($stat[$k])} {default} {$stat[$k]} {/switch} {if $show_meas? and $stat[$k] !== '-'} {('app.player_stat_' ~ $k ~ '_meas') | lexicon} {/if}
{/if} {/foreach}