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

From blackwiki
Jump to navigation Jump to search
imported>Debresser
(Move category from template.)
imported>Andrybak
 
(5 intermediate revisions by 4 users not shown)
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 andshould be replaced by one of several more precise templates. This is useful when a stub template's name is ambiguouis 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 categorises to [[:Category:Deprecated stub 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==
 
<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}}}}
 
</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|Tdeprecated}} – for deprecated non-stub templates
+
* {{Tl|Deprecated template}} – for deprecated non-stub templates
* {{tl|Sdeprecated}} – for deprecated shortcuts
 
* [[:Category:Deprecated stub templates]] – the category where this template lists templates it is used on
 
  
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
<includeonly>{{Sandbox other||
[[Category:Template namespace templates|{{PAGENAME}}]]
+
<!-- Categories go below this line, please; interwikis go to Wikidata, thank you! -->
[[Category:Redirect 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