Jump to content

Template:R with possibilities/doc: Difference between revisions

From BattleIntelligence
imported>Deadfire
creation
 
m Text replacement - "BattleTechWiki" to "BattleIntelligence"
 
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[BattleTechWiki:Wikidata]]) -->
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[BattleIntelligence:Wikidata]]) -->
{{Substitution|not|nor used to tag [[BattleTechWiki:Soft redirects|soft redirects]]}}
{{Substitution|not|nor used to tag [[BattleIntelligence:Soft redirects|soft redirects]]}}


__NOTOC__
__NOTOC__
Line 7: Line 7:
{{hatnote|Use this rcat template in '''any [[BTW:namespace|namespace]]'''.}}
{{hatnote|Use this rcat template in '''any [[BTW:namespace|namespace]]'''.}}
* Use this redirect category ([[BTW: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, [[BTW:Writing better articles|then '''be BOLD!''']]
* Use this redirect category ([[BTW: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, [[BTW:Writing better articles|then '''be BOLD!''']]
** For guidance on how to start a new page from a section, please see [[BattleTechWiki:Summary style]].  It is important that the topic is notable in accordance with the [[BTW:N|guideline]], and that the article is structured in line with the [[BTW:MOS|manual of style]]; otherwise there is a possibility the article will be re-merged and turned back into a redirect.
** For guidance on how to start a new page from a section, please see [[BattleIntelligence:Summary style]].  It is important that the topic is notable in accordance with the [[BTW:N|guideline]], and that the article is structured in line with the [[BTW: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:
* Apply this rcat to a redirect in the following manner:
<syntaxhighlight lang="wikitext">
<syntaxhighlight lang="wikitext">
Line 23: Line 23:
{{R with possibilities}}
{{R with possibilities}}
</syntaxhighlight>
</syntaxhighlight>
: This is in accord with the instructions found at [[BattleTechWiki:REDCAT]].
: This is in accord with the instructions found at [[BattleIntelligence:REDCAT]].
* If a redirect in [[BTW:Template namespace|template namespace]] is tagged with this rcat, then '''{{cat|Template redirects with possibilities}}''' is populated.  
* If a redirect in [[BTW:Template namespace|template namespace]] is tagged with this rcat, then '''{{cat|Template redirects with possibilities}}''' is populated.  
* If a redirect is in [[BattleTechWiki:Category namespace|categoryspace]], then use {{tl|R category with possibilities}} ''instead'' of this rcat.
* If a redirect is in [[BattleIntelligence: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,  
* If a redirect is in any other namespace, then this rcat populates '''{{Cat|Redirects with possibilities}}''' and,  


Line 67: Line 67:
* {{tl|R to related topic}}
* {{tl|R to related topic}}
{{div col end}}
{{div col end}}
* [[BattleTechWiki:WikiProject Redirect/Style guide|WikiProject Redirect/Style guide]]
* [[BattleIntelligence:WikiProject Redirect/Style guide|WikiProject Redirect/Style guide]]


{{R template index}}
{{R template index}}

Latest revision as of 00:15, 1 May 2025


Usage

  • Use this redirect category (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, then be BOLD!
    • For guidance on how to start a new page from a section, please see BattleIntelligence:Summary style. It is important that the topic is notable in accordance with the guideline, and that the article is structured in line with the 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:
#REDIRECT [[(target page name)]]

{{Rcat shell|
{{R with possibilities}}
{{R printworthy}}
}}
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 BattleIntelligence:REDCAT.
  • Note: It is possible that a redirect from a misspelling may also be the correct spelling of a different subject with possibilities. However, do not intentionally link to redirects from misspellings. Use a disambiguated title, until the possibilities of an article about the author are actually realized. See {{R typo}} for more information.

Draft articles

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 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 article namespace. If the draft link is also a redirect, then you may boldly turn that redirect into a draft article.

That text only appears if there is an actual link either to an aspiring article in draftspace or a redirect from draftspace. If one of those is the case, then the following category will also be populated:

Aliases

TemplateData

TemplateData for R with possibilities

Places the redirect in [[Category:Redirects with possibilities]], indicates that the redirect could be turned into a full article. This template takes no parameters.

Template parameters

ParameterDescriptionTypeStatus
No parameters specified

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 article may be created on the (currently) redirecting page. However, redirects targeting a redirect with possibilities should be changed, as they violate the BTW:2R policy, and should then be tagged as {{r avoided double redirect|<!-- name of r with possibilities -->}}.

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 */

See also