Toggle menu
15
236
81
27.9K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Redirect hatnote/doc: Difference between revisions

From Kenshi Wiki
Prd (talk | contribs)
No edit summary
Prd (talk | contribs)
No edit summary
 
Line 30: Line 30:
}}</includeonly><noinclude>
}}</includeonly><noinclude>
[[Category:Module documents]]
[[Category:Module documents]]
[[Category:Module documentation pages]]
</noinclude>
</noinclude>

Latest revision as of 01:26, 10 March 2025

This module produces a hatnote for disambiguating a page that is linked to by a given redirect. It implements the {{redirect}} hatnote template.

Usage from wikitext

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

Usage from Lua

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

local mRedirectHatnote = require('Module:Redirect hatnote')

The module can then be used with the following syntax:

mRedirectHatnote._redirect(redirect, data, options, titleObj)

See also