mNo edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
function p.ProtoFlux( frame ) | function p.ProtoFlux( frame ) | ||
local t = mw.text.jsonDecode( frame.args ); | local t = mw.text.jsonDecode( frame.args.Inputs ); | ||
local div = mw.html.create( 'div' ); | local div = mw.html.create( 'div' ); | ||
for k,v in pairs(t) do | for k,v in pairs(t) do | ||
div:wikitext( ' | div:wikitext( k .. '=' .. v ); | ||
end | end | ||
return tostring( div ); | return tostring( div ); |
Revision as of 01:49, 13 January 2024
Documentation for this module may be created at Module:Test/doc