Unfortunately it looks like configuring "WAN failover and failback behavior" on the template is not available for networks in templates. It is not sure when WAN-1 link fails, if it is graceful or immediate failover as failover taking a while for network in a template.