Module:TA4TK:myTest: Difference between revisions

From MaRDI portal
Koprucki (talk | contribs)
No edit summary
Tag: Manual revert
Koprucki (talk | contribs)
No edit summary
Line 6: Line 6:
local str = "Hello World!"
local str = "Hello World!"
return str
end
p.hello_math = function( frame )
local str = "<math>\\sin x</math>"
return str
return str

Revision as of 10:19, 17 December 2024

Documentation for this module may be created at Module:TA4TK:myTest/doc

-- Main table to hold all functions

local p = {}

p.hello = function( frame )
	
	local str = "Hello World!"
	
	return str
end

p.hello_math = function( frame )
	
	local str = "<math>\\sin x</math>"
	
	return str
end

return p