Template:Automatic redirect categories
Appearance
(Redirected from Template:Automatic namespace redirect categories)
![]() | This template uses Lua: |
Usage
[edit]This is a template to automatically detect and apply various redirect categories. It applies the following:
Namespaces
[edit]Applied to redirects from any namespace to a specific namespace
[edit]Type | Usage | Template | Examples |
---|---|---|---|
Wikipedia (project) namespace |
|
{{R to project namespace}} | Wikipedia:MOS → Wikipedia:Manual of Style MOS:ABBR → Wikipedia:Manual of Style (abbreviations) Help:IPA → Wikipedia:IPA |
Help namespace |
|
{{R to help namespace}} | Help:Magic word → Help:Magic words H:R → Help:Redirect (H:R is in the Main namespace) Wikipedia:Thumbnail → Help:Files |
Portal namespace |
|
{{R to portal namespace}} | Portal:Beatles → Portal:The Beatles P:ENG → Portal:England Wikipedia:0 → Portal:Contents |
Applied to only cross-namespace redirects
[edit]Type | Usage | Template | Examples |
---|---|---|---|
Category namespace |
|
{{R to category namespace}} | CAT:A → Category:Wikipedia adminship (CAT:A is in the Main namespace) Category:A → Category:Wikipedia adminship |
Draft namespace |
|
{{R to draft namespace}} | Wikipedia:Wikiproject Dacia/Drafts/Arcina → Draft:Arcina Draft:Beatles → Draft:The Beatles |
Main namespace |
|
{{R to main namespace}} | Template:DSM IV TR → Diagnostic and Statistical Manual of Mental Disorders Beatles → The Beatles |
Talk namespaces |
|
{{R to talk page}} | Help:Table → Talk:Library Wikipedia:Edit conflict → Wikipedia talk:Edit conflict User talk:Simon → User:Simon ({{R to user namespace}}) User talk:Jimbo → Talk:Genius |
Template namespace |
|
{{R to template namespace}} | T:S → Template:Strikethrough (T:S is in the Main namespace.) Template:R from → Template:R template index |
User namespace |
|
{{R to user namespace}} | Wikipedia:MOS → User:Jimbo Wales User talk:Tricky Ed → User:SuperEditor User:SuperEditor → User talk:Tricky Ed ({{R to talk page}}) User:SuperEditor → User:Tricky Ed User:Jimbo Wales/Workpage → User:Jimbo Wales |
Subpages
[edit]- {{R from subpage}}
- {{R to subpage}}
Disambiguation pages
[edit]- {{R to disambiguation page}}
- {{R from unnecessary disambiguation}} – For example in cases of talk pages ending in
(disambiguation)
, to match the application of {{R to disambiguation page}} on non-talk pages.
Protection levels
[edit]- {{R fully protected}}
- {{R template-protected}}
- {{R extended-protected}}
- {{R semi-protected}}
- {{pp-move}}
- {{pp}}
Other
[edit]Programming
[edit]This template uses Module:RedirectData to detect the namespace that is redirected to.
![]() | This template has not been added to any categories. Please help out by adding categories to it so that it can be listed with similar templates. (August 2024) |