Adds metadata field to templates

[#84148596]