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

Witterpedia:Lua/Helper modules: Difference between revisions

From Witterpedia
Created page with "This is a table of modules and functions that were created specifically for facilitating the creation of other modules. Documentation for modules here is done in the source code with Template:Helper module. In all below descriptions, optional arguments have square brackets around them with default values after a pipe, if appropriate. i.e. <code>foo( x, [y|1] )</code> means function foo has one required argument, and the second argument is optional and will default to..."
 
No edit summary
Line 1: Line 1:
This is a table of modules and functions that were created specifically for facilitating the creation of other modules. Documentation for modules here is done in the source code with [[Template:Helper module]]. In all below descriptions, optional arguments have square brackets around them with default values after a pipe, if appropriate. i.e. <code>foo( x, [y|1] )</code> means function foo has one required argument, and the second argument is optional and will default to 1.
This is a table of modules and functions that were created specifically for facilitating the creation of other modules. Documentation for modules here is done in the source code with [[Template:Helper module]]. In all below descriptions, optional arguments have square brackets around them with default values after a pipe, if appropriate. i.e. <code>foo( x, [y|1] )</code> means function foo has one required argument, and the second argument is optional and will default to 1.


<dpl>
<<DynamicPageList>>
namespace = Module
namespace = Module
uses = Template:Helper module
uses = Template:Helper module
Line 9: Line 9:
format = <table class="wikitable"><tr><th>Module</th><th>Function</th><th>Type</th><th>Use</th><th>Example</th></tr>,,,</table>
format = <table class="wikitable"><tr><th>Module</th><th>Function</th><th>Type</th><th>Use</th><th>Example</th></tr>,,,</table>
ordermethod=title
ordermethod=title
</dpl>
</<DynamicPageList>>

Revision as of 00:29, 13 March 2025

This is a table of modules and functions that were created specifically for facilitating the creation of other modules. Documentation for modules here is done in the source code with Template:Helper module. In all below descriptions, optional arguments have square brackets around them with default values after a pipe, if appropriate. i.e. foo( x, [y|1] ) means function foo has one required argument, and the second argument is optional and will default to 1.

<<DynamicPageList>> namespace = Module uses = Template:Helper module titlematch = %/doc nottitlematch = Helper module/doc include = {Helper module}

format =

,,,
ModuleFunctionTypeUseExample

ordermethod=title </<DynamicPageList>>