Module:Redirect hatnote/doc: Difference between revisions
From Kenshi Wiki
More actions
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 29: | Line 29: | ||
[[Category:Hatnote modules]] | [[Category:Hatnote modules]] | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
[[Category:Module | [[Category:Module documents]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 01:26, 10 March 2025
| This is a documentation subpage for Module:Redirect hatnote. It may contain usage information, categories and other content that is not part of the original module page. |
| Uses Lua: |
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)