Module:Electowidget/doc: Difference between revisions

(''see also: Module:ABIF'')
(This is the very beginning of a Lua implementation of Electowidget.)
 
((''see also: Module:ABIF''))
 
(6 intermediate revisions by the same user not shown)
Line 1:
This is the very beginning of a Lua implementation of [[Electowidget]].
 
* Lua source: [[Module:Electowidget]]
* doc page: [[Module:Electowidget/doc]]
 
(''see also: [[Module:ABIF]]'')
 
== Tests ==
 
=== Test 1 ===
<blockquote><nowiki>
{{#invoke:Electowidget|parse_prefs_line|24: "蘇業"/5 > DGM/2 = AM/2 > SBJ/}}
</nowiki></blockquote>
 
=== Result 1 ===
{{#invoke:Electowidget|parse_prefs_line|24: "蘇業"/5 > DGM/2 = AM/2 > SBJ/}}
 
=== Test 2 ===
<blockquote><nowiki>
{{#invoke:Electowidget|prefs_line_json|24: "蘇業"/5 > DGM/2 = AM/2 > SBJ/}}
</nowiki></blockquote>
 
=== Result 2 ===
{{#invoke:Electowidget|prefs_line_json|24: "蘇業"/5 > DGM/2 = AM/2 > SBJ/}}
 
=== Test 3 ===
<blockquote><nowiki>
{{#invoke:Electowidget|get_data|2009 Burlington, Vermont Mayoral Election data}}
</nowiki></blockquote>
 
=== Result 3 ===
{{#invoke:Electowidget|get_data|2009 Burlington, Vermont Mayoral Election data}}