Module:Data to Table/doc

Revision as of 11:56, 8 September 2026 by ReisuDesign (talk | contribs) (Created page with "{{Documentation/Header}} Lua module to allow users to create "copy-pastable" data tables based on custom DPL queries. (There is no template associated with this module.) ==Syntax== * {{F|info}} — The raw output of a DPL query (see usage examples). * {{F|keys}} — A {{F|;;}}-separated list of keys to extract from the info. You can use nested levels with {{F|//}} and {{F|@@}}. ** Note that although the page itself must be included in your DPL include statement,...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:Data to Table

This is the documentation page for Data to Table.
It contains usage information, categories, and other content not part of the original module page.

Lua module to allow users to create "copy-pastable" data tables based on custom DPL queries. (There is no template associated with this module.)

Syntax

  • info — The raw output of a DPL query (see usage examples).
  • keys — A ;;-separated list of keys to extract from the info. You can use nested levels with // and @@.
    • Note that although the page itself must be included in your DPL include statement, it is used as the table's key by default, so there is no need to specify it.
  • sortkey (optional) — Specifies which key to sort the data by, using the page name by default. Use 'INPUT' to preserve the original order.
  • subtable (optional) — Splits values into subtables.
  • block (optional) — Display the results using block formatting.
  • copy (optional) — Enter your header here. Adds a button to copy the table to your clipboard at the top.
  • cleanTT (optional) — Auto-parse out any Template:Tt format in the output.