Module:Multiple transclusion

There are no reviewed versions of this page, so it may not have been checked for adherence to standards.

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

local this = {}

function this.getParentFrameTitle(frame)
    return frame:getParent():getTitle()
end

function this.expandSecondTemplate(frame)
    return frame:expandTemplate{ title='SecondTemplate' }
end

function this.preprocessSecondTemplate(frame)
    return frame:preprocess( '{{SecondTemplate}}' )
end

return this