Template:Fake heading/doc

From Absit Omen Lexicon
< Template:Fake heading
Revision as of 17:59, 5 December 2015 by Cody (talk | contribs) (Created page with "==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 H:TOC|ta...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

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

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>