VisualEditor/Portal/TemplateData

To the right you can see images of two templates in the template editor. As you can tell, one is far nicer to modify than the other. The difference is "TemplateData" - a way of storing information about a template so that the VisualEditor can retrieve it.