template span change