Difference between revisions of "Template:Deprecated stub"

From blackwiki
Jump to navigation Jump to search
imported>Rich Farmbrough
m (Rich Farmbrough moved page Template:Stubdeprecated to Template:Deprecated stub: Space, word order)
imported>Debresser
(1. Remove whiteline. 2. Move category to documentation.)
Line 1: Line 1:
 
{{Mbox
 
{{Mbox
 
| type = style
 
| type = style
| image = [[Image:Imbox content.png|40px|alt=|link=]]
+
| image = [[File:Imbox content.png|40px|alt=|link=]]
 
| text = The stub template {{[[Template:{{{1|{{PAGENAME}}}}}|{{{1|{{PAGENAME}}}}}]]}} is deprecated. Please use {{{2}}} instead.
 
| text = The stub template {{[[Template:{{{1|{{PAGENAME}}}}}|{{{1|{{PAGENAME}}}}}]]}} is deprecated. Please use {{{2}}} instead.
   }}
+
   }}<noinclude>
<noinclude>
+
{{Documentation}}
 
 
{{documentation}}
 
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>
[[Category:Deprecated stub templates<noinclude>|*</noinclude>]]
 

Revision as of 20:51, 22 December 2013

Template documentation[view] [edit] [history] [purge]

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