Add Twig extension for player name