• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Beta Wikipedia

Template:Tdeprecated

  • Template
  • Discussion
  • Language
  • Watch
  • Edit
The template {{Tdeprecated}} is deprecated. Please use {{[[Template:{{{2}}}|{{{2}}}]]}} instead.
Template documentation[view] [edit] [history] [purge]

The {{Tdeprecated}} template notifies users that a given template has been replaced by a different one. This is useful when usage is different (so a redirect won't work) or you'd like to reduce the number of redirects (which makes bot parsing more difficult).

Whenever possible, it should replace the deprecated template's content entirely, so that someone using the template will see the message.

Contents

  • 1 Usage
  • 2 Examples
  • 3 Technical details
  • 4 See also
  • 5 Redirects

Usage

edit

{{Tdeprecated|old template name|new template name|date=August 2025}}

Usage without a date parameter categorises templates to Category:Deprecated templates. Adding the date parameter categorises the template to Category:Deprecated templates from August 2025.

If a deprecated template is still in use on other pages, add ‎<noinclude>...‎</noinclude> tags around the {{Tdeprecated}} template. That way the template page will show the deprecation tag, but pages using it will not. If a template has been fully deprecated and is not in use on other pages, the noinclude tags may be removed. That way a deprecation tag will show on any page using the deprecated template. Afterwards consider nominating the template for deletion.

Examples

edit
{{Tdeprecated|old|new}}
{{Tdeprecated|old|new|parameter}}
{{Tdeprecated|old|new|<nowiki>parameter|fuu</nowiki>}}
The template {{old}} is deprecated. Please use {{new}} instead.
The template {{old}} is deprecated. Please use {{new|parameter}} instead.
The template {{old}} is deprecated. Please use {{new|parameter|fuu}} instead.

Technical details

edit

This template changes style depending on what kind of page it is show on. Thus it adheres to the standardised looks for the different pages. For instance if this template becomes visible in an article it looks like this:

The template {{old}} is deprecated. Please use {{new}} instead.

See also

edit
  • {{Tdeprecated-inline}} - for deprecated inline templates
  • {{Stubdeprecated}} – for deprecated stub templates
  • {{Sdeprecated}} – for deprecated shortcuts
  • Category:Deprecated templates – the category where this template lists templates it is used on

Redirects

edit
  • {{Deprecated template}}

hsb:Předłoha:Zestarjena předłoha it:Template:Template obsoleto ka:თარგი:თმოძველდა no:Mal:Utdatert mal pt:Predefinição:Pdepreciada sl:Predloga:Todsvetovana tr:Şablon:Geçersizş th:แม่แบบ:ยกเลิกการใช้งาน

The above documentation is transcluded from Template:Tdeprecated/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.beta.wmcloud.org/w/index.php?title=Template:Tdeprecated&oldid=53574"
Last edited on 2 September 2011, at 18:18

Languages

    • العربية
    • Deutsch
    • Español
    • 日本語
    • Shqip
    • Svenska
    Beta Wikipedia
    • Wikimedia Foundation
    • Powered by MediaWiki
    • This page was last edited 18:18, 2 September 2011 by Beta Wikipedia anonymous user Imported>MC10. Based on work by Beta Wikipedia anonymous user imported>MC10.
    • Content is available under CC BY-SA 4.0 unless otherwise noted.
    • Privacy policy
    • About Wikipedia
    • Disclaimers
    • Contact Wikipedia
    • Code of Conduct
    • Developers
    • Statistics
    • Cookie statement
    • Terms of use
    • Desktop