Difference between revisions of "Template:Deprecated inline"

From blackwiki
Jump to navigation Jump to search
imported>JzG
(Created page with '{{ {{{|safesubst:}}}#invoke:Unsubst||date=__DATE__ |$B= <!--{{Self-published inline}} begin-->{{Fix | subst = <includeonly>{{subst:</includeonly><includeonly>...')
 
imported>MusikBot II
m (Protected "Template:Deprecated inline": High-risk template or module (more info) ([Edit=Require autoconfirmed or confirmed access] (indefinite)))
 
(2 intermediate revisions by 2 users not shown)
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
+
| link    = Wikipedia:Reliable sources/Perennial sources
 
| title    = The material near this tag may rely on an unreliable source
 
| title    = The material near this tag may rely on an unreliable source
 
| text    = deprecated source{{#if:{{{certain|}}}||?}}
 
| text    = deprecated source{{#if:{{{certain|}}}||?}}
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>

Latest revision as of 17:59, 31 October 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