Ticket #6172: Properly grok %type%... template parameters.

Hi,

This patch fixes this ticket by properly considering template parameter lists containing %type%... arguments as valid. Thanks to consider merging.

Cheers,
 Simon