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

From blackwiki
Jump to navigation Jump to search
imported>Gonnym
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
Line 20: Line 20:
 
* {{Tl|Deprecated template}} – for deprecated non-stub templates
 
* {{Tl|Deprecated template}} – for deprecated non-stub templates
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
+
<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:Template namespace templates|{{PAGENAME}}]]

Revision as of 23:16, 24 April 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 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}}}}

See also