FANDOM


Invokes global modules from dev.wikia.com.

Installation

Syntax

{{Devmodule|#mod = <module name>|#fun = <function name>|<parameters>}}
#mod or #modulename
Name of a module stored on dev.wikia, 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".

Examples

From another wiki with the Module: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.
Community content is available under CC-BY-SA unless otherwise noted.