Module talk:Tabular data: Difference between revisions

Content deleted Content added
Line 34:
 
:{{ping|GreenC}} This module is intended to serve a variety of use cases generically, so it's different than {{tl|NUMBEROF}}, but I added a "See also" link to that template, just in case. This module provides {{ml|Tabular data|wikitable}} for situations where the entire table is needed on a given page, as opposed to a lookup of a few values. That function could be made more flexible, along the lines of {{tl|Json2table}}, but I think ultimately any use case that requires looking up a lot of values from the same Commons table and including the results on the same page warrants a dedicated Lua module to build that entire portion of the page. Then caching wouldn't be so relevant, because the Commons table would only get loaded once anyways. &ndash;&nbsp;[[User:Mxn|Minh <span style="font-variant: small-caps;">Nguyễn</span>]]&nbsp;<sup>[[User talk:Mxn|<span style="display: inline-block;">&#x1f4ac;</span>]]</sup> 22:44, 25 May 2020 (UTC)
 
== Getting row or column data ==
 
Just an idea, not sure about the technical feasibility. Similar to getting cell value, is it possible to get the column values or row values? Output shall be csv(or some delimited values) in place of a value. One of the usage I'm looking for is to use in {{tl|Graph:Chart}} as data series.- [[User:Timbaaa|Timbaaa]] -> <small>[[User talk:Timbaaa|ping me]]</small> 13:31, 14 July 2020 (UTC)