Module:Params/doc/examples/check for unknown parameters/doc

This example template shows to use to check for unknown parameters.

Usage
For instance, writing

will generate



while writing

will generate



For simple cases like this specialized modules are available; you might want to have a look at: