Create and instantiate templates using parameters