Template:Header

Usage
Use to dynamically create headings of the correct level. Always use  with this template.

The  indicates actual replacement of the template with its result.

This reduces maintenance in case this template would change.

Effect
E.g.: 4

will produce: ====

Omission of the number will not produce anything. Only 1 to 6 are supported, like in MediaWiki itself.