Template:Fake heading

From Absit Omen Lexicon
(Redirected from Template:Fakeheading)
Section
[view] [edit] [history] [purge] Documentation icon Template documentation

Usage

This template is used to create examples of section heading wiki markup in help and similar pages. Fake headings do not appear in the table of contents.

Parameters

  • |sub= is the level number: valid values are 1 through 6. The default is 2.
  • An unnamed parameter is used for the section title.

Example

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

HTML

Real section heading wiki markup is rendered to HTML heading elements, <h1> through <h6>, styled as follows:

Wikimarkup HTML Style
= Heading = <h1> <source lang="css">color: #45C3B8; background: none; overflow: hidden; page-break-after: avoid; font-size: 1.8em; font-family: Georgia,Times,serif; margin-top: 1em; margin-bottom: 0.25em; line-height: 1.3; padding: 0; border-bottom: 1px solid #AAAAAA;</source>
== Heading == <h2> <source lang="css">color: #45C3B8; background: none; overflow: hidden; page-break-after: avoid; font-size: 1.5em; font-family: Georgia,Times,serif; margin-top: 1em; margin-bottom: 0.25em; line-height: 1.3; padding: 0; border-bottom: 1px solid #AAAAAA;</source>
=== Heading === <h3> <source lang="css">color: #45C3B8; background: none; overflow: hidden; page-break-after: avoid; font-size: 1.17em; font-weight: bold; margin-top: 0.3em; margin-bottom: 0; line-height: 1.6; padding-top: 0.5em; padding-bottom: 0;</source>
==== Heading ==== <h4> <source lang="css">color: #45C3B8; background: none; overflow: hidden; page-break-after: avoid; font-size: 100%; font-weight: bold; margin-top: 0.3em; margin-bottom: 0; line-height: 1.6; padding-top: 0.5em; padding-bottom: 0;</source>
===== Heading ===== <h5> <source lang="css">color: #45C3B8; background: none; overflow: hidden; page-break-after: avoid; font-size: 100%; font-weight: bold; margin-top: 0.3em; margin-bottom: 0; line-height: 1.6; padding-top: 0.5em; padding-bottom: 0;</source>
====== Heading ====== <h6> <source lang="css">color: #45C3B8; background: none; overflow: hidden; page-break-after: avoid; font-size: 100%; font-weight: bold; margin-top: 0.3em; margin-bottom: 0; line-height: 1.6; padding-top: 0.5em; padding-bottom: 0;</source>

The above documentation is transcluded from Template:Fake heading/doc. (edit | history)
Please add categories and interwikis to the /doc subpage. Subpages of this template.