Module:StoreLeagueGroups

local util_args = require('Module:ArgsUtil') local util_cargo = require("Module:CargoUtil") local util_html = require("Module:HtmlUtil") local util_map = require('Module:MapUtil') local util_table = require("Module:TableUtil") local util_text = require("Module:TextUtil") local util_vars = require("Module:VarsUtil") local i18n = require("Module:I18nUtil") local lang = mw.getLanguage('en')

local m_league = require('Module:League')

local h = {} local p = {} function p.main(frame) local args = util_args.merge util_cargo.setStoreNamespace('') if util_args.castAsBool(args.nocargo) then return end util_cargo.store({		_table = 'LeagueGroups',		Leagues = util_map.splitAndConcat(args[1], nil, m_league.leaguename, ','),		LongName = args.long,		ShortName = args.short,	}) end return p