Jump to content

Template:Del

From wikiNonStop
Revision as of 08:16, 12 April 2026 by Majestix (talk | contribs) (1 revision imported: Initial Setup)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{{1}}}

Template documentation

Usage

Mark code as deprecated. Place deprecated code or text in the first unnamed parameter |1=. On some browsers will show a tooltip with |title= or |2=; is "Deprecated." by default. Can display in red if |red=any value. Can set style with |style= and |id=. Do not use on links.

Examples:

  • {{del|Deprecated text.}}Deprecated text.
  • <code>{{del|Deprecated code}}</code>Deprecated code
  • <kbd>{{del|Deprecated kbd input}}</kbd>Deprecated kbd input
  • {{del|Deprecated text with tooltip and style.|in MediaWiki 1.25|style=color: #000;}}Deprecated text with tooltip and style.
  • {{del|Red deprecated text like {{tl|Deprecated-inline}}.|red=1}}Red deprecated text like {{Deprecated-inline }}.