본문으로 이동

모듈:frame

위키낱말사전, 말과 글의 누리

이 모듈에 대한 설명문서는 모듈:frame/설명문서에서 만들 수 있습니다

local export = {}

local frame
local function get_frame()
	frame = mw.getCurrentFrame():newChild{}
	return frame
end

function export.callParserFunction(...)
	return (frame or get_frame()):callParserFunction(...)
end

function export.expandTemplate(...)
	return (frame or get_frame()):expandTemplate(...)
end

function export.extensionTag(...)
	return (frame or get_frame()):extensionTag(...)
end

function export.newParserValue(...)
	return (frame or get_frame()):newParserValue(...)
end

function export.newTemplateParserValue(...)
	return (frame or get_frame()):newTemplateParserValue(...)
end

function export.preprocess(...)
	return (frame or get_frame()):preprocess(...)
end

return export