Template:Del
Jump to navigation
Jump to search
{{{1}}}
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
Usage
[edit source]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}}.