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

Content deleted Content added
m Usage: linked in See also section
m Add namespace-specific categories
 
(18 intermediate revisions by 5 users not shown)
Line 1:
{{Documentation subpage}}
<!-- Categories go where indicated at the bottom of this page, andplease; interwikis go into Wikidata (see also: [[Wikipedia:Wikidata.]]) -->
{{Substitution|not|nor used to tag [[Wikipedia:Soft redirects|soft redirects]]}}
{{Twinkle standard installation}}
{{Tsh|R to user}}
__NOTOC__
===Purpose===
This redirect category ([[WP:RCAT|rcat]]) template automatically sorts redirects into two categories:
# {{Cat|Redirects to user namespace}} – for [[WP:CNR|cross-namespace redirects]], and
# {{Cat|Unprintworthy redirects}} – only redirects from the [[wp:Main namespace|main-article namespace]] (mainspace)
*:: AtIn some2003, pointefforts inwere thebegun future,to support the [[JimmyWikimedia WalesFoundation]]'s wantsgoal toof makeincreasing moreaccess <spanand class="plainlinks">[http://en.wikipedia.org/w/index.php?title=Wikipedia:Pushing_to_1.0&oldid=1319195availability printed versions]</span>of of ''Wikipedia'' encyclopedia articles in {{diff|Wikipedia:Pushing to 1.0||1319195|printed versions}}. Mainspace redirects that target pages in the user namespace are not suitable for a printed version. In other words they are [[wp:Printworthiness|unprintworthy]].
{{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 rcat template in any [[wp:namespace|namespace]] '''except [[wp:User pages|user namespace]]'''.}}
 
* Apply this rcat to a redirect in the following manner:
<syntaxhighlight lang="wikitext">
<pre>
#REDIRECT [[User:(target page name)]]
 
{{Rcat shell|
{{R to user namespace}}
}}
</pre>
</syntaxhighlight>
: and ''when the redirect is in article mainspace'', printworthiness should also be tagged:
<syntaxhighlight lang="wikitext">
#REDIRECT [[User:(target page name)]]
 
{{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 to tag any redirect from a page ''outside'' of [[WP:User pages|user namespace]] to a page in user namespace. This rcat should ''never'' be used to tag a redirect in user namespace that targets any other page.
* Template {{tl|This is a redirect}} may also be used to add this and up to seven appropriate rcats to a redirect.
*:: Use''As noted, this rcat onmay allbe redirectsused to categorize a page in the user namespace from a page ''outside'talk'''-page ofredirect thethat usertargets namespace.a user Thispage, rcathowever it should '''never''' be used onto tag a redirect inthat the'''targets''' a user namespacetalk thatpage targetsnor '''any''' othertalk page. ''
 
==== Aliases ====
* <span class="plainlinks">[http{{fullurl://en.wikipedia.org/w/index.php?title=Special:WhatLinksHere/Template:R_to_user_namespace&|hidetrans=1&hidelinks=1&limit=500}} ClickAlso hereknown as...]</span> for a list of templates that redirect here and that may also be used.
 
===See also===
{{Rcat see also}}
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandboxSandbox other||
<!-- Categories go herebelow andthis line, please; 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]]
[[Category:Unprintworthy redirects| ]]
 
[[Category:Unknown namespace redirect templates]]}}</includeonly> <noinclude>
[[Category:Redirect category template documentation pages|User]]
</noinclude>