Leaguepedia | League of Legends Esports Wiki
Advertisement
Leaguepedia | League of Legends Esports Wiki
To edit the documentation or categories for this module, click here.
local util_args = require('Module:ArgsUtil')
local util_text = require('Module:TextUtil')
local i18n = require('Module:i18nUtil')

local h = {}
local p = {
	players_per_team = 5,
	side_names = {
		'Blue', 'Red',
		['1'] = 'Blue',
		['2'] = 'Red'
	},
	years = { 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 },
	store_player_league_history = true, -- do we store to PlayerLeagueHistory from InfoboxPlayer? will prevent needing to sync a normally-unneeded dependency
}

function p.linkPatch(str)
	if not str then return nil end
	return util_text.intLink(p.patchPage(str), str)
end

function p.patchPage(str)
	return ('Patch %s'):format(str)
end

return p
Advertisement