Template:Tdeprecated/testcases

From Chevy Wiki
< Template:Tdeprecated
Revision as of 14:55, 2 February 2009 by Budlight (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This sandbox is itself a template. This sandbox is for experimenting with templates.

Welcome to the Wikipedia Sandbox! This page allows you to carry out experiments. To edit, click here or click the tab edit this page above (or the views section for obscure browsers), make your changes and click the Save page button when finished. Content will not stay permanently; this page is automatically cleaned every 12 hours.

This page is a virtual sandbox on Wikipedia. For uses of sandboxes, see the article sandbox.

Please do not place copyrighted, offensive, slanderous, or libelous content in the sandboxes. If you have any questions regarding Wikipedia, please ask them at the help desk or the village pump. Thanks!

You may also use the templates {{X1}}, {{X2}}, {{X3}}, {{X4}}, {{X5}}, {{X6}}, {{X7}}, {{X8}}, {{X9}}, and {{Template sandbox}} for experimental purposes.

Try other sandboxes: Main Sandbox | Tutorial Sandbox 1 | Tutorial Sandbox 2 | Tutorial Sandbox 3 | Tutorial Sandbox 4 | Tutorial Sandbox 5
For a sandbox of your own, create a user subpage.



[edit] Template-info.svg Template documentation

This is the {{tdeprecated}} template.

Note: This template itself is not deprecated. However using it with only one parameter is deprecated, it now takes 2-3 parameters instead. In the display above it gets no parameters, that's why the small text says: "This usage is deprecated."

{{deprecated template}} redirects here and can be used as an alternative name for this template.

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

Usage

{{tdeprecated|old template name|new template name}}
{{tdeprecated|old template name|new template name|date=May 2024}}

Normal usage

Normal usage categorises templates to Category:Deprecated templates.

{{tdeprecated|old|new}}
{{tdeprecated|old|new|parameter}}
{{tdeprecated|old|new|<nowiki>parameter|fuu</nowiki>}}

With a date

Adding the 'date' parameter subcategorises the template to Category:Templates deprecated since May 2024.

{{tdeprecated|old|new|date=May 2024}}

Technical details

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:

See also

  • {{sdeprecated}} – For deprecated shortcuts.
  • Category:Deprecated templates – The category where this template lists templates it is used on.

de:Vorlage:Veraltete Vorlage es:Plantilla:Plantilla en desuso hsb:Předłoha:Zestarjena předłoha it:Template:Template obsoleto ka:თარგი:თმოძველდა ja:Template:移行中のテンプレート sq:Stampa:Stampa të vjetruar sl:Predloga:Todsvetovana tr:Şablon:Geçersizş