模板:Deprecated/doc
外观
| 文件:Codex icon book color-base.svg | This is a documentation subpage for 模板:Deprecated. It contains usage information, categories and other content that is not part of the original 模板 page. |
· <span style="" title="<translate nowrap> Edit this template</translate>"><translate> edit</translate>]
This is the TemplateData documentation for this template used by VisualEditor and other tools.
Deprecated
Used to mark a feature as deprecated.
| 参数 | 描述 | 类型 | 状态 | |
|---|---|---|---|---|
| replacement | replacement | used to identify the kind of deprecated page. Allowed values are mw (for a MediaWiki release) or an extension name, or empty.
| 字符串 | 可选 |
| varVersion | 1 | identifies old MW version of this deprecated item. | 字符串 | 可选 |
| newvarlink | newvarlink | link which identifies a replacement page (if exists).
| URL | 可选 |
| mwVersion | version | identifies the new version of MediaWiki when the deprecated function was moved to core | 字符串 | 可选 |
| optText | 2 | free additional text
| 字符串 | 可选 |
| newvarname | newvarname | page name of Manual: namespace identifying newvarlink | 字符串 | 可选 |
| nocat | nocat | when defined this flag means NOT to assign the page to Category:MediaWiki deprecated or obsolete features
| 布尔 | 可选 |
| name | name | text to display with the category message (validated by nocat)
| 字符串 | 可选 |