Module:RfAEntry

-- local p = {} local data = mw.loadData("Module:RfAEntry/data") local title = mw.title.getCurrentTitle

function p.getEntry(frame) local args = frame:getParent.args local dateString = args["dateString"] or "No date" local username = args["username"] or "Unknown" local title = args["title"] or "" local description = args["description"] or "No description" local strings = {} local o = '' local e = '' strings["description"] = description strings["dateString"] = o .. data.dateString .. ": " .. dateString .. e   strings["title"] = o .. data.title .. ": " .. title .. e   strings["username"] = o .. data.username .. ": " .. username .. e   local content = "" local html = '' content = content .. strings["dateString"] content = content .. strings["username"] content = content .. strings["title"] html = html .. content html = html .. '' html = html .. strings["description"] return html end

return p