  The embedded template is a geometric tool in dynamics being used to model
knots and links as periodic orbits of $3$-dimensional flows. We prove that for
an embedded template in $S^3$ with fixed homeomorphism type, its boundary as a
trivalent spatial graph is a complete isotopic invariant. Moreover, we
construct an invariant of embedded templates by Kauffman's invariant of spatial
graphs, which is a set of knots and links. As application, the isotopic
classification of simple Smale flows on $S^3$ is discussed.
