Template:Tdeprecated/sandbox

From Wikipedia, the free encyclopedia

[edit] Template 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.

Contents

[edit] Usage

{{tdeprecated|old template name|new template name}} (categorises to Deprecated templates).
{{tdeprecated|old template name|new template name|date=June 2008}} (categorises to Templates deprecated since June 2008).

[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/sandbox}} is deprecated. Please use {{old}} instead.
This usage is deprecated. Please replace it with {{tdeprecated|Tdeprecated/sandbox|old}}.
The template {{old}} is deprecated. Please use {{new}} instead.
The template {{Tdeprecated/sandbox}} is deprecated. Please use {{old}} instead.
This usage is deprecated. Please replace it with {{tdeprecated|Tdeprecated/sandbox|old}}.
The template {{old}} is deprecated. Please use {{new|parameter}} instead.
The template {{Tdeprecated/sandbox}} is deprecated. Please use {{old}} instead.
This usage is deprecated. Please replace it with {{tdeprecated|Tdeprecated/sandbox|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 June 2008.

{{tdeprecated|old|new|date=June 2008}}
The template {{Tdeprecated/sandbox}} is deprecated. Please use {{old}} instead.
This usage is deprecated. Please replace it with {{tdeprecated|Tdeprecated/sandbox|old}}.
The template {{old}} is deprecated. Please use {{new}} instead.

[edit] See also