Difference between revisions of "Template:Fake heading"
Jump to navigation
Jump to search
test>Primefac (template should not be used in article space. For now, just show nothing if transcluded there) |
test>Primefac (derp) |
||
| Line 1: | Line 1: | ||
<noinclude>{{Accessibility dispute}}</noinclude>{{main other | <noinclude>{{Accessibility dispute}}</noinclude>{{main other | ||
| − | | | + | |1= |
| − | |<div style="color: #000000; background: none; overflow: hidden; page-break-after: avoid; {{#switch: {{{level|{{{sub|}}}}}} | + | |2=<div style="color: #000000; background: none; overflow: hidden; page-break-after: avoid; {{#switch: {{{level|{{{sub|}}}}}} |
| 1 = 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; | | 1 = 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; | ||
| 2 | #default = 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; | | 2 | #default = 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; | ||
Revision as of 12:17, 10 May 2018
| 50x40px | This template's accessibility is in question. Relevant discussion may be found on the talk page. Information on making articles more accessible can be found at WikiProject Accessibility. |
| 40x40px | Don't use this template in articles. See WP:PSEUDOHEAD |
Contents
Usage
This template is used to create examples of section heading wiki markup in help and similar pages and should NOT be used in articles. 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 |
| The above documentation is transcluded from Template:Fake heading/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |