From Fedora Project Wiki

Revision as of 05:16, 28 June 2010 by Dafrito (talk | contribs) (Removed an unnecessary qualifier)

Template:Deprecated creates an admonition that indicates a page, section, or code listing is becoming obsolete. It is used to show that, while the deprecated text may still be useful, it is likely to be deleted in the future. This is useful to allow pages that contain entries for contests, or votes to be removed gracefully.

To use this template, type {{deprecated}} which will yield a default deprecation message. It is recommended to provide a reason for deprecation. If applicable, a contingency should also be given.

Example: Typical usage

This example demonstrates a typical use of this template. Code:

{{deprecated|This contest has ended. We are no longer accepting entries.}}

Output:

Important.png
This page is outdated and is only retained for historical reference
This contest has ended. We are no longer accepting entries.


Example: Minimal use

This example demonstrates the minimal use of this template.

Code:

{{deprecated}}

Output:

Important.png
This page is outdated and is only retained for historical reference