Module:Splash
Documentation for this module may be created at Module:Splash/doc
local p = {} local splashes = require("Module:Splash/splashes") function p.generateSplash() local randomSplash = splashes.splashes[math.random(#splashes.splashes)] mw.html.create('div') :addClass('splash-text') :attr('id', 'splash-text') :wikitext(randomSplash) :css('font-size', tostring(2880 / (#randomSplash*6 + 32)) .. 'px') end return p