Put template properties into data