{{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.