make templatedefinitions multiline capable