creates missing templates. adds textual content.