Category talk:Tabular data/doc

From blackwiki
Revision as of 23:56, 9 May 2020 by blackwiki>Mxn (Mxn moved page Module:Sandbox/Mxn/Tabular data/doc to Module:Tabular data/doc: Ready for action)
Jump to navigation Jump to search

Error: {{Module rating}} must be placed in the Module namespace.

This module displays the contents of a tabular data page on Wikimedia Commons as a (rather plain) table.

lookup

Returns the value of the cell in the given output column of the row matching the search key and column.

This function is reminiscent of LOOKUP() macros in popular spreadsheet applications, except that the search key must match exactly. (On the other hand, this means the table does not need to be sorted.)

Usage: {{#invoke:Tabular data/doc|lookup|Data table page name.tab|Search key|Search column name|Output column name}}

Example:

Lua error in package.lua at line 80: module 'Module:Tabular data/doc' not found.

wikitable

Returns the entire data table as a (rather plain) table.

Usage: {{#invoke:Tabular data/doc|wikitable|Data table page name.tab}}

Example

Lua error in package.lua at line 80: module 'Module:Tabular data/doc' not found.