Module:Ups and downs sharpness: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
| Line 19: | Line 19: | ||
end | end | ||
end | end | ||
tab = tab .. "|-\n! Sharp symbol\n| rowspan=\"2\" | [[File:Heji18.svg|15px]]\n" | tab = tab .. "|-\n! Sharp symbol\n" | ||
.. "| rowspan=\"2\" | <span style=\"white-space: nowrap;\"> [[File:Heji18.svg|15px]]</span>\n" | |||
for i = 1, sharp * 2 + 1 do | for i = 1, sharp * 2 + 1 do | ||
local cs = math.ceil((i / sharp) - 0.5) | local cs = math.ceil((i / sharp) - 0.5) | ||
| Line 67: | Line 68: | ||
if cs == 0 then | if cs == 0 then | ||
tab = tab .. "-2.5px" | tab = tab .. "-2.5px" | ||
elseif cs == 1 then | elseif cs == 1 or cs == 2 then | ||
tab = tab .. "-15px" | tab = tab .. "-15px" | ||
end | end | ||
tab = tab .. "); white-space: nowrap;\">" | tab = tab .. "); white-space: nowrap;\">" | ||