Module:Userbox: Difference between revisions

Created page with "-- This module implements {{userbox}}. local categoryHandler = require('Module:Category handler').main local p = {} -------------------------------------------------------------------------------- -- Helper functions -------------------------------------------------------------------------------- local function checkNum(val, default) -- Checks whether a value is a number greater than or equal to zero. If so, -- returns it as a number. If not, returns a default valu..."
imported>Andrybak
(Created page with "-- This module implements {{userbox}}. local categoryHandler = require('Module:Category handler').main local p = {} -------------------------------------------------------------------------------- -- Helper functions -------------------------------------------------------------------------------- local function checkNum(val, default) -- Checks whether a value is a number greater than or equal to zero. If so, -- returns it as a number. If not, returns a default valu...")
Line 223: Line 223:
:css('margin', '1px')
:css('margin', '1px')
:css('width', data.width)
:css('width', data.width)
:addClass('stiles.casa_wikiuserbox')
:addClass('wikipediauserbox')
:addClass(data.bodyClass)
:addClass(data.bodyClass)