Fandom Developers Wiki

Invokes global modules from dev.fandom.com.

Installation

Syntax

{{Devmodule|#mod = <module name>|#fun = <function name>|<parameters>}}
#mod or #modulename
Name of a module stored on dev.fandom.com, e.g. "InfoboxBuilder".
#fun or #fname
Function that will be invoked, e.g. "main". Note that if this is omitted it assumes that the function is "main".
parameters
Any named or numbered parameters, e.g. "1=baby", "character=Zerg".

Example

From another wiki with the Devmodule use this code:

CodeOutput
{{Devmodule|#mod=links|wikipedia:Lua}}wikipedia:Lua
CodeOutput
{{Devmodule|#mod=formatnum|#fun=main|1231231223|en}}1,231,231,223

Module information

Functions

p.main

Entry point to use module.
Parameters
NameTypepurpose
frametableA scribunto frame.
Return typeReturn purpose
stringThe return content of the module.
Text above can be found here (edit)