Module:User:Njardarlogar/alias

local export = {}

function export.aliasNotRequired(frame) if mw.title.getCurrentTitle.nsText == 'User' then return nil end local params = { ['main'] = {required = true}, ['alias'] = {alias_of = 'main'}, }	local args = require("Module:parameters").process(frame:getParent.args, params) return 'this works' end function export.aliasRequired(frame) if mw.title.getCurrentTitle.nsText == 'User' then return nil end local params = { ['main'] = {required = true}, ['alias'] = {alias_of = 'main', required = true}, }	local args = require("Module:parameters").process(frame:getParent.args, params) return 'this works' end

return export