Template:fake==
Jump to navigation
Jump to search
{{{1}}}
- The following documentation is located at Template:fake=/documentation. [edit]
- Redirected from Template:fake==/documentation (edit).
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
{{fake=}}
, {{fake==}}
, {{fake===}}
, and {{fake====}}
are used to format text as if it were a heading without actually making it one. This means, for example, that fake headings are not included in tables of contents and cannot be linked to directly using the usual [[Page#Section]]
syntax.
In normal wikitext equals signs are used to produce headings (for example ==English==
). Sometimes it is desirable to have all the visual appearance of a heading with none of the semantics. For example, the level 2 heading of a request for deletion should be included in the archive of that request on the associated entry's talk page, but should not be included in the talk page's table of contents.
The fake headings are implemented as <div>
s.
Parameters
|1=
(required)- The text to display as a fake heading.
|class=
(optional)- A CSS class to apply to the heading.
|style=
(optional)- CSS styles to apply to the heading.
Examples
{{fake==|[[metalworks]]}}
produces:
{{fake===|esthesiometer|style=text-decoration: line-through red}}
produces:
esthesiometer