Template:R to template namespace and Template:R to template namespace/sandbox: Difference between pages
Appearance
(Difference between pages)
Content deleted Content added
include error check for targets that are not in template namespace – see Template talk:R to project namespace#Template-protected edit request on 15 January 2022 for discussion |
normalize |
||
Line 1: | Line 1: | ||
<!-- |
|||
<noinclude>{{This is a redirect/rcat}} |
|||
</noinclude>{{Redirect template |
|||
template |
|||
|name=[[:Category:Redirects to template namespace|From outside template namespace]] |
|||
--><noinclude> |
|||
|from=a page outside the template namespace |
|||
{{Documentation}} |
|||
|to=a template page. This redirect page ''must be '''outside''''' the template namespace |
|||
|info=** '''Note:''' If this page is in template namespace, then it will populate {{cat|Pages with templates in the wrong namespace}} ''instead of the correct, expected category''. |
|||
|printworthy=no |
|||
}}<includeonly>{{Template other|{{Incorrect redirect template|[[WP:Template namespace|template]]||outside}}|[[Category:Redirects to template namespace]]}}{{#ifeq: {{BASEPAGENAME}}|R to template namespace||{{#ifeq: {{NAMESPACE:{{#invoke:redirect|main|{{FULLPAGENAME}}}}}}|{{ns:10}}||{{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}} |
|||
</noinclude> |
</noinclude> |