Template:Fake==

From The Languages of David J. Peterson
Revision as of 01:59, 9 September 2023 by Juelos (talk | contribs) (Created page with "<div {{#if:{{{class|}}}|class="{{{class}}}"}} style="color:black;background:none;font-weight:normal;margin:0;padding-top:.5em;padding-bottom:.17em;border-bottom:1px solid #aaa...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
{{{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

|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:
  • {{fake===|esthesiometer|style=text-decoration: line-through red}} produces:
esthesiometer