Template:Deprecated: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{{# | <includeonly>{{#switch: {{NAMESPACE}} | ||
| {{mbox | | Template | Module = {{mbox | ||
| icon = Icon-Blank.png | | icon = Icon-Blank.png | ||
| type = aaa | | type = aaa | ||
| text = '''This template should only be used in the main namespace.''' For | | text = '''This template should only be used in the main namespace and other content pages.''' For documenting templates or modules' pages as deprecated, use [[Template:Template rating]] with <code><nowiki>rating=deprecated</nowiki></code> or <code><nowiki>rating=replaced</nowiki></code>. For marking templates themselves as deprecated, use [[Template:Deprecated template]]. | ||
}} | }} | ||
| {{mbox | |||
| default = {{mbox | |||
| icon = Icon-Deprecated.png | | icon = Icon-Deprecated.png | ||
| type = delete | | type = delete | ||
Revision as of 07:09, 1 November 2025
| This template should not be substituted. |
- This template is used to deprecate content pages. For the template that is added to a template's documentation, see Template:Template rating. For the template that is added to to a template's code, see Template:Deprecated template.
The Deprecated template adds a message box to inform readers of pages that is no longer valid, but worth being kept. It also places the page in Category: Deprecated pages.
Usage
This template should be placed at the top of the page, without any argument.
See also
- Template:Deprecated template – for templates whose use is no longer advised.
- Template:Deprecated parameters – for template parameters whose use is no longer advised.
- Template:Archive
- Template:Delete