More actions
Created page with "{{Module rating|protected}} {{doc sub}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> == Usage == This module can be used on redirect pages to display the namespace that the page '''redirects to'''. This should generally be wrapped by templates. <code><nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|''getRedirectToNamespace''}}</code> == See also == * {{t|Automatic redirect categories}}, a..." |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{doc sub}} | {{doc sub}} | ||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
Line 13: | Line 12: | ||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | ||
<!-- Categories below this line, please; interwikis at Wikidata --> | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
[[Category:Modules]] | |||
}}</includeonly> | }}</includeonly><noinclude> | ||
[[Category:Module documents]] | |||
</noinclude> |
Latest revision as of 01:23, 10 March 2025
This is a documentation subpage for Module:RedirectData. It may contain usage information, categories and other content that is not part of the original module page. |
Usage
This module can be used on redirect pages to display the namespace that the page redirects to. This should generally be wrapped by templates.
{{#invoke:RedirectData|getRedirectToNamespace}}
See also
- {{Automatic redirect categories}}, a template which uses this module
- {{R from shortcut}}, another template which uses this module