Jump to content

Module:Page

From glossaLAB

Documentation for this module may be created at Module:Page/doc

local p = {}

function p.transcludeAsCommentsIfDefined(frame)
    local pageName = frame.args[1]
    if not pageName or pageName == '' then return '' end

    local title = mw.title.new(pageName)
    if title and title.exists then
        return frame:expandTemplate{
        	title = 'comments',
        	args = {
        		Observations = frame:preprocess('{{' .. title.prefixedText .. '}}')
        	}
        }
    end
    return ''
end

return p
This website only uses its own cookies for technical purposes; it does not collect or transfer users' personal data without their knowledge. However, it contains links to third-party websites with third-party privacy policies, which you can accept or reject when you access them.