Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:InfoboxTool

From North Forge
Revision as of 19:34, 2024 April 25 by 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")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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>" 
end 

return p