Template:Fake heading/doc View history

(Created doc page for template)
 
(removed unneeded code)
Line 1: Line 1:
{{doc subpage}}
{{doc subpage}}
{{template shortcut|Fake header|Fake title|Fakeheader|Fakeheading|Pseudoheading}}


==Usage==
==Usage==

Revision as of 07:34, 19 April 2014

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