Vorlage Diskussion:WikidataChart
aus Wikipedia, der freien Enzyklopädie
order-based params need to be trimmed
demonstrating the problem: this is taken directly from the doc page, plus break into multi-line, which is the preferred "format" for multi-param templates:
{{WikidataChart |P1087 |P585 |pageIds=Q106807, Q217198 |xEnd=2015 |chart_width=600 |chart_height=200 |chart_legend=Legende |chart_yGrid=1 }}
<graph>Lua-Fehler in Modul:WikidataChart, Zeile 32: attempt to index local 'entity' (a nil value)</graph>
this is easy to solve: add around line #12 of Modul:WikidataChart
property = mw.text.trim(property)
xQualifier = mw.text.trim(xQualifier)
peace. --קיפודנחש (Diskussion) 20:09, 13. Apr. 2022 (CEST)