Module:Tables/doc

From RuneRealm Wiki

This is the current revision of this page, as edited by Alex (talk | contribs) at 14:34, 16 October 2024 (Created page with "{{documentation}} {{Helper module |name = Tables |fname1 = _row(row, elts, header) |ftype1 = mw.html object, table/string, boolean |fuse1 = Adds <code>td</code> or <code>th</code> cells to the html object with the cells data specified by <code>elts</code>. If <code>header</code> = <code>true</code> then all cells added will have the <code>th</code> tag. |fname2 = _table(table, data) |ftype2 = mw.html object, table |fuse2 = Adds <code>tr</code> rows and <code>td</code>/<c..."). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is the documentation page for Module:Tables

This is a documentation subpage for Module:Tables.
It contains usage information, categories, and other content that is not part of the original module page.
Module:Tables is required by Module:Combat Achievements.
Module:Tables is required by Module:Tombs of Amascut loot.

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
_row(row, elts, header)mw.html object, table/string, booleanAdds td or th cells to the html object with the cells data specified by elts. If header = true then all cells added will have the th tag.
_table(table, data)mw.html object, tableAdds tr rows and td/th cells to the html object, the data for the rows and cells is specified by data.