Module:Tabber/doc

From RuneRealm Wiki
Jump to navigation Jump to search

This is the documentation page for Module:Tabber

This is a documentation subpage for Module:Tabber.
It contains usage information, categories, and other content that is not part of the original module page.
Module:Tabber's function main is invoked by Template:Tabber.

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
tabber({
{"tab 1 label", "tab 1 content"},
{"tab 2 label", "tab 2 content"},
{"etc", "..."},
})
Table, BooleanReturns a preprocessed string of a <tabber> containing each of the specified tabs.
If preprocess is explicitly set to false the tabber will not be processed and instead return a mw.html object. If it is not specified or set to true the tabber will be preprocessed.