Added template events
Merge branch 'master' of github.com:WoltLab/WCF