Difference between revisions of "Template:Deprecated inline"

From blackwiki
Jump to navigation Jump to search
imported>Finnusertop
(Wikipedia:Reliable sources/Perennial sources seems to be what this is about)
imported>Newslinger
(Use {{Deprecated inline}} in comment)
Line 1: Line 1:
 
{{ {{{|safesubst:}}}#invoke:Unsubst||date=__DATE__ |$B=
 
{{ {{{|safesubst:}}}#invoke:Unsubst||date=__DATE__ |$B=
<!--{{Self-published inline}} begin-->{{Fix
+
<!--{{Deprecated inline}} begin-->{{Fix
 
| subst    = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
 
| subst    = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly>
 
| link    = Wikipedia:Reliable sources/Perennial sources
 
| link    = Wikipedia:Reliable sources/Perennial sources
Line 8: Line 8:
 
| cat-date = Category:Articles with deprecated sources
 
| cat-date = Category:Articles with deprecated sources
 
| cat      = [[Category:All articles with deprecated sources]]
 
| cat      = [[Category:All articles with deprecated sources]]
}}<!--{{Self-published inline}} end-->
+
}}<!--{{Deprecated inline}} end-->
 
}}<noinclude>
 
}}<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, please, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, please, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 02:51, 27 August 2019

[deprecated source?]

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

Usage

This is an inline template used to flag inappropriately cited deprecated sources, which are questionable and discouraged from use.

When the template is added to a line of text in an article, the resulting clean-up tag links to Wikipedia:Reliable sources/Perennial sources.

This template categorizes its tagged articles into the maintenance category, Category:All articles with deprecated sources, which is hidden in mainspace articles by a default setting in the user preferences. A logged-in user may view this and all other hidden categories by checking Show hidden categories on the Appearance tab of Preferences.

This template takes a compulsory parameter (which a bot will set if the editor doesn't):

  • |date=date—in the format "Month Year" or "YYYY-MM-DD", etc.

If there is no doubt at all that the source is deprecated and used inappropriately, you can use a parameter to remove the "?" from the template's output:

  • |certain=yes or |certain=y

See also