Module talk:Tabular data: Difference between revisions

Content deleted Content added
Tags: Mobile edit Mobile web edit Advanced mobile edit
Bean49 (talk | contribs)
 
(One intermediate revision by the same user not shown)
Line 150:
:::::::::: There is something odd in [[Draft:List of countries and dependencies by population density]]. While it starts giving timeout error in the 14th line, other lines display without errors down to line 59. What makes those lines avoid the timeout? —&nbsp;<span style="font-family:Arial;background:#d6ffe6;border:solid 1px;border-radius:5px;box-shadow:darkcyan 0px 1px 1px;">&nbsp;[[User:Jts1882|Jts1882]]&nbsp;&#124;[[User talk:Jts1882|&nbsp;talk]]&nbsp;</span> 13:46, 3 July 2021 (UTC)
::::::::::: Yeah, I noticed that. Bloody good question. I sort of assumed the invoke queue doesn't follow the order in the code. — [[User:Guarapiranga|𝐆𝐮𝐚𝐫𝐚𝐩𝐢𝐫𝐚𝐧𝐠𝐚]]&nbsp;[[User talk:Guarapiranga|☎]] 14:23, 3 July 2021 (UTC)
 
== Null value and output format error ==
 
If the lookup points to a null value cell and there is an output format, it gives an error.
{|
|-
|
<syntaxhighlight lang="wikitext">
A{{#invoke:Tabular data|lookup
|search_column=date
|output_column=hospitalized
|search_value=2020-01-27
|COVID-19 cases in Santa Clara County, California.tab}}B
</syntaxhighlight>
|
A{{#invoke:Tabular data|lookup
|search_column=date
|output_column=hospitalized
|search_value=2020-01-27
|COVID-19 cases in Santa Clara County, California.tab}}B
|-
|
<syntaxhighlight lang="wikitext" highlight="2">
A{{#invoke:Tabular data|lookup
|output_format=There are %d people
|search_column=date
|output_column=hospitalized
|search_value=2020-01-27
|COVID-19 cases in Santa Clara County, California.tab}}B
</syntaxhighlight>
|
A{{#invoke:Tabular data|lookup
|output_format=There are %d people
|search_column=date
|output_column=hospitalized
|search_value=2020-01-27
|COVID-19 cases in Santa Clara County, California.tab}}B
|}
Could you fix this, please? [[User:Bean49|Bean49]] ([[User talk:Bean49|talk]]) 20:05, 23 January 2024 (UTC)
 
Could be more output columns and only one null. <code>%d out of %d users are administrators</code> [[User:Bean49|Bean49]] ([[User talk:Bean49|talk]]) 20:24, 23 January 2024 (UTC)