Base for template