Community Archive
Template:MakeHeader
Introduction
This template generates either a Wikitext header or a "fake" header that mimics the actual H1-H6 elements, including the styles used in main.css for the site.
If either of the following cases are True, a fake header will be generated.
- Current namespace is Template
- The h parameter is set to n
If neither of the cases are True, a Wikitext header will be generated.
The template is meant to be used where a real header would be undesirable due to appearing in the TOC and having an Edit link, especially in the Template: namespace.
Usage
Syntax
{{MakeHeader|<text>|<level>|<color>|<border>|<style>|h=}}
Text Only
{{MakeHeader|<text>}}
Basic
{{MakeHeader|<text>|<level>}}
Custom Color
{{MakeHeader|<text>|<level>|<color>}}
Custom Style
{{MakeHeader|<text>|<level>|||<style>}}
Parameters
All parameters are optional except the first one (text).
- text: The text to display in the header.
- level: The header level to generate. Valid values are 1 through 6.
The value matches the Wikitext equal-sign count. (ie.===Some Header===→ 3)
The default value is 2. - color: Custom color for the heading text. Valid CSS values are accepted.
- border: Custom color for the underline. Valid CSS values are accepted.
- style: Any additional values to put in the style attribute.
Must be in the standard format of<name>:<value>;<name>:<value>;
- h: Suppress the Wikitext header by setting this to n.
Note
When a Wikitext header is rendered, the custom styles (parameter 3-5) are ignored due to Wikitext limitations.
There isn't a way to provide custom styles to a Wikitext header.
Default Output
Source entry: Template:MakeHeader. Cached on this server on 5 November 2026.