Module:StoreLeagues

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 League = require('Module:League') local Region = require('Module:Region') local h = {} local p = {} function p.main(frame) local args = util_args.merge args.League = League(args.League) args.Region = Region(args.Region) util_cargo.store({		_table = 'Leagues',		League = args.League,		League_Short = args.League:get('short'),		Region = args.Region,		Level = args.Level,		IsOfficial = args.IsOfficial,	}) end return p