Jump to content

Module:RedirectData/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Created page with '{{Module rating|alpha}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> == Us...'
 
add see also
Line 5: Line 5:


<code><nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|''getRedirectToNamespace''}}</code>
<code><nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|''getRedirectToNamespace''}}</code>

== See also ==
* {{t|Automatic namespace redirect categories}}, a template which uses this module


<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |

Revision as of 06:05, 13 February 2021

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