Template:Helper module: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Created page with "{{Documentation}} {{Invokes|Helper module}} Provides documentation for functions of modules that contain functions useful for other modules. This template should be part of a comment, and should be at the top of the source code, '''before''' any <nowiki><pre> or <nowiki></nowiki> tags. There is no limit to the number of functions this template can list. This template is called by RuneScape:Lua/Helper modules to help produce a dynamic table. <pre> {{Helper module |n...") |
(Replaced content with "<includeonly>{{#invoke:Helper module|main}}</includeonly><noinclude>{{/doc}}</noinclude>") Tag: Replaced |
||
Line 1: | Line 1: | ||
<includeonly>{{#invoke:Helper module|main}}</includeonly><noinclude>{{/doc}}</noinclude> |
|||
{{Documentation}} |
|||
{{Invokes|Helper module}} |
|||
Provides documentation for functions of modules that contain functions useful for other modules. This template should be part of a comment, and should be at the top of the source code, '''before''' any <nowiki><pre> or <nowiki></nowiki> tags. There is no limit to the number of functions this template can list. |
|||
This template is called by [[RuneScape:Lua/Helper modules]] to help produce a dynamic table. |
|||
<pre> |
|||
{{Helper module |
|||
|name = Name of the module (no namespace prefix) |
|||
|fname1 = Name of first function as it is called in modules |
|||
|ftype1 = Argument types of parameters |
|||
|fuse1 = Purpose of the function |
|||
... |
|||
|fname# = Name of tenth function as it is called in modules |
|||
|ftype# = Argument types of parameters |
|||
|fuse# = Purpose of the function |
|||
}} |
|||
</pre> |
|||
<includeonly>[[Category:DPL templates]][[Category:Formatting templates]]</includeonly> |
Latest revision as of 15:06, 15 October 2024
Template documentation
This documentation is transcluded from Template:Helper module/doc. [edit] [history] [purge]
Template:Helper module invokes function main in Module:Helper module using Lua.
Template:Helper module invokes Module:Helper module using Lua.
Provides documentation for functions of modules that contain functions useful for other modules. This template should be part of a comment, and should be at the top of the source code, before any <pre> or <nowiki> tags. There is no limit to the number of functions this template can list.
This template is called by RuneScape:Lua/Helper modules to help produce a dynamic table.
{{Helper module |name = Name of the module (no namespace prefix) |fname1 = Name of first function as it is called in modules |ftype1 = Argument types of parameters |fuse1 = Purpose of the function ... |fname# = Name of tenth function as it is called in modules |ftype# = Argument types of parameters |fuse# = Purpose of the function }}