FANDOM


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)
Community content is available under CC-BY-SA unless otherwise noted.

Fandom may earn an affiliate commission on sales made from links on this page.

Stream the best stories.

Fandom may earn an affiliate commission on sales made from links on this page.

Get Disney+