diff --git a/components/infobox/wikis/pubgmobile/infobox_league_custom.lua b/components/infobox/wikis/pubgmobile/infobox_league_custom.lua index bead8934e1e..de8e3a06dbd 100644 --- a/components/infobox/wikis/pubgmobile/infobox_league_custom.lua +++ b/components/infobox/wikis/pubgmobile/infobox_league_custom.lua @@ -49,15 +49,6 @@ local _PERSPECTIVES = { _PERSPECTIVES.first = _PERSPECTIVES.fpp _PERSPECTIVES.third = _PERSPECTIVES.tpp -local _PLATFORMS = { - mobile = '[[Mobile]][[Category:Mobile Competitions]]', - newstate = '[[New State]][[Category:Mobile Competitions]]', - peace = '[[Peacekeeper Elite|Peace Elite]][[Category:Peacekeeper Elite Competitions]][[Category:Mobile Competitions]]', - bgmi = '[[Battlegrounds Mobile India|BGMI]]' .. - '[[Category:Battlegrounds Mobile India Competitions]][[Category:Mobile Competitions]]', - default = '[[Category:Unknown Platform Competitions]]', -} - function CustomLeague.run(frame) local league = League(frame) _args = league.args @@ -84,10 +75,6 @@ function CustomInjector:parse(id, widgets) CustomLeague._getGameMode() } }, - Cell{name = 'Platform', content = { - CustomLeague._getPlatform() - } - }, } elseif id == 'customcontent' then if _args.player_number then @@ -142,14 +129,4 @@ function CustomLeague._getGameMode() return mode .. ' ' .. table.concat(displayPerspectives, ' ') end -function CustomLeague._getPlatform() - if String.isEmpty(_args.platform) then - return nil - end - - local platform = string.lower(_args.platform or '') - - return _PLATFORMS[platform] or _PLATFORMS['default'] -end - return CustomLeague