Template:R with possibilities/doc
This is a documentation subpage for Template:R with possibilities. It may contain usage information, categories and other content that is not part of the original template page. |
This template should not be substituted nor used to tag soft redirects. |
Usage
[edit source]- Use this redirect category (rcat) template for any redirect that, in your opinion, may stand alone as a resource on a notable subject or a template. If you see a redirect with this template, and you are moved to write the page, then be BOLD!
- For guidance on how to start a new page from a section, please see Wikiversity:Summary style. It is important that the topic is notable in accordance with the guideline, and that the resource is structured in line with the manual of style; otherwise there is a possibility the resource will be re-merged and turned back into a redirect.
- Apply this rcat to a redirect in the following manner:
#REDIRECT [[(target page name)]]
{{Rcat shell|
{{R with possibilities}}
}}
- Template {{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:
#REDIRECT [[(target page name)]]
{{R with possibilities}}
- This is in accord with the instructions found at Wikiversity:REDCAT.
- If a redirect in template namespace is tagged with this rcat, then Category:Template redirects with possibilities is populated.
- If a redirect is in categoryspace, then use {{R category with possibilities}} instead of this rcat.
- If a redirect is in any other namespace, then this rcat populates Category:Redirects with possibilities and,
- 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 Jim BlytheJim Blyth. However, do not intentionally link to redirects from misspellings. Use a disambiguated title such as Jim Blythe (author), until the possibilities of a resource about the author are actually realized. See {{R typo}} for more information.
Draft resources
[edit source]When a draft exists in 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 draft namespace at Draft:(name of page), so please do not create a resource from this redirect (unless moving a ready draft here). You are welcome to improve the draft resource while it is being considered for inclusion in resource namespace. If the draft link is also a redirect, then you may boldly turn that redirect into a draft resource.
That text only appears if there is an actual link either to an aspiring resource in draftspace or a redirect from draftspace. If one of those is the case, then the following category will also be populated:
Aliases
[edit source]- Also known as... – list of templates that redirect here and may also be used
TemplateData
[edit source]TemplateData for R with possibilities
Places the redirect in [[Category:Redirects with possibilities]], indicates that the redirect could be turned into a full resource. This template takes no parameters.
Parameter | Description | Type | Status | |||
---|---|---|---|---|---|---|
No parameters specified |
Links to redirects tagged with this template
[edit source]If a page wikilinks to a redirect tagged with this template, do not replace it with a direct link to the target page, as a more specific resource may be created on the (currently) redirecting page. However, redirects targeting a redirect with possibilities should be changed, as they violate the WV:2R policy, and should then be tagged as {{r avoided double redirect|<!-- name of r with possibilities -->}}
.
User script for highlighting links to redirects with possibilities
[edit source]To highlight links to redirects with possibilities with a red dashed border, first add this code to your common.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]]
Then, in your common.css, add this code (or similar code if you'd prefer a different styling):
a.redirect-with-possibilities {border: 1.5px dashed #d33;padding: 3px;} /* Add red border around redirects with possibilities */