▶️
Planeshift.
The documentation for this module can be found at Template:Tooltip.
You may be forwarded to another wiki language, in case a translation is not available.
Dependencies
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' )
return string.format( '<span class="tooltip" title="%s" style="cursor: help; border-bottom: 1px dotted;">%s</span>', args[2], args[1] )
end
return p