మూస:Fake heading/doc
Usage
మార్చుThis template is used to create examples of section heading wikimarkup in help and similar pages. A fake heading will not appear in the table of contents. They are styled as the default in Vector, and will not be influenced by custom CSS or skins.
Parameters
మార్చు|sub=
is the level number: 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}} |
|
HTML
మార్చుSection heading wikimarkup is rendered to HTML heading elements, <h1>
through <h6>
, styled as follows:
Wikimarkup | HTML | Style |
---|---|---|
= Heading = |
<h1> |
color: #000000; 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; |
== Heading == |
<h2> |
color: #000000; 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; |
=== Heading === |
<h3> |
color: #000000; 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; |
==== Heading ==== |
<h4> |
color: #000000; 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; |
===== Heading ===== |
<h5> |
color: #000000; 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; |
====== Heading ====== |
<h6> |
color: #000000; 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; |
See also
మార్చు- {{dummy ref}} to simulate inline references (e.g.
- [1] ).
- {{dummy backlink}} to simulate footnote backlinks (i.e.
- ^ )
- {{Fake citation needed}} to simulate the {{citation needed}} template (i.e. produce [citation needed]).