Difference between revisions of "Template:Deprecated template/doc"

From blackwiki
Jump to navigation Jump to search
imported>Thumperward
(split additional docs from discussion page)
imported>Thumperward
(+turkish)
Line 43: Line 43:
 
[[sq:Stampa:Stampa të vjetruar]]
 
[[sq:Stampa:Stampa të vjetruar]]
 
[[sl:Predloga:Todsvetovana]]
 
[[sl:Predloga:Todsvetovana]]
 +
[[tr:Şablon:Geçersizş]]
 
</includeonly>
 
</includeonly>

Revision as of 11:15, 12 April 2008

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

Usage

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

Normal

Normal usage categorises templates to Deprecated templates.

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

Template:Tdeprecated Template:Tdeprecated Template:Tdeprecated

Dated

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

{{tdeprecated|old|new|date=December 2025}}

Template:Tdeprecated

See also