Put this in LocalSettings.php after the inclusion of SMW:
$smwgNamespacesWithSemanticLinks[NS_TEMPLATE] = true;
After that do an edit of first your template and then refresh the page it is queried on, and it should show up.
Jeroen De Dauw
Don't panic. Don't be evil.