Template:Deprecated: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Ganaram inukshuk (talk | contribs)
mNo edit summary
Ganaram inukshuk (talk | contribs)
No edit summary
Line 1: Line 1:
<includeonly>{{#ifeq: {{NAMESPACE}} | Template
<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 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]].
   | 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

Template documentation[view] [edit] [history] [purge]
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