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

Content deleted Content added
update /doc
 
(26 intermediate revisions by 10 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|nor used to tag [[Wikipedia:Soft redirects|soft redirects]]}}
{{Twinkle standard installation}}
{{tsh|R to portal}}
__NOTOC__
=== Purpose ===
This redirect category ([[WP:RCAT|rcat]]) template ''automatically'' sorts redirects into one of two categories:
# {{Cat|Redirects to portal spacenamespace}} – for [[WP:CNRPNR|cross-namespacePNR]]s redirectsand [[WP:CNR|CNR]]s, or
# {{Cat|Redirects to portals}} – for [[WP:Portal namespace|Portalportal]] redirects to other Portalportal pages
This rcat also populates the following:
* {{Cat|Unprintworthy redirects}} – 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=1319195 printedavailability versions]</span>of of ''Wikipedia'' encyclopedia articles in {{diff|Wikipedia:Pushing to 1.0||1319195|printed versions}}. Mainspace redirects that target pages in the portal 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''.}}
 
=== Usage ===
{{hatnote|Use this rcat template in '''any [[wp:namespace|namespace]] including [[wp:Portal namespace|portal namespace]]'''.}}
: Apply this rcat to a redirect in the following manner:
<syntaxhighlight lang="wikitext">
<pre>
#REDIRECT [[Portal:(target page name)]]
 
{{Rcat shell|
{{R to portal namespace}}
}}
</pre>
</syntaxhighlight>
: and ''when the redirect is in article mainspace'', printworthiness should also be tagged:
<syntaxhighlight lang="wikitext">
#REDIRECT [[Portal:(target page name)]]
 
{{Rcat shell|
{{R to portal 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 [[Portal:(target page name)]]
 
{{R to portal namespace}}
</syntaxhighlight>
: This is in accord with instructions found at [[Wikipedia:REDCAT]].
* Use this rcat onto alltag redirectsany toredirect ain pageany innamespace (including the portal namespace) fromthat anytargets redirect,a whether it ispage in the portal namespace or not. TheseThis redirectsrcat will automatically besort sortedredirects as either inside or outside the portal namespace.
* Template {{tl|This is a redirect}} may also be used to add this and up to seven appropriate rcats to a redirect.
* Use this rcat on all redirects to a page in the portal namespace from any redirect, whether it is in the portal namespace or not. These redirects will automatically be sorted as either inside or outside the portal namespace.
 
==== Aliases ====
* <span class="plainlinks">[http{{fullurl://en.wikipedia.org/w/index.php?title=Special:WhatLinksHere/Template:R_to_portal_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 below this line, please; interwikis go to Wikidata, thank you! -->
[[Category:All redirect templates]]
[[Category:Redirect templates|Portal]]
[[Category:Redirects to portal spacenamespace| ]]
[[Category:Redirects to portals| ]]
[[Category:Templates for redirects to specific namespaces|Portal]]
[[Category:Templates for unprintworthy redirects|Portal]]
[[Category:Unprintworthy redirects| ]]
[[Category:AllPortal namespace redirect templates]]
 
[[Category:Other namespace redirect templates]]}}</includeonly> <noinclude>
[[Category:Redirect category template documentation pages|Portal]]
</noinclude>