Modül:GununMaddesi

Hukukipedia sitesinden
04.51, 14 Kasım 2025 tarihinde Admin (mesaj | katkılar) tarafından oluşturulmuş 105 numaralı sürüm ("local p = {} function p.extract(frame) local title = mw.title.new(frame.args[1]) if not title or not title.exists then return "Madde bulunamadı." end local content = title:getContent() or "" local firstPara = content:match("^(.-)\n\n") or content return firstPara end return p" içeriğiyle yeni sayfa oluşturdu)
(fark) ← Önceki sürüm | Güncel sürüm (fark) | Sonraki sürüm → (fark)
Gezinti kısmına atla Arama kısmına atla

Bu modül için bir Modül:GununMaddesi/belge belgelendirmesi oluşturabilirsiniz

local p = {}

function p.extract(frame)
    local title = mw.title.new(frame.args[1])
    if not title or not title.exists then
        return "Madde bulunamadı."
    end

    local content = title:getContent() or ""
    local firstPara = content:match("^(.-)\n\n") or content
    return firstPara
end

return p