跳转到内容

模板:Del

来自天灾之下:危险连接资料站
wiki>Shirayuki2025年9月7日 (日) 10:32的版本
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

{{{1}}}

模板文档

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 "已弃用。" 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 }}.