Soyjak Wiki:Module

From Soyjak Wiki, the free ensoyclopedia
Jump to navigationJump to search
This wiki page is currently under development(You) VVILL NOT edit the page until it's properly finished.
For a complete list of pages in the Module namespace, see Special:AllPages/Module:. Also see Lua.

Modules are programs written in Lua 5.1.x and executed by the Scribunto extension. They are generally used by templates to perform tasks that would be difficult, inefficient, or impossible using ordinary wikitext and parser functions alone.

This page lists useful modules available on the Soyjak Wiki. It is intended as a directory of modules that editors and template developers may actually want to use, rather than a complete list of every page in the Module namespace.

Many modules are primarily intended to be called through templates rather than invoked directly. See the module's documentation before using it.

Categories

[edit | edit source]

Developing modules

[edit | edit source]

Scribunto modules are lua scripts in the Module: namespace. They can be invoked from wikitext using the #invoke parser function. Modules have a collection of functions, which can be called using wiki syntax.

{{#invoke:Module name|function name|args ...}}

Before modifying a module that is widely used, check its transclusions and documentation. Changes to a heavily used module can affect a large number of pages at once.

Experimental code should be developed in Module:Module sandbox before being deployed to a widely used module.

See also

[edit | edit source]