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

From blackwiki
Jump to navigation Jump to search
imported>Debresser
m
imported>Paine Ellsworth
(update /doc)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
+
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]) -->
  
 
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.
Line 21: Line 21:
 
* {{Tl|Deprecated shortcut}} – for deprecated shortcuts
 
* {{Tl|Deprecated shortcut}} – for deprecated shortcuts
  
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
 +
<!-- Categories go below this line, please; interwikis go to Wikidata, thank you! -->
 
[[Category:Template namespace templates|{{PAGENAME}}]]
 
[[Category:Template namespace templates|{{PAGENAME}}]]
[[Category:Redirect templates|{{PAGENAME}}]]
 
 
[[Category:Deprecated stub templates|*]]
 
[[Category:Deprecated stub templates|*]]
</includeonly>
+
 
 +
}}</includeonly>

Revision as of 03:06, 24 September 2015

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