adds template field to advanced settings. fixes #1952

fixes #1952