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 LeagueList = require('Module:LeagueList')

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 = LeagueList(args[1]),		LongName = args.long,		ShortName = args.short,	}) end return p