Difference between revisions of "Template:Fake heading/doc"

From Captain of Industry Wiki
Jump to: navigation, search
(Creation)
 
m (fix sandbox other template, specify correct skin)
 
Line 1: Line 1:
==Usage==
==Usage==
This template is used to create examples of section heading [[Wikipedia:Help:Wiki markup|wiki markup]] in help and similar pages and should [[Wikipedia:WP:PSEUDOHEAD|NOT be used in articles]]. Fake headings do not appear in the [[Wikipedia:H:TOC|table of contents]]. They are styled to appear the same as the default heading styles in the Vector [[Wikipedia:WP:Skin|skin]], and will not be influenced by custom [[Wikipedia:Cascading Style Sheets|CSS]] or skins.
This template is used to create examples of section heading [[Wikipedia:Help:Wiki markup|wiki markup]] in help and similar pages and should [[Wikipedia:WP:PSEUDOHEAD|NOT be used in articles]]. Fake headings do not appear in the [[Wikipedia:H:TOC|table of contents]]. They are styled to appear the same as the default heading styles in the DarkVector [[Wikipedia:WP:Skin|skin]], and will not be influenced by custom [[Wikipedia:Cascading Style Sheets|CSS]] or skins.


==Parameters==
==Parameters==
Line 24: Line 24:
}}
}}


<includeonly>{{Sandbox other||
<includeonly>
[[Category:Documentation assistance templates]]
[[Category:Documentation assistance templates]]
}}</includeonly>
</includeonly>

Latest revision as of 09:57, 22 January 2022

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 DarkVector 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