Modül:Overlay
-- this module implements Template:Overlay local p = {}
local mArguments = require('Module:Arguments')
-- used to cache the calculated font color to avoid repeat calculations
local previous_backgroundcolor = local fontcolor = local function buildicon(n, form, lk, c, t) local res if form == 'text' then return tostring( mw. html. create('span') :css('font-weight', 'bold') :css('color', c) :wikitext(n) ) elseif form 'colour' then return tostring( mw.