Template:Deprecated
From ENIGMA
(Difference between revisions)
Latest revision as of 20:10, 24 February 2013
![]() |
This has been deprecated. Please suggest a replacement |
[edit] [ ]
Template documentation

The simplest form contains no arguments, and also should be avoided:
{{deprecated}}
![]() |
This has been deprecated. Please suggest a replacement |
As you can see, it wants a suggested replacement. See deprecated for more information on this reasoning.
However, first, let's introduce a reason for the deprecation. Do this with the first argument:
{{deprecated|reason}}
![]() |
This has been deprecated for the following reason: reason. Please suggest a replacement |
Then we can introduce the suggested replacement:
{{deprecated|reason|replacement}}
![]() |
This has been deprecated for the following reason: reason. replacement |
Or we can be cryptic and only offer a replacement:
{{deprecated||replacement}}
![]() |
This has been deprecated. replacement |
Sometimes, "This" is not descriptive enough. We also support the "what" argument to specify what exactly is deprecated.
{{deprecated|what=Living|It is inefficient|Upgrade to digital}}
![]() |
Living has been deprecated for the following reason: It is inefficient. Upgrade to digital |