Difference between revisions of "Template:Deprecated stub/doc"
Jump to navigation
Jump to search
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
imported>Andrybak |
||
| Line 4: | Line 4: | ||
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. | 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 [[ | + | 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}} | {{Tlx|Deprecated stub|old template name|redirecting text}} | ||
| − | Templates are categorized to [[:Category:Deprecated stub templates]]. Articles which still use stub | + | 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]]. |
==Examples== | ==Examples== | ||
| Line 22: | Line 22: | ||
<includeonly>{{Sandbox other|| | <includeonly>{{Sandbox other|| | ||
<!-- Categories go below this line, please; interwikis go to Wikidata, thank you! --> | <!-- Categories go below this line, please; interwikis go to Wikidata, thank you! --> | ||
| − | [[Category: | + | [[Category:Documentation header templates]] |
[[Category:Deprecated stub templates|*]] | [[Category:Deprecated stub templates|*]] | ||
| − | |||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 13:34, 3 July 2020
| 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 templates 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