DAR-309, removing empty lines at the end of templates
DAR-309, applying mediawiki code standards
DAR-309, fixing TODO comment