raise an TemplateSyntaxError exception with an argument string "%s requires %d arguments, %d provided",
raise TemplateSyntaxError ( "%s requires %d arguments, %d provided" % ( name , alen - dlen , plen ) )