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
Created page with "{{doc sub}} {{Lua|Module:Standard icons|Module:Shortcut}} {{Uses TemplateStyles|Module:Navigation header/styles.css}} 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 ==..."
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 19: Line 19:


Takes an args object containing another module's arguments into this module and does the same as above.
Takes an args object containing another module's arguments into this module and does the same as above.
<includeonly>
[[Category:Modules]]
</includeonly>
<noinclude>
[[Category:Module documents]]
</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.