Module:RedirectData/doc: Difference between revisions

From HIBIKIFORUM
Jump to navigation Jump to search
(Created page with "{{Documentation subpage}} == 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>{{((}}#invoke:{{BASEPAGENAME}}|''getRedirectToNamespace''{{))}}</code> == See also == * {{tl|R from shortcut}}, another template which uses this module <includeonly>{{sandbox other||{{testcases other|| <!-- Categories below this line, please --> Category:Modules }}}}</in...")
 
mNo edit summary
 
Line 4: Line 4:
This module can be used on redirect pages to display the namespace that the page '''redirects to'''. This should generally be wrapped by templates.
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>{{((}}#invoke:{{BASEPAGENAME}}|''getRedirectToNamespace''{{))}}</code>
: {{mlc|{{BASEPAGENAME}}|''getRedirectToNamespace''}}


== See also ==
== See also ==

Latest revision as of 06:37, 19 June 2023

Light bulb.png }}
It contains 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