Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Navigation header/doc: Difference between revisions

From Kenshi Wiki
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 24: Line 24:
</includeonly>
</includeonly>
<noinclude>
<noinclude>
[[Category:Module documentation pages]]
[[Category:Module documents]]
</noinclude>
</noinclude>

Latest revision as of 01:36, 10 March 2025

Implements Template:Navigation header.

Functions

main

main(frame: table) -> string

Takes a frame object containing the template's arguments and generates a navigation header.

frame: A table containing the arguments passed to the module.

Returns: A string representing the generated HTML for the navigation header.

_main

_main(args: table) -> string

Takes an args object containing another module's arguments into this module and does the same as above.