Template:Fake heading/doc

Template:Fake heading on Wikipedia


This template is used to create examples of section heading wikimarkup in help and similar pages. A fake heading will not appear in the table of contents. They are styled as default, and will not be influenced by custom CSS.

Note that level 1 headings are only used for article titles in wikipedia, and should not be used within articles.

Parameters

  • |title= or an unnamed first parameter is used for the section title.
  • |sub= is the level number: 2 through 6. The default is 2.
  • |level= is the same as |sub=, and is kept for compatibility with the usage in the former Header template.

Example

Markup Renders as
{{fake heading|Heading 2}}
{{fake heading|sub=3|Heading 3}}
{{fake heading|Heading 4|level=4}}
{{fake heading|Sub=5|Title=Heading 5}}
{{fake heading|title=Heading 6|level=6}}
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6

See also