Open main menu

Changes

Module:Redirect hatnote/doc

879 bytes added, 20:00, 31 December 2019
Cleanup TfD tag detritus
{{high-use| 34937 }}
{{Module rating|protected}}

This module produces a [[WP:HATNOTE|hatnote]] for disambiguating a page that is linked to by a given redirect. It implements the {{tl|redirect}} hatnote template.

== Usage from wikitext ==

This module cannot be used directly from wikitext. Please use the {{tl|redirect}} or {{tl|redirect2}} templates instead.

== Usage from Lua ==

To use this module from Lua, first load the module.

<source lang="lua">
local mRedirectHatnote = require('Module:Redirect hatnote')
</source>

The module can then be used with the following syntax:

<source lang="lua">
mRedirectHatnote._redirect(redirect, data, options, titleObj)
</source>

== See also ==
* [[Module:Redirect-distinguish]]

<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- Categories go here and interwikis go in Wikidata. -->
[[Category:Hatnote modules]]
}}</includeonly>
Anonymous user