Module:Util/doc: Difference between revisions
Jump to navigation
Jump to search
>OmegaK2 (Created page with "{{ProgrammingModule}}") |
(Sister interwiki) |
||
(16 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Documentation subpage}} | ||
{{Meta module}} | |||
{{Lua|Module:Arguments|Module:Cargo|Module:Util/config}} | |||
__TOC__ | |||
==Overview== | |||
Provides utility functions for programming modules. | |||
==Structure== | |||
{| class="wikitable" | |||
! Group | |||
! Description | |||
|- | |||
! util.cast | |||
| utilities for casting values (i.e. from arguments) | |||
|- | |||
! util.html | |||
| shorthand functions for creating some html tags | |||
|- | |||
! util.misc | |||
| miscellaneous functions | |||
|} | |||
==Usage== | |||
This module should be loaded with <code>[[mw:Extension:Scribunto/Lua_reference_manual#require|require()]]</code>. | |||
{{Documentation categories| | |||
<!-- Categories and interwikis go here. --> | |||
{{Sister|poewiki}} | |||
}} |
Latest revision as of 23:55, 19 October 2024
This subpage provides documentation for Module:Util.
This is a meta module.
This module is meant to be used only by other modules. It should not be invoked in wikitext.
Overview
Provides utility functions for programming modules.
Structure
Group | Description |
---|---|
util.cast | utilities for casting values (i.e. from arguments) |
util.html | shorthand functions for creating some html tags |
util.misc | miscellaneous functions |
Usage
This module should be loaded with require()
.