Module:Util/doc: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
 
 
		
	
| >OmegaK2 No edit summary |  (Sister interwiki) | ||
| (14 intermediate revisions by 6 users not shown) | |||
| Line 1: | Line 1: | ||
| {{ | {{Documentation subpage}} | ||
| {{Meta module}} | |||
| {{Lua|Module:Arguments|Module:Cargo|Module:Util/config}} | |||
| __TOC__ | __TOC__ | ||
| ==Overview== | ==Overview== | ||
| Provides utility functions for programming modules. | Provides utility functions for programming modules. | ||
| ==Structure== | ==Structure== | ||
| {| class="wikitable" | {| class="wikitable" | ||
| Line 9: | Line 14: | ||
| |- | |- | ||
| ! util.cast | ! util.cast | ||
| | utilities for casting values (i.e. from arguments | | utilities for casting values (i.e. from arguments) | ||
| |- | |- | ||
| ! util.html | ! util.html | ||
| Line 17: | Line 22: | ||
| | miscellaneous functions | | 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().
