Leaguepedia | League of Legends Esports Wiki
Advertisement

Documentation for this module may be created at Module:Stream/doc

local util_args = require('Module:ArgsUtil')
local util_map = require('Module:MapUtil')
local util_table = require('Module:TableUtil')
local util_text = require('Module:TextUtil')
local Platform = require('Module:OrgLookups')._streamingPlatform
local CountryList = require('Module:CountryList')

local h = {}

function h.url(args)
	return util_text.extLink(args.url, args.display or Platform(args.url or ''))
end

local p = {}
function p.main(frame)
	local args = util_args.merge()
	local tbl = {
		CountryList(args.lang):images(),
		h.url(args)
	}
	return util_table.concat(tbl, ' ')
end
return p
Advertisement