Module:User:Theknightwho/parser/test

local export = {}

local parser = require("Module:User:Theknightwho/template parser")

function export.parse(frame) return parser.parse(mw.text.unstripNoWiki(frame.args[1])):expand end

function export.parse_page(frame) local title = frame.args[1] mw.title.getCurrentTitle = function return mw.title.new(title) end return parser.parse(mw.title.getCurrentTitle:getContent):expand end

return export