Module:Ups and downs sharpness: Difference between revisions
Tristanbay (talk | contribs) Undo revision 210905 by Tristanbay (talk) Tag: Undo |
Tristanbay (talk | contribs) Tweaked sizes of quips and quids |
||
| Line 60: | Line 60: | ||
if ((i - (sharp * math.floor(i / sharp))) / sharp) > math.ceil(((i - (sharp * math.floor(i / sharp))) / sharp) - 0.5) then | if ((i - (sharp * math.floor(i / sharp))) / sharp) > math.ceil(((i - (sharp * math.floor(i / sharp))) / sharp) - 0.5) then | ||
if (i - (sharp * math.floor(i / sharp))) % 5 == 4 then | if (i - (sharp * math.floor(i / sharp))) % 5 == 4 then | ||
tab = tab .. " [[File:Down arrow petaluma script.svg|10px]] [[File:Quip narrow.svg| | tab = tab .. " [[File:Down arrow petaluma script.svg|10px]] [[File:Quip narrow.svg|9px]]" | ||
else | else | ||
for j = 1, (i - (sharp * math.floor(i / sharp))) % 5 do | for j = 1, (i - (sharp * math.floor(i / sharp))) % 5 do | ||
| Line 67: | Line 67: | ||
end | end | ||
for j = 1, math.floor((i - (sharp * math.floor(i / sharp))) / 5) do | for j = 1, math.floor((i - (sharp * math.floor(i / sharp))) / 5) do | ||
tab = tab .. " [[File:Quip narrow.svg| | tab = tab .. " [[File:Quip narrow.svg|9px]]" | ||
end | end | ||
else | else | ||
if ((sharp * math.ceil(i / sharp)) - i) % 5 == 4 then | if ((sharp * math.ceil(i / sharp)) - i) % 5 == 4 then | ||
tab = tab .. " [[File:Up arrow petaluma script.svg|10px]] [[File:Quid narrow.svg| | tab = tab .. " [[File:Up arrow petaluma script.svg|10px]] [[File:Quid narrow.svg|9px]]" | ||
else | else | ||
for j = 1, ((sharp * math.ceil(i / sharp)) - i) % 5 do | for j = 1, ((sharp * math.ceil(i / sharp)) - i) % 5 do | ||
| Line 78: | Line 78: | ||
end | end | ||
for j = 1, math.floor(((sharp * math.ceil(i / sharp)) - i) / 5) do | for j = 1, math.floor(((sharp * math.ceil(i / sharp)) - i) / 5) do | ||
tab = tab .. " [[File:Quid narrow.svg| | tab = tab .. " [[File:Quid narrow.svg|9px]]" | ||
end | end | ||
end | end | ||
| Line 98: | Line 98: | ||
if ((i - (sharp * math.floor(i / sharp))) / sharp) > math.ceil(((i - (sharp * math.floor(i / sharp))) / sharp) - 0.5) then | if ((i - (sharp * math.floor(i / sharp))) / sharp) > math.ceil(((i - (sharp * math.floor(i / sharp))) / sharp) - 0.5) then | ||
if (i - (sharp * math.floor(i / sharp))) % 5 == 4 then | if (i - (sharp * math.floor(i / sharp))) % 5 == 4 then | ||
tab = tab .. " [[File:Up arrow petaluma script.svg|10px]] [[File:Quid narrow.svg| | tab = tab .. " [[File:Up arrow petaluma script.svg|10px]] [[File:Quid narrow.svg|9px]]" | ||
else | else | ||
for j = 1, (i - (sharp * math.floor(i / sharp))) % 5 do | for j = 1, (i - (sharp * math.floor(i / sharp))) % 5 do | ||
| Line 105: | Line 105: | ||
end | end | ||
for j = 1, math.floor((i - (sharp * math.floor(i / sharp))) / 5) do | for j = 1, math.floor((i - (sharp * math.floor(i / sharp))) / 5) do | ||
tab = tab .. " [[File:Quid narrow.svg| | tab = tab .. " [[File:Quid narrow.svg|9px]]" | ||
end | end | ||
else | else | ||
if ((sharp * math.ceil(i / sharp)) - i) % 5 == 4 then | if ((sharp * math.ceil(i / sharp)) - i) % 5 == 4 then | ||
tab = tab .. " [[File:Down arrow petaluma script.svg|10px]] [[File:Quip narrow.svg| | tab = tab .. " [[File:Down arrow petaluma script.svg|10px]] [[File:Quip narrow.svg|9px]]" | ||
else | else | ||
for j = 1, ((sharp * math.ceil(i / sharp)) - i) % 5 do | for j = 1, ((sharp * math.ceil(i / sharp)) - i) % 5 do | ||
| Line 116: | Line 116: | ||
end | end | ||
for j = 1, math.floor(((sharp * math.ceil(i / sharp)) - i) / 5) do | for j = 1, math.floor(((sharp * math.ceil(i / sharp)) - i) / 5) do | ||
tab = tab .. " [[File:Quip narrow.svg| | tab = tab .. " [[File:Quip narrow.svg|9px]]" | ||
end | end | ||
end | end | ||