Modul:Work: Unterschied zwischen den Versionen

Aus FürthWiki

Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
local p = {} --p stands for package
local p = {} --p stands for package


function p.hasSemicolons(frame)
function p.hasSemicolon(frame)
     return string.find(frame:getParent():getTitle(),";")
local has = false
     if string.find(frame:getParent():getTitle(),";") ~= nil then
    has = true
    end
    return has
end
end


return p
return p

Version vom 31. August 2025, 20:08 Uhr

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

local p = {} --p stands for package

function p.hasSemicolon(frame)
	local has = false
    if string.find(frame:getParent():getTitle(),";") ~= nil then
    	has = true
    end
    return has
end

return p