Module:Tooltip
From Liquipedia Dota 2 Wiki
local libraryUtil = require( 'libraryUtil' ) local getArgs = require( 'Module:Arguments' ).getArgs local p = {} function p.main( frame ) local args = getArgs( frame, { wrappers = { 'Template:Tooltip' } }) return p._main( args ) end function p._main( args ) assert( args[1] and args[2], 'Missing argument' ) local text = args[1] local title = mw.text.encode( args[2] ) return require('Module:Abbreviation').make( text, title ) end return p