Jump to content

Template:Del: Difference between revisions

From wikiNonStop
mNo edit summary
 
m 1 revision imported: Initial Setup
 
(No difference)

Latest revision as of 08:16, 12 April 2026

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

Debug data: