Creating templates

do i have to create a seperate template for every functionality like popup,popover and other things