Jump to content

Module:Overlay and Module:Overlay/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
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 '500') or 500
local width = tonumber(args['width'] or 500) or 500
local height = tonumber(args['height'] or '500') or 500
local height = tonumber(args['height'] or 500) or 500
local columns = tonumber(args['columns'] or '3') or 3
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'