Template:R with possibilities/doc: Difference between revisions

m 1 revision imported
Replaced content with "This page is being depreciated"
Tag: Replaced
 
Line 1: Line 1:
{{Documentation subpage}}
This page is being depreciated
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]) -->
{{High-use}}
{{Twinkle standard installation}}
{{Substitution|not|nor used to tag [[Wikipedia:Soft redirects|soft redirects]]}}
 
__NOTOC__
=== Usage ===
{{hatnote|Use this rcat template in '''any [[wp:namespace|namespace]]'''.}}
* Use this redirect category ([[WP:RCAT|rcat]]) template for any redirect that, in your opinion, may stand alone as an article on a notable subject or a template.  If you see a redirect with this template, and you are moved to write the article, [[WP:Writing better articles|then '''be BOLD!''']]
** For guidance on how to start a new page from a section, please see [[Wikipedia:Summary style]].  It is important that the topic is notable in accordance with the [[WP:N|guideline]], and that the article is structured in line with the [[WP:MOS|manual of style]]; otherwise there is a possibility the article will be re-merged and turned back into a redirect.
* Apply this rcat to a redirect in the following manner:
<syntaxhighlight lang="wikitext">
#REDIRECT [[(target page name)]]
 
{{Rcat shell|
{{R with possibilities}}
{{R printworthy}}
}}
</syntaxhighlight>
: Template {{tl|Rcat shell}} is an alias for the ''Redirect category shell'' template, which may be used to add as many appropriate rcats as needed, usually from one to seven, along with their parameters, to a redirect.  For more information see the documentation on its template page.  This rcat may also tag a redirect individually:
<syntaxhighlight lang="wikitext">
#REDIRECT [[(target page name)]]
 
{{R with possibilities}}
</syntaxhighlight>
: This is in accord with the instructions found at [[Wikipedia:REDCAT]].
* If a redirect in [[WP:Template namespace|template namespace]] is tagged with this rcat, then '''{{cat|Template redirects with possibilities}}''' is populated.
* If a redirect is in [[Wikipedia:Category namespace|categoryspace]], then use {{tl|R category with possibilities}} ''instead'' of this rcat.
* If a redirect is in any other namespace, then this rcat populates '''{{Cat|Redirects with possibilities}}''' and,
* When a redirect is in the [[wp:mainspace|main-article namespace]] (mainspace), '''{{Cat|Printworthy redirects}}''' is also populated by default. In 2003, efforts were begun to support the [[Wikimedia Foundation]]'s goal of increasing access and availability of  ''Wikipedia'' articles in {{diff|Wikipedia:Pushing to 1.0||1319195|printed versions}}.  Mainspace redirects that may become articles someday are suitable for a printed version of this encyclopedia. In other words they are [[WP:Printworthiness|printworthy]].
{{info|image=Stop hand nuvola.svg|Please do not alter the printworthy settings of this rcat without first notifying the '''[[WP:Version 1.0 Editorial Team|Version 1.0 Editorial Team]]''', who are responsible for any and all materials, including redirects, that go into a printed version of ''Wikipedia''.}}
* '''Note:'''  ''It is possible that a redirect from a misspelling may also be the correct spelling of a different subject with possibilities.  An example is {{-r|Jim Blythe}}[[File:Redirect arrow without text.svg|35px]][[Jim Blyth]]. However, ''do not'' intentionally link to redirects from misspellings. Use a disambiguated title such as [[Jim Blythe (author)]], until the possibilities of an article about the author are actually realized. See {{tl|R typo}} for more information.''
 
==== Draft articles ====
When a draft exists in [[WP:DRAFTSPACE|draftspace]], this rcat will sense it and notify anyone who reads the redirect page with the following:
* This is a redirect from a title that is in [[WP:DRAFTSPACE|draft namespace]] at {{color|#0044b1|Draft:(name of page)}}, so {{red|'''''please do not create an article from this redirect'''''}} (unless moving a ready draft here). You are welcome to improve the draft article while it is being considered for inclusion in [[WP:mainspace|article namespace]].
The following category will also be populated:
* {{Cat|Redirects with draftspace articles}}
 
The text and category only appears if there is an actual aspiring article in draftspace. If the page in draftspace is only a redirect or has zero content, the message will not display.
 
==== Aliases ====
{{hatnote|Please note that common misspellings can also be [[WP:Criteria for speedy deletion#Redirects|useful redirects]].}}
* <span class="plainlinks">[{{fullurl:Special:WhatLinksHere/Template:R_with_possibilities|hidetrans=1&hidelinks=1&limit=500}} Also known as...]</span> – list of templates that redirect here and may also be used
 
=== TemplateData ===
{{TemplateData header}}
<TemplateData>
{
        "description": "Places the redirect in [[Category:Redirects with possibilities]], indicates that the redirect could be turned into a full article. This template takes no parameters.",
        "params": {}
}
</TemplateData>
 
=== Links to redirects tagged with this template ===
If a page [[WP:WIKILINK|wikilink]]s to a redirect tagged with this template, '''do not''' replace it with a direct link to the target page, as a more specific article may be created on the (currently) redirecting page. However, ''[[WP:R|redirect]]s'' targeting a redirect with possibilities ''should'' be changed, as they violate the [[WP:2R]] policy, and should then be tagged as {{tlg|r avoided double redirect|<nowiki><</nowiki>!-- name of r with possibilities -->|code=on}}.
 
=== User script for highlighting links to redirects with possibilities ===
To highlight links to redirects with possibilities with a red dashed border, first add this code to [[Special:MyPage/common.js|your common.js]]:<syntaxhighlight lang="js">mw.hook( 'LinkClassifier' ).add( function ( linkClassifier ) {
    linkClassifier.cats['redirect-with-possibilities'] = [ 'Category:Redirects with possibilities' ].sort();
} );
mw.loader.load('/w/index.php?title=User:Anomie/linkclassifier.js&action=raw&ctype=text/javascript'); // Backlink: [[User:Anomie/linkclassifier]]</syntaxhighlight> Then, in [[Special:MyPage/common.css|your common.css]], add this code (or similar code if you'd prefer a different styling):<syntaxhighlight lang="css">a.redirect-with-possibilities {border: 1.5px dashed #d33;padding: 3px;} /* Add red border around redirects with possibilities */</syntaxhighlight>
 
=== See also ===
{{div col|colwidth=20em}}
* {{tl|Disambiguation with potential}}
* {{tl|R category with possibilities}}
* {{tl|R from alternative name}}
* {{tl|R to decade}}
* {{tl|R from misspelling}}
* {{tl|R to related topic}}
* {{tl|R from subtopic}}
* {{tl|R to subtopic}}
* [[Wikipedia:Your first article]]
{{div col end}}
* [[Wikipedia:WikiProject Redirect/Style guide|WikiProject Redirect/Style guide]]
 
{{R template index}}
{{Manual of Style}}
 
<includeonly>{{Sandbox other||
<!-- Categories go below this line, please; interwikis go to Wikidata, thank you! -->
[[Category:Redirect templates|Possibilities]]
[[Category:Template redirects with possibilities| ]]
[[Category:Templates for redirects with possibilities|Possibilities]]
[[Category:Templates for printworthy redirects|Possibilities]]
[[Category:Printworthy redirects| ]]
[[Category:All namespace redirect templates]]
 
}}</includeonly> <noinclude>
[[Category:Redirect category template documentation pages|Possibilities]]
</noinclude>