More actions
Ttenbergen (talk | contribs) Created page with " local p = {} -- this is a comment -- more comments --a multi line comment function p.toolInfobox( frame ) --if frame.args[1] == nil return p.testParameters(frame.args[1]) end function p.testParameters( myParameter ) return "<table class=\"infobox\"> <tr class=\"infobox-header\"> <th colspan=\"2\">Tools</th> </tr> </table>" end return p" |
Ttenbergen (talk | contribs) No edit summary |
||
Line 15: | Line 15: | ||
function p.testParameters( myParameter ) | function p.testParameters( myParameter ) | ||
return "<table class=\"infobox\"> <tr class=\"infobox-header\"> <th colspan=\"2\">[[Tools]]</th> </tr> </table>" | -- return "<table class=\"infobox\"> <tr class=\"infobox-header\"> <th colspan=\"2\">[[Tools]]</th> </tr> </table>" | ||
return "foo" | |||
end | end | ||
return p | return p |
Revision as of 19:35, 2024 April 25
This was set up to generate infoboxes via Scribunto/Lua, but hasn't been developed further.
local p = {}
-- this is a comment
-- more comments
--[[a multi
line comment]]
function p.toolInfobox( frame )
--if frame.args[1] == nil
return p.testParameters(frame.args[1])
end
function p.testParameters( myParameter )
-- return "<table class=\"infobox\"> <tr class=\"infobox-header\"> <th colspan=\"2\">[[Tools]]</th> </tr> </table>"
return "foo"
end
return p