Module:Rail/sandbox: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 216:
if i == 5 then box:css('background-color', colour) end
end
for _i, v in ipairs({nil, 'link', 'inline', 'yes', 'box'}) do
if style == v then box:css('border', '1px solid black') break end
if i >= 5 then
Line 226:
)
)
:css('padding', '0 .3em')
if style == 'croute' or style == 'xroute' then
box:css('border-radius', '.5em')