Open block by template