Jump to content

Module:Data to Table/doc: Difference between revisions

From The Petit Planet Wiki
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,..."
 
ReisuDesign (talk | contribs)
No edit summary
 
Line 1: Line 1:
{{Documentation/Header}}
{{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.)
This module implements {{T|Data to Table}}.
 
==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, it is used as the table's key by default, so there is no need to specify it.
* {{F|sortkey}} ''(optional)'' — Specifies which key to sort the data by, using the page name by default. Use 'INPUT' to preserve the original order.
* {{F|subtable}} ''(optional)'' — Splits values into subtables.
* {{F|block}} ''(optional)'' — Display the results using block formatting.
* {{F|copy}} ''(optional)'' — Enter your header here. Adds a button to copy the table to your clipboard at the top.
* {{F|cleanTT}} ''(optional)'' — Auto-parse out any [[Template:Tt]] format in the output.

Latest revision as of 21:40, 12 September 2026

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

This module implements {{Data to Table}}.