Module:Switch infobox/doc

Revision as of 20:52, 5 November 2021 by Admin (talk | contribs) (Created page with "{{documentation}} Generates a basic switch infobox. Usable via template or modules. {{Helper module |name = Switch infobox |fname1 = _main({text1=..., item1=..., ...}) |ftype...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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()