887
edits
Dicemonger (talk | contribs) mNo edit summary |
Dicemonger (talk | contribs) mNo edit summary |
||
Line 18: | Line 18: | ||
local cols = frame.args['cols'] | local cols = frame.args['cols'] | ||
if cols == nil then | if cols == nil then | ||
return 2 | return "2" | ||
end | end | ||
return cols | return cols | ||
Line 24: | Line 24: | ||
function getWidth(cols) | function getWidth(cols) | ||
if cols == 2 then | if cols == "2" then | ||
return "300px" | return "300px" | ||
elseif cols == 3 then | elseif cols == "3" then | ||
return "200px" | return "200px" | ||
elseif cols == 4 then | elseif cols == "4" then | ||
return "150px" | return "150px" | ||
end | end |