Template:Fake heading/doc View history

(removed unneeded code)
(Added category to page)
 
Line 33: Line 33:
<includeonly>
<includeonly>
[[Category:Documentation assistance templates]]
[[Category:Documentation assistance templates]]
[[Category:Incomplete templates]]
</includeonly>
</includeonly>

Latest revision as of 02:35, 17 August 2022

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