How about documenting template parameters with the \tparam command? 
http://www.stack.nl/~dimitri/doxygen/manual/commands.html#cmdtparam