Module:Overlay and Module:Overlay/sandbox: Difference between pages
Appearance
(Difference between pages)
Content deleted Content added
MusikBot II (talk | contribs) m Changed protection settings for "Module:Overlay": High-risk template or module: 5702 transclusions (more info) ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)) |
mNo edit summary |
||
Line 132: | Line 132: | ||
local image = args['image'] or '' |
local image = args['image'] or '' |
||
local width = tonumber(args['width'] or |
local width = tonumber(args['width'] or 500) or 500 |
||
local height = tonumber(args['height'] or |
local height = tonumber(args['height'] or 500) or 500 |
||
local columns = tonumber(args['columns'] or |
local columns = tonumber(args['columns'] or 3) or 3 |
||
local grid = ((args['grid'] or ''):lower() == 'yes') and 'yes' or 'no' |
local grid = ((args['grid'] or ''):lower() == 'yes') and 'yes' or 'no' |
||
local legendbox = ((args['legendbox'] or ''):lower() == 'no') and 'no' or 'yes' |
local legendbox = ((args['legendbox'] or ''):lower() == 'no') and 'no' or 'yes' |