Template:Fake heading: Difference between revisions
Jump to navigation
Jump to search
Randombell (talk | contribs) Created page with "{{main other |1={{error|Per WP:PSEUDOHEADING fake headings should not be used in articles.}}Category:Pages with templates in the wrong namespace |2=<templatestyles src="Template:Fake_heading/styles.css" /><div class="fake-heading {{#switch: {{{level|{{{sub|}}}}}} | 1 = h1 | 2 | #default = h2 | 3 = h3 | 4 | 5 | 6 = h4 }}">{{{1|Section}}}</div>}}<noinclude> {{documentation}} <!-- Categories go on the /doc subpage and interwikis go on Wikidata. --> </noinc..." |
(No difference)
|
Latest revision as of 09:39, 20 August 2025
Section
![]() | Don't use this template in articles. See WP:PSEUDOHEAD |
CSS | This template uses TemplateStyles: |
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 usually reserved for the page's title.- An unnamed parameter (which can also be specified as
|1=
) is used for the section title.
Example
Markup | Renders asLua error: expandTemplate: template loop detected.Lua error: expandTemplate: template loop detected.Lua error: expandTemplate: template loop detected.Lua error: expandTemplate: template loop detected.Lua error: expandTemplate: template loop detected.Lua error: expandTemplate: template loop detected.Lua error: expandTemplate: template loop detected.Lua error: expandTemplate: template loop detected.Lua error: expandTemplate: template loop detected.Lua error: expandTemplate: template loop detected.Lua error: expandTemplate: template loop detected.Lua error: expandTemplate: template loop detected.Lua error: expandTemplate: template loop detected.Lua error: expandTemplate: template loop detected.Lua error: expandTemplate: template loop detected.Lua error: expandTemplate: template loop detected.Lua error: expandTemplate: template loop detected.Lua error: expandTemplate: template loop detected.Lua error: expandTemplate: template loop detected.Lua error: expandTemplate: template loop detected. |
---|---|
See also
- {{Heading}}
Template | Appearance |
---|---|
{{fake clarify}} | Template:Fake clarify |
{{fake citation needed}} | [citation needed] |
{{fake verification needed}} | Template:Fake verification needed |
{{fake explain}} | Template:Fake explain |
{{fake heading}} | Section
|
{{fake notes and references}} | Template:Fake notes and references |
{{dummy reference}} | [1] |
{{dummy backlink}} | Template:Dummy backlink |
{{dummy footnote}} | Template:Dummy footnote |
{{fake link}} | Template:Fake link |
{{fake redlink}} | Template:Fake redlink |