Template talk:Tdeprecated

From Wikipedia, the free encyclopedia

Contents

[edit] Documentation

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

[edit] Usage

[edit] Normal

Normal usage categorises templates to Deprecated templates.

{{tdeprecated|old|new}}
{{tdeprecated|old|new|parameter}}
{{tdeprecated|old|new|<nowiki>parameter|fuu</nowiki>}}
The template {{Tdeprecated}} is deprecated. Please use {{old}} instead.
This usage is deprecated. Please replace it with {{tdeprecated|Tdeprecated|old}}.
The template {{old}} is deprecated. Please use {{new}} instead.
The template {{Tdeprecated}} is deprecated. Please use {{old}} instead.
This usage is deprecated. Please replace it with {{tdeprecated|Tdeprecated|old}}.
The template {{old}} is deprecated. Please use {{new|parameter}} instead.
The template {{Tdeprecated}} is deprecated. Please use {{old}} instead.
This usage is deprecated. Please replace it with {{tdeprecated|Tdeprecated|old}}.
The template {{old}} is deprecated. Please use {{new|parameter|fuu}} instead.

[edit] Dated

Adding the 'date' parameter subcategorises the template to Templates deprecated since December 2006.

{{tdeprecated|old|new|date=December 2006}}
The template {{Tdeprecated}} is deprecated. Please use {{old}} instead.
This usage is deprecated. Please replace it with {{tdeprecated|Tdeprecated|old}}.
The template {{old}} is deprecated. Please use {{new}} instead.

[edit] See also

[edit] Discussion

Add issues below as you see fit, sign with ~~~~

Why is this template in Category:Redirect templates? It's not for use on a redirect page, is it? –RHolton– 02:50, 3 September 2006 (UTC)

Probably because it's a "soft" redirect. AzaToth 18:20, 21 September 2006 (UTC)
I see. I suppose that makes sense. Thanks. –RHolton– 18:43, 23 September 2006 (UTC)

[edit] Questions about the new Tdeprecated format

What is the advantage of categorizing deprecated templates by month? We'll just be left with a lot of monthly categories, possibly many only holding one or two templates.

How does one use the new format for templates that are replaced with non-template solutions? For example, {{qif}}. The old version allowed free text to describe replacements. Pagrashtak 17:48, 14 October 2006 (UTC)