Aktionen

Modul

Test Formate: Unterschied zwischen den Versionen

Aus Bohnenwiki

 
Zeile 3: Zeile 3:
 
function p.hello( frame )
 
function p.hello( frame )
 
     local string = ""
 
     local string = ""
     for arg in pairs( frame.args ) do string = string .. "\n" .. arg end
+
     for i,arg in pairs( frame.args ) do string = string .. "\n" .. arg end
 
     return string
 
     return string
 
end
 
end
  
 
return p
 
return p

Aktuelle Version vom 15. Juli 2015, 21:01 Uhr

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

local p = {}

function p.hello( frame )
    local string = ""
    for i,arg in pairs( frame.args ) do string = string .. "\n" .. arg end
    return string
end

return p
Cookies helfen uns bei der Bereitstellung von Bohnenwiki. Durch die Nutzung von Bohnenwiki erklärst du dich damit einverstanden, dass wir Cookies speichern.