The stub template {{Deprecated stub}} is deprecated. |
The {{Deprecated stub}} template notifies users that a given stub template has been superseded or replaced by another template, or has simply been deprecated (i.e., advised to no longer be used) without a direct replacement. This is useful when a stub template's name is ambiguous and could refer to one of several related but different subjects.
Deprecated stub templates are not typically deleted, and are usually kept as soft redirects.
{{Deprecated stub|old template name|redirecting text}}
Templates are categorized to Category:Deprecated stub templates. Articles which still use stub templates marked as deprecated are categorized to Category:Pages using deprecated templates.
{{Deprecated stub|Old-stub|{{Tl|This-new-stub}} or {{Tl|That-new-stub}}}}
The stub template {{Old-stub}} is deprecated. Please use {{This-new-stub}} or {{That-new-stub}} instead. |
Notifies users that a given stub template has been superseded or replaced by another template, or has simply been deprecated (i.e., advised to no longer be used) without a direct replacement. This is useful when a stub template's name is ambiguous and could refer to one of several related but different subjects.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Old stub template | 1 | Defaults to current page, but can be overrun | Unknown | optional |
Superseded/replaced stub template | 2 | MUST use {{Tlc|This-new-stub}}, unlike in the old one, or else it won’t show as a template link, may also use [[Template:This-new-stub]]
| Template | suggested |
Do not categorise | nocat | NOT RECOMMENDED. Prevented from categorizing by adding |nocat=true. This is only intended for examples, e.g. in the template's own documentation. In that case, not only the page itself will not be categorized, but transclusions of such pages will also be prevented from categorizing in Category:Pages using deprecated templates. Do not use this parameter to passive-aggressively contest a template's documentation. Take up the matter on the template's talk page or that of a relevant other venue, such as WP:Village pump (technical).
| Boolean | optional |