Template:R to draft namespace: Difference between revisions

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:
|id=R to draft namespace
|name=[[:Category:Redirects to the draft namespace|From outside draftspace]]
|from=a page outside the [[WikipediaProject:DraftsTemplate documentation|draft-article namespace]] (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 [[WikipediaProject:What is an article?#NamespaceNotability|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.''
|printworthy=no
}}<includeonly>{{Draft other|{{Incorrect redirect template|[[WikipediaProject:DraftsTemplate 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. -->
{{documentation}}