Template:R to user namespace/doc: Difference between revisions

Content deleted Content added
Usage: hatnote to clarify
m Add namespace-specific categories
 
(29 intermediate revisions by 6 users not shown)
Line 1:
{{Documentation subpage}}
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]) -->
{{Substitution|not}}
{{Substitution|not|nor used to tag [[Wikipedia:Soft redirects|soft redirects]]}}
{{Twinkle standard installation}}
{{Tsh|R to user}}
__NOTOC__
===Purpose===
This redirect category template ([[WP:RCAT|Rcatrcat]]) automaticallytemplate sorts redirects into two categories:
*# [[:Category:{{Cat|Redirects to user namespace]]}} – (for [[WP:CNR|cross-namespace redirects]]), and
*# [[:Category:{{Cat|Unprintworthy redirects]]}} (for– only redirects from the [[wp:Main namespace|main -article namespace]] (mainspace)
*:: AtIn some2003, pointefforts inwere begun to support the future, [[JimmyWikimedia WalesFoundation]]'s wantsgoal toof makeincreasing aaccess <spanand class="plainlinks">[http://en.wikipedia.org/w/index.php?title=Wikipedia:Pushing_to_1.0&oldid=1319195 printed version]</span>availability of the full ''Wikipedia'' encyclopedia.articles in Redirects{{diff|Wikipedia:Pushing fromto the1.0||1319195|printed mainversions}}. article namespaceMainspace redirects that target pages in the user namespace are not suitable for a printed version. In other words, they are ''unprintworthy'' and will populate [[wp:Category:Unprintworthy redirectsPrintworthiness|unprintworthy]] by default.
{{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''.}}
This rcat is '''''not''''' for use on redirects that are in the user namespace. If placed on a redirect that is a user page, it will not populate the expected categories; it will instead be sorted to {{Cat|Pages with templates in the wrong namespace}}.
 
=== Usage ===
{{hatnote|Use this Rcatrcat template in any [[wp:namespace|namespace]] '''except [[wp:User pages|Userspaceuser namespace]]'''.}}
* Apply this Rcatrcat to a redirect in the following manner:
<syntaxhighlight lang="wikitext">
#REDIRECT [[User:(target page name)]]
 
{{Rcat shell|
* Apply this Rcat to a redirect in the following manner:
<code><nowiki>#REDIRECT [[User:(Target page name)]] {{R to user namespace}}</nowiki></code>
}}
:This is in accord with instructions found at [[Wikipedia:REDCAT]].
</syntaxhighlight>
* Template {{tl|This is a redirect}} may also be used to add this and other appropriate Rcats to a redirect.
: and ''when the redirect is in article mainspace'', printworthiness should also be tagged:
* Use this Rcat on all redirects to a page in the user namespace from a page ''outside'' of the user namespace. This Rcat should never be used on a redirect in the user namespace that targets any other page.
<syntaxhighlight lang="wikitext">
* See [[Wikipedia:WikiProject Redirect/Style guide]] for details on redirect page layout.
#REDIRECT [[User:(target page name)]]
* {{tlx|Redirect to user namespace}} redirects here and may also be used.
 
{{Rcat shell|
{{R to user namespace}}
{{R unprintworthy}}
}}
</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 [[User:(target page name)]]
 
{{R to user namespace}}
</syntaxhighlight>
: This is in accord with instructions found at [[Wikipedia:REDCAT]].
* Use this Rcat on all redirectsrcat to atag pageany in the user namespaceredirect from a page ''outside'' of the[[WP:User pages|user namespace]] to a page in user namespace. This Rcatrcat should ''never'' be used onto tag a redirect in the user namespace that targets any other page.
:: ''As noted, this rcat may be used to categorize a user '''talk'''-page redirect that targets a user page, however it should '''never''' be used to tag a redirect that '''targets''' a user talk page nor '''any''' talk page.''
 
==== Aliases ====
* <span class="plainlinks">[{{fullurl:Special:WhatLinksHere/Template:R_to_user_namespace|hidetrans=1&hidelinks=1&limit=500}} Also known as...]</span> – list of templates that redirect here and may also be used
 
===See also===
{{Rcat see also}}
 
<includeonly>{{Sandbox other||
<!-- Categories go herebelow this line, andplease; interwikis go into Wikidata, thank you! -->
[[Category:All redirectRedirect templates|User]]
[[Category:Redirects to user namespace| ]]
[[Category:Templates for redirects to specific namespaces|User]]
[[Category:Templates for unprintworthy redirects|User]]
</includeonly>
[[Category:Unprintworthy redirects| ]]
[[Category:Unknown namespace redirect templates]]}}</includeonly> <noinclude>
[[Category:Redirect category template documentation pages|User]]
</noinclude>