Jump to content

Template:R to draft namespace: Difference between revisions

From Elite Dangerous Wiki
Content deleted Content added
include error check for targets that are not in draft namespace – see Template talk:R to project namespace#Template-protected edit request on 15 January 2022 for discussion
 
m Localise imported template guidance and policy links; preserve index layout and licence information
 
Line 3: Line 3:
|id=R to draft namespace
|id=R to draft namespace
|name=[[:Category:Redirects to the draft namespace|From outside draftspace]]
|name=[[:Category:Redirects to the draft namespace|From outside draftspace]]
|from=a page outside the [[Wikipedia:Drafts|draft-article namespace]] (draftspace)
|from=a page outside the [[Project:Template documentation|draft-article namespace]] (draftspace)
|to=a page in draftspace. This redirect page ''must be '''outside''''' of draftspace
|to=a page in draftspace. This redirect page ''must be '''outside''''' of draftspace
|info=** The draft is located at [[Draft:{{{1|{{PAGENAME}}}}}]]. You are welcome to improve the draft article while it is being considered for inclusion in [[Wikipedia:What is an article?#Namespace|article namespace]]. If the draft link is a redirect, then you may boldly turn that redirect into a draft article.
|info=** The draft is located at [[Draft:{{{1|{{PAGENAME}}}}}]]. You are welcome to improve the draft article while it is being considered for inclusion in [[Project:Notability|article namespace]]. If the draft link is a redirect, then you may boldly turn that redirect into a draft article.
** '''Note:''' ''If this redirect is in draftspace, then it will populate '''{{cat|Pages with templates in the wrong namespace}}''' instead.''
** '''Note:''' ''If this redirect is in draftspace, then it will populate '''{{cat|Pages with templates in the wrong namespace}}''' instead.''
|printworthy=no
|printworthy=no
}}<includeonly>{{Draft other|{{Incorrect redirect template|[[Wikipedia:Drafts|draft]]||outside}}|[[Category:Redirects to the draft namespace]]}}{{#ifeq: {{BASEPAGENAME}}|R to draft namespace||{{#ifeq: {{NAMESPACE:{{#invoke:redirect|main|{{FULLPAGENAME}}}}}}|{{ns:118}}||{{info|image=Stop hand nuvola.svg|{{error|The above template is being used incorrectly. Please remove it from this redirect.}}}}[[category:Pages with incorrectly transcluded templates]]}}}}</includeonly><noinclude>
}}<includeonly>{{Draft other|{{Incorrect redirect template|[[Project:Template documentation|draft]]||outside}}|[[Category:Redirects to the draft namespace]]}}{{#ifeq: {{BASEPAGENAME}}|R to draft namespace||{{#ifeq: {{NAMESPACE:{{#invoke:redirect|main|{{FULLPAGENAME}}}}}}|{{ns:118}}||{{info|image=Stop hand nuvola.svg|{{error|The above template is being used incorrectly. Please remove it from this redirect.}}}}[[category:Pages with incorrectly transcluded templates]]}}}}</includeonly><noinclude>
<!-- Place categories on /doc subpage; interwikis go to Wikidata. -->
<!-- Place categories on /doc subpage; interwikis go to Wikidata. -->
{{documentation}}
{{documentation}}

Latest revision as of 09:48, 31 October 2026

When used inside the {{Redirect category shell}} template:


When used by itself:

Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit "Template:R to draft namespace/doc" to edit its documentation if it is available. (How does this work?)

Purpose

This redirect category (rcat) template sorts redirects into two categories:

  1. Category:Redirects to the draft namespace – for cross-namespace redirects, and
  2. Category:Unprintworthy redirects – only redirects from the main-article namespace (mainspace)
In 2003, efforts were begun to support the Wikimedia Foundation's goal of increasing access and availability of Wikipedia articles in printed versions. Mainspace redirects that target pages in the draft namespace are not suitable for a printed version. In other words they are unprintworthy.

This rcat is not for use on redirects that are in draft namespace. If placed on a draft-article redirect, it will not populate the expected categories; it will instead be sorted to Category:Pages with templates in the wrong namespace.

Usage

  • Apply this rcat to a redirect in the following manner:
#REDIRECT [[(target article title)]]

{{Rcat shell|
{{R to draft namespace}}
}}
and when the redirect is in article mainspace, printworthiness should also be tagged:
#REDIRECT [[(target article title)]]

{{Rcat shell|
{{R to draft namespace}}
{{R unprintworthy}}
}}
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 article title)]]

{{R to draft namespace}}
This is in accord with instructions found at Wikipedia:REDCAT.
  • Use this rcat on all redirects from outside the draft namespace to an article title in draftspace. This rcat should never be used to tag any redirect that is in draftspace.

Parameter

This rcat takes one unnamed parameter for use when the draft article is titled differently than the redirect:

  • |1=(draft article title)

Do not include the "Draft:" prefix in the draft article title.

Aliases

See also

Redirects to other namespaces family:

Note: four rcat templates in italics also sort redirects from within their namespaces.

Lua error in Module:Navbox_with_collapsible_groups at line 6: attempt to call field 'with collapsible groups' (a nil value).