{{Deleted template}}
provides a way to delete templates but still retain them for the purpose of correctly displaying old revisions of pages. When using this method to delete a template, all existing transclusions should be removed in the usual way, and {{Deleted template}}
added into the template being deleted. This should ensure correct display in old revisions, and a warning when used in a revision postdating the deletion.
Current revisions containing templates deleted in this way (as well as the deleted templates themselves) are automatically categorised in Category:Pages containing deleted templates.
The template takes 3 compulsory parameters:
To use this template, add it at the beginning of the template to be deleted, adding the closing brackets of {{Deleted template}}
at the end:
Example:
{{Deleted template|388523941|Example|12 February 2011|
Old template
did various things
and possibly other things
}}
|extra=
parameter may be used to add further information at the end of the message.Associated template documentation may be worth retaining, for example for references to alternative templates.
{{Historical|category=no|brief=yes|comment=This template was [[Template:Deleted template|deprecated]] following deletion discussion archived at [[Wikipedia:Templates_for_discussion/Log/2010_December_16#Template:Expand]]}}
|name=
parameter present for the |subst=
parameter, |doc=no
must also be passed to {{
Ambox}} and <noinclude>{{
documentation}}</noinclude> manually placed at the end of the template code.