diff --git a/components/infobox/wikis/ageofempires/infobox_person_player_custom.lua b/components/infobox/wikis/ageofempires/infobox_person_player_custom.lua index 3b4d93230b5..944ebefd318 100644 --- a/components/infobox/wikis/ageofempires/infobox_person_player_custom.lua +++ b/components/infobox/wikis/ageofempires/infobox_person_player_custom.lua @@ -12,6 +12,7 @@ local Game = require('Module:Game') local Info = require('Module:Info') local Logic = require('Module:Logic') local Lua = require('Module:Lua') +local MatchTicker = require('Module:Matches Player') local Namespace = require('Module:Namespace') local Operator = require('Module:Operator') local Page = require('Module:Page') @@ -111,6 +112,7 @@ function CustomPlayer.run(frame) _player.createWidgetInjector = CustomPlayer.createWidgetInjector _player.getPersonType = CustomPlayer.getPersonType _player.getWikiCategories = CustomPlayer.getWikiCategories + _player.createBottomContent = CustomPlayer.createBottomContent local builtInfobox = _player:createInfobox() @@ -206,6 +208,10 @@ function CustomInjector:addCustomCells(widgets) return widgets end +function CustomPlayer.createBottomContent() + return MatchTicker.get{args = {_player.pagename}} +end + function CustomPlayer.getRating(id, game) if _args[id] then return mw.ext.aoedb.currentrating(_args[id], game), mw.ext.aoedb.highestrating(_args[id], game)