Difference between revisions of "Template:Fake heading/doc"
Jump to navigation
Jump to search
imported>Gadget850 m (Reverted edits by 134.147.69.246 (talk) to last version by Gadget850) |
imported>Isarra m (Just vector) |
||
| Line 2: | Line 2: | ||
==Usage== | ==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 default, and will not be influenced by custom CSS. | + | 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== | ==Parameters== | ||
Revision as of 20:26, 13 October 2014
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. 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:
{{#lst:Help:HTML in wikitext|HTML_section}}
See also
- {{Dummy ref}}: replicate in-text references [1]
- {{Dummy backlink}}: replicate footnote backlinks ^
- {{Fake citation needed}}: replicate [citation needed]