Module:government: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 20: Line 20:
local args = getArgs(frame)
local args = getArgs(frame)
local language = m_languages.find_by_code(args[1])
local language = m_languages.find_by_code(args[1])
if (language == nil and args[1] == nil) or args[2] == nil then error("Entry parameter is missing") end
if (language and args[2] == nil) or args[1] == nil then error("Entry parameter is missing") end
local show = "["
local show = "["