Module:Laconic

local lac = {}

function lac.laconic( frame ) local page = frame.args[1] or mw.title.getCurrentTitle.text page = page .. "/Laconic" local lilac = mw.title.new(page, 0) if lilac == nil then return '' end local liclac = lilac:getContent if liclac == nil then return '' end

local liclac liclac = mw.ustring.gsub( lilac, "^[^\n]*\n+", '', 1) liclac = mw.ustring.gsub( liclac, "\n+.*", '', 1) liclac = mw.ustring.gsub( liclac, "\n+%[%[Category:", '', 1) return liclac end

return lac