Jump to content

Template:Fake heading/doc: Difference between revisions

From pool
[checked revision][checked revision]
Content deleted Content added
Created page with "{{documentation subpage}} {{ombox|type = content|text = Don't use this template in articles. See WP:PSEUDOHEAD}}{{Commons Import}} {{template shortcut|Fake header|Fake tit..."
 
No edit summary
Line 1: Line 1:
{{documentation subpage}}
{{documentation subpage}}
{{ombox|type = content|text = Don't use this template in articles. See [[WP:PSEUDOHEAD]]}}{{Commons Import}}
{{ombox|type = content|text = Don't use this template in articles. Screen readers and other assistive technology can only use headings that have heading markup for navigation.}}{{Commons Import}}
{{template shortcut|Fake header|Fake title|Fakeheader|Fakeheading|Pseudoheading}}
{{template shortcut|Fake header|Fake title|Fakeheader|Fakeheading|Pseudoheading}}



Revision as of 15:34, 18 October 2020

Usage

This template is used to create examples of section heading wiki markup in help and similar pages and should NOT be used in articles. Fake headings do not appear in the table of contents. They are styled to appear the same as the default heading styles in the Vector skin, and will not be influenced by custom CSS or skins.

Parameters

  • |level= or |sub= is the level number: valid values are 1 through 6. The default is 2 (equivalent of a == Main heading == (level 1 is equivalent to page title).
  • An unnamed parameter (which can also be specified as |1=) is used for the section title.

Example

Markup Renders as
{{fake heading|sub=1|Heading 1}}
{{fake heading|sub=2|Heading 2}}
{{fake heading|sub=3|Heading 3}}
{{fake heading|sub=4|Heading 4}}
{{fake heading|sub=5|Heading 5}}
{{fake heading|sub=6|Heading 6}}
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6

See also

Template:Fake template list