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

From blackwiki
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 [[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}}
 
{{Tlx|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]].
+
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:Template namespace templates|{{PAGENAME}}]]
+
[[Category:Documentation header templates]]
 
[[Category:Deprecated stub templates|*]]
 
[[Category:Deprecated stub templates|*]]
 
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 13:34, 3 July 2020

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}}}}

See also