Jump to content

Module talk:Tabular data

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Alexis Jazz (talk | contribs) at 06:11, 19 May 2020 (Multiple fields: new section). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

@Mxn: this is great! Now we just need easier ways to edit tables, like Vera's work. Let me try this with this data. – SJ + 12:41, 10 May 2020 (UTC)[reply]

@Sj: I didn't realize it during the hackathon, but phab:T251759 is already well underway. Can't wait to see it live! – Minh Nguyễn 💬 19:38, 10 May 2020 (UTC)[reply]
hot dog! thanks for the link :) and the illustrative attempt here too, good practice to parse. – SJ + 00:26, 11 May 2020 (UTC)[reply]

Multiple fields

@Mxn: what would be nice (and significantly help performance in some cases) is the ability to get multiple fields. Like how Module:Covid19Data is called on User:EProdromou (WMF)/COVID-19 case data as {{#invoke:Covid19Data|regionTable|CA|QC|<tr><td> %s</td><td> %s</td><td> %s</td><td> %s</td></tr>}}. For example: {{#invoke:Tabular data|lookup |search_column=model |search_value=XYZ |output_column=brand,year |format=<li> The XYZ was made by [[%s]] and released in [[%s]]. |Example.tab}}

Not sure how difficult this would be. - Alexis Jazz 06:11, 19 May 2020 (UTC)[reply]