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

Content deleted Content added
Aliases: http > https using AWB
m Add namespace-specific categories
 
(12 intermediate revisions by 6 users not shown)
Line 2:
<!-- 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 mainspace|R to main}}
__NOTOC__
===Purpose===
Line 11 ⟶ 12:
{{hatnote|Use this rcat template in any [[wp:namespace|namespace]] '''except [[wp:Main namespace|main-article namespace]]''' (mainspace).}}
* Apply this rcat to a redirect in the following manner:
<syntaxhighlight lang="wikitext">
<pre>
#REDIRECT [[(target article title)]]
 
{{Rcat shell|
{{Redr|R to main namespace}}
</pre>
}}
: Template {{tl|Redr}} is an alias for the ''This is a redirect'' template, which may be used to add up to seven appropriate rcats, along with their parameters, to a redirect. For more information see the documentation on its template page and its [[Template:This is a redirect/Comparison|comparison page]]. This rcat may also tag a redirect individually:
</syntaxhighlight>
<pre>
: Template {{tl|RedrRcat shell}} is an alias for the ''ThisRedirect iscategory a redirectshell'' template, which may be used to add upas to sevenmany 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 and its [[Template:This is a redirect/Comparison|comparison page]]. This rcat may also tag a redirect individually:
<syntaxhighlight lang="wikitext">
#REDIRECT [[(target article title)]]
 
{{R to main namespace}}
</syntaxhighlight>
</pre>
: This is in accord with instructions found at [[Wikipedia:REDCAT]].
* Use this rcat on all redirects from '''''outside''''' the [[WP:mainspace|main namespace]] to an article title in mainspace. This rcat should ''never'' be used to tag any redirect that is in mainspace.
 
==== Aliases ====
* <span class="plainlinks">[https{{fullurl://en.wikipedia.org/w/index.php?title=Special:WhatLinksHere/Template:R_to_main_namespace&|hidetrans=1&hidelinks=1&limit=500}} Also known as...]</span> – list of templates that redirect here and may also be used
 
=== Printworthiness ===
{{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''.}}
'''For information only:'''
* This rcat will only be used to categorize redirects outside mainspace, so printworthiness will not apply to any redirects tagged by this rcat. All redirects that are inside mainspace are either [[wp:printworthiness|printworthy {{black|or}} unprintworthy]]. AtIn some2003, pointefforts inwere thebegun future,to support the [[JimmyWikimedia WalesFoundation]]'s wantsgoal toof makeincreasing moreaccess and availability of ''Wikipedia'' articles in {{diff|Wikipedia:Pushing to 1.0||1319195|printed versions}} of ''Wikipedia'' encyclopedia articles. Some rcats automatically populate either {{Cat|Printworthy redirects}} or {{Cat|Unprintworthy redirects}} by default. Other rcats do not, and that means it is up to editors to choose which of those categories, ''Printworthy'' or ''Unprintworthy'', is appropriate and should be populated. The rcats that are used separately to populate those categories are:
:* {{tlx|R printworthy}} and
:* {{tlx|R unprintworthy}}
: Please click on each one for more details and guidance.
* Template {{tl|ThisRedirect iscategory a redirectshell}} will accept these rcats just like any other.
:: '''Examples:'''
<syntaxhighlight lang="wikitext">
<pre>
{{Rcat shell|
{{Redr|from surname|from alternative name|printworthy}}
{{Redr|R from surname|from alternative name|unprintworthy}}
{{Redr|fromR surname|from alternative name|printworthy}}
</pre>
{{R printworthy}}
: Either {{tl|This is a redirect}} or its alias/shortcut, {{tl|Redr}}, may be used.
}}
 
{{Rcat shell|
{{R from surname}}
{{R from alternative name}}
{{R unprintworthy}}
}}
</syntaxhighlight>
: Either {{tl|ThisRedirect iscategory a redirectshell}} or its alias/shortcut, {{tl|RedrRcat shell}}, may be used.
 
===TemplateData===
{{TemplateData header}}
<templatedata>
{
"params": {},
"description": "This is a redirect category is for redirects from a page outside the main-article namespace (mainspace) to an article in mainspace."
}
</templatedata>
 
===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|Main]]
[[Category:Redirects to the main namespace| ]]
[[Category:Templates for redirects to specific namespaces|Main]]
[[Category:AllUnknown namespace redirect templates]]}}</includeonly> <noinclude>
 
[[Category:RcatRedirect category template documentation pages|Main]]
}}</includeonly><noinclude>
[[Category:Rcat template documentation pages|Main]]
</noinclude>