Difference between revisions of "Template:Fake heading/doc"
Jump to navigation
Jump to search
imported>Gadget850 (update) |
imported>Gadget850 (see also) |
||
| Line 23: | Line 23: | ||
==HTML== | ==HTML== | ||
| − | Section heading wikimarkup is rendered to HTML [[HTML element#h1|heading | + | Section heading wikimarkup is rendered to HTML [[HTML element#h1|heading elements]], {{tag|h1|o}} through {{tag|h6|o}}, styled as follows: |
{| class="wikitable" | {| class="wikitable" | ||
| Line 42: | Line 42: | ||
|- | |- | ||
|} | |} | ||
| + | |||
| + | ==See also== | ||
| + | * {{tl|Dummy ref}}: replicate in-text references {{Dummy ref}} | ||
| + | * {{tl|Dummy backlink}}: replicate footnote backlinks {{Dummy backlink}} | ||
| + | * {{tl|Fake citation needed}}: replicate {{Fake citation needed}} | ||
<includeonly> | <includeonly> | ||
[[Category:Documentation assistance templates]] | [[Category:Documentation assistance templates]] | ||
</includeonly> | </includeonly> | ||
Revision as of 02:21, 18 May 2013
Contents
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.
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|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> |
font size 188%; bottom border |
== Heading == |
<h2> |
font size 150%; bottom border |
=== Heading === |
<h3> |
font size 132%; bold |
==== Heading ==== |
<h4> |
font size 116%; bold |
===== Heading ===== |
<h5> |
font size 100%; bold |
====== Heading ====== |
<h6> |
font size 80%; bold |
See also
- {{Dummy ref}}: replicate in-text references [1]
- {{Dummy backlink}}: replicate footnote backlinks ^
- {{Fake citation needed}}: replicate [citation needed]