{$smarty.version}

This variable contains the version of Smarty the template was compiled with.