Jump to content

Template:fake====

From Wiktionary, the free dictionary
{{{1}}}

{{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

[edit]
|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

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