Module:Switch infobox/doc

From WIDEVERSE Wiki
Jump to navigation Jump to search

This is the documentation page for Module:Switch infobox

Generates a basic switch infobox. Usable via template or modules.

This module is a helper module to be used by other modules; it may not designed to be invoked directly. See RuneScape:Lua/Helper modules for a full list and more information.

FunctionTypeUse
_main({text1=..., item1=..., ...})table of stringsGenerates a switch infobox, following the same format of parameters as the template - though everything should be strings to be compatible with :wikitext()