Template:Fake=/documentation

From The Languages of David J. Peterson
Jump to navigation Jump to search
Documentation for Template:Fake=. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

{{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=
The text to display as a fake heading.
|class=
A CSS class to apply to the heading.
|style=
CSS styles to apply to the heading.

Examples

  • {{fake==|{{wt|metalworks}}}} produces:
metalworks
  • {{fake===|esthesiometer|style=text-decoration: line-through red}} produces:
esthesiometer