Template:Fake heading/doc View history

This is a documentation subpage for Template:Fake heading.
It contains usage information, categories and other content that is not part of the original template page.

Usage

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.

Parameters

  • |sub= is the level number: 2 through 6. The default is 2.
  • An unnamed parameter is used for the section title.

Example

Markup Renders asTemplate:For loop

HTML

Section heading wikimarkup is rendered to HTML heading elements, <h1> through <h6>, styled as follows: {{#lst:Help:HTML in wikitext|HTML_section}}

See also