Module:Overlay and Module:Overlay/sandbox: Difference between pages
(Difference between pages)
imported>MusikBot II 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)) |
imported>Lemondoge 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' | ||