Template:Deprecated: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) mNo edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{{Mbox|icon=Icon-Deprecated.png|type=delete|text='''This page is [[:Category:Deprecated pages|deprecated]].''' It is being kept for posterity and for reference, but is no longer being actively maintained. | <includeonly>{{#ifeq:{{NAMESPACE}}|| | ||
{{Mbox | |||
| icon = Icon-Deprecated.png | |||
| type = delete | |||
| text = '''This page is [[:Category:Deprecated pages|deprecated]].''' It is being kept for posterity and for reference, but is no longer being actively maintained. | |||
If you have contributions to add to this page, it would be advisable to add them to a different, related page instead. | If you have contributions to add to this page, it would be advisable to add them to a different, related page instead. | ||
When writing other pages, avoid including links to this page.}} | When writing other pages, avoid including links to this page. | ||
{{#ifeq: {{lc: {{ARTICLEROOTPAGENAME}}}}|template:deprecated||[[Category:Deprecated pages]]}}</includeonly><noinclude> | }} | ||
{{#ifeq: {{lc: {{ARTICLEROOTPAGENAME}}}} | template:deprecated || [[Category:Deprecated pages]]}} | |||
| | |||
{{Mbox | |||
| icon = Icon-Blank.png | |||
| type = aaa | |||
| text = '''This template should only be used in the main namespace.''' For marking template ''pages'' as deprecated, use [[Template:Template rating]] with <code><nowiki>rating=deprecated</nowiki></code> or <code><nowiki>rating=replaced</nowiki></code>. For the template that's ''added'' to a template to notify editors of its status, use [[Template:Deprecated template]]. | |||
}} | |||
}}</includeonly><noinclude> | |||
{{documentation}} | {{documentation}} | ||
[[Category:Message boxes]] | [[Category:Message boxes]] | ||
</noinclude> | </noinclude> | ||
Revision as of 06:57, 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