Module:OpponentLibraries
From Liquipedia Commons Wiki
Fetches the opponent and opponentDisplay Libraries applicable for the wiki it is used on.
Copy-Paste[edit]
local OpponentLibraries = require('Module:OpponentLibraries') local Opponent = OpponentLibraries.Opponent local OpponentDisplay = OpponentLibraries.OpponentDisplay
The above documentation is transcluded from Module:OpponentLibraries/doc. (edit | history) Editors can experiment in this module's sandbox (create | mirror) and testcases (create) pages. Subpages of this module. |
--- -- @Liquipedia -- wiki=commons -- page=Module:OpponentLibraries -- -- Please see https://github.com/Liquipedia/Lua-Modules to contribute -- local Lua = require('Module:Lua') local Info = Lua.import('Module:Info') local Opponent = Lua.import('Module:' .. (Info.opponentLibrary or 'Opponent')) local OpponentDisplay = Lua.import('Module:' .. (Info.opponentDisplayLibrary or 'OpponentDisplay')) return { Opponent = Opponent, ---@module 'opponent.commons.opponent' OpponentDisplay = OpponentDisplay, ---@module 'opponent.commons.opponent_display' }