This example template shows to use {{ #invoke:params| with_name_not_matching|...}} to check for unknown parameters.
For instance, writing
{{module:params/doc/examples/check for unknown parameters
| hello = world
| wind = surfing
}}
will generate
while writing
{{module:params/doc/examples/check for unknown parameters
| hello = world
| wind = surfing
| wrong = ups!
}}
will generate
|hello=
and |wind=
.For simple cases like this specialized modules are available; you might want to have a look at: