Template:SetTournamentVariables