Difference between revisions of "Template:Fake heading/doc"
Jump to navigation
Jump to search
imported>Shellwood m (Reverted edits by 118.92.26.64 (talk) (HG) (3.1.22)) |
imported>SMcCandlish (test edit reverted; Undid revision 810733596 by Bearcatemilymia (talk)) |
||
| Line 1: | Line 1: | ||
| − | + | {{template shortcut|Fake header|Fake title|Fakeheader|Fakeheading|Pseudoheading}} | |
| − | + | ==Usage== | |
| + | This template is used to create examples of section heading [[Help:Wiki markup|wiki markup]] in help and similar pages. Fake headings do not appear in the [[H:TOC|table of contents]]. They are styled to appear the same as the default heading styles in the Vector [[WP:Skin|skin]], and will not be influenced by custom [[Cascading Style Sheets|CSS]] or skins. | ||
| − | + | ==Parameters== | |
| − | + | * {{para|level}} or {{para|sub}} is the level number: valid values are 1 through 6. The default is 2 (equivalent of a <code><nowiki>== Main heading ==</nowiki></code> (level 1 is equivalent to page title). | |
| + | * An unnamed parameter (which can also be specified as {{para|1}}) is used for the section title. | ||
| − | + | ==Example== | |
| − | + | {{markup | |
| + | |<nowiki> | ||
| + | {{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}} | ||
| + | </nowiki>| | ||
| + | {{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}} | ||
| + | }} | ||
| − | + | == See also == | |
| + | {{fake template list}} | ||
| − | + | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | |
| − | + | | [[Category:Documentation assistance templates]] | |
| + | }}</includeonly> | ||
Revision as of 19:56, 18 November 2017
Contents
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
|level=or|sub=is the level number: valid values are 1 through 6. The default is 2 (equivalent of a== Main heading ==(level 1 is equivalent to page title).- An unnamed parameter (which can also be specified as
|1=) 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}}
|
|
See also
| Template | Appearance |
|---|---|
| {{fake clarify}} | [clarification needed] |
| {{fake citation needed}} | [citation needed] |
| {{fake verification needed}} | [verification needed] |
| {{fake explain}} | [further explanation needed] |
| {{fake heading}} | |
| {{fake notes and references}} |
|
| {{dummy reference}} | [1] |
| {{dummy backlink}} | ^ |
| {{dummy footnote}} | 1. ^
Citation
|
| {{fake link}} | default |