Modul:Test: Unterschied zwischen den Versionen

Aus SchnuppTrupp
Wechseln zu: Navigation, Suche
(Änderung 122098 von Bowserkor (Diskussion) rückgängig gemacht.)
Zeile 1: Zeile 1:
 
local p = {}
 
local p = {}
+
function p.hello(frame)
function p.variables()
+
     return 'Ich will, dass hier etwas steht! [[Korbis Baustelle5]]'
     local variable = 1
+
end
+
function p.test(frame)
    variable = variable + 1
+
return 'Und hier soll auch etwas stehen!'
    return variable
+
 
end
 
end
 
 
return p
 
return p

Version vom 11. August 2016, 19:18 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