The syntax for parameters is defined by the grammar for TemplateParams:
TemplateParams ::= [ Params ]
Params ::= Param (',' Param)*
Param ::= Type [ & ] ID ArrayDecl*
The TypeId and ArrayDecl non-terminals are defined in the section on declarations. In contrast to global and local declarations the parameter list should not end with a ";"-sign.
Parameters can be either reference parameters og value parameters. See the section on functions for more information.