Module:Electowidget/doc: Difference between revisions

From electowiki
Content added Content deleted
(Adding a second test case)
(Links to Lua source: Module:Electowidget and doc page: Module:Electowidget/doc)
Line 1: Line 1:
This is the very beginning of a Lua implementation of [[Electowidget]].
This is the very beginning of a Lua implementation of [[Electowidget]].

* Lua source: [[Module:Electowidget]]
* doc page: [[Module:Electowidget/doc]]


== Tests ==
== Tests ==

Revision as of 02:55, 7 September 2023

This is the very beginning of a Lua implementation of Electowidget.

Tests

Test 1

{{#invoke:Electowidget|parse_prefs_line|24: "蘇業"/5 > DGM/2 = AM/2 > SBJ/}}

Result 1

table


Test 2

{{#invoke:Electowidget|get_data}}

Result 2

Lua error: bad argument #1 to 'title.new' (number or string expected, got nil).