From Wikibooks, open books for an open world
local utils = require("Module:Utils")
local module = {}
function module.lang(frame)
local title = mw.title.getCurrentTitle().text
if utils.starts(title, "Serlo: EN: ") then
return frame.args.en
else
return frame.args.de
end
end
return module