Modul:Test: Unterschied zwischen den Versionen

Aus SchnuppTrupp
Wechseln zu: Navigation, Suche
Zeile 2: Zeile 2:
 
function p.hello(frame)
 
function p.hello(frame)
 
     return 'Ich will, dass hier etwas steht! [[Korbis Baustelle5]]'
 
     return 'Ich will, dass hier etwas steht! [[Korbis Baustelle5]]'
 +
end
 +
function p.test(frame)
 +
return 'Und hier soll auch etwas stehen!'
 
end
 
end
 
return p
 
return p
> print (2+2)
 

Version vom 11. August 2016, 19:15 Uhr

Die Dokumentation für dieses Modul kann unter Modul:Test/Doku erstellt werden

local p = {}
function p.hello(frame)
    return 'Ich will, dass hier etwas steht! [[Korbis Baustelle5]]'
end
function p.test(frame)
	return 'Und hier soll auch etwas stehen!'
end
return p