added template attribute