F/add tf template

as a side-effect of $(format-cim), this is another useful feature that allows the user to invoke a template function, within another template with the $(template) template function.