Module:wtorw

local export = {}

function export.main(frame) local params = { [1] = {required = true, default = "example"}, [2] = {},		["lang"] = {default = "en"}, }   local args = require("Module:parameters").process(frame:getParent.args, params) local article = args[1] local text = args[2] or article local lang = args["lang"]

local m_languages = require("Module:languages") local language = m_languages.getByCode(lang) or m_languages.err(lang, "lang") local name = language:getCanonicalName; if mw.title.new(article, "").exists then text = "" .. text .. "" else text = "" .. text .. "" end return text end return export