Difference between revisions of "Template:Deprecated stub/doc"
Jump to navigation
Jump to search
imported>Debresser (Move category from template.) |
imported>Debresser (Update documentation.) |
||
| Line 2: | Line 2: | ||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. --> | ||
| − | The {{ | + | The {{Tl|Deprecated stub}} template notifies users that a given stub template is no longer used and should be replaced by one of several more precise templates. 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 rarely deleted, and are usually kept as [[wikipedia:Soft redirect|soft redirects]]. | Deprecated stub templates are rarely deleted, and are usually kept as [[wikipedia:Soft redirect|soft redirects]]. | ||
==Usage== | ==Usage== | ||
| − | {{ | + | {{Tlx|Deprecated stub|old template name|redirecting text}} |
| − | Templates are | + | Templates are categorized to [[:Category:Deprecated stub templates]]. Articles which still use stub templated marked as deprecated are categorized to [[:Category:Pages using deprecated templates]]. |
==Examples== | ==Examples== | ||
| Line 16: | Line 16: | ||
</pre> | </pre> | ||
{{Deprecated stub|Old-stub|{{tl|This-new-stub}} or {{tl|That-new-stub}}}} | {{Deprecated stub|Old-stub|{{tl|This-new-stub}} or {{tl|That-new-stub}}}} | ||
| − | |||
==See also== | ==See also== | ||
| − | * {{ | + | * {{Tl|Deprecated template}} – for deprecated non-stub templates |
| − | * {{ | + | * {{Tl|Deprecated shortcut}} – for deprecated shortcuts |
| − | |||
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
Revision as of 21:30, 22 December 2013
| This is a documentation subpage for Template:Deprecated stub. It contains usage information, categories and other content that is not part of the original template page. |
The {{Deprecated stub}} template notifies users that a given stub template is no longer used and should be replaced by one of several more precise templates. 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 rarely deleted, and are usually kept as soft redirects.
Usage
{{Deprecated stub|old template name|redirecting text}}
Templates are categorized to Category:Deprecated stub templates. Articles which still use stub templated marked as deprecated are categorized to Category:Pages using deprecated templates.
Examples
{{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. |
See also
- {{Deprecated template}} – for deprecated non-stub templates
- {{Deprecated shortcut}} – for deprecated shortcuts