Add base to tmpl