Module:Ups and downs sharpness: Difference between revisions
Tristanbay (talk | contribs) Changed size of single up and down arrows |
Tristanbay (talk | contribs) Changed style of quip and quid arrows and adjusted sizes of all arrows |
||
| Line 27: | Line 27: | ||
.. "|-\n" | .. "|-\n" | ||
.. "! Symbol\n" | .. "! Symbol\n" | ||
.. string.format(spanf, arrow_marg, string.rep(" [[File:Down arrow petaluma script.svg| | .. string.format(spanf, arrow_marg, string.rep(" [[File:Down arrow petaluma script.svg|10px]]", 3)) | ||
.. string.format(spanf, arrow_marg, string.rep(" [[File:Down arrow petaluma script.svg| | .. string.format(spanf, arrow_marg, string.rep(" [[File:Down arrow petaluma script.svg|10px]]", 2)) | ||
.. string.format(spanf, arrow_marg, " [[File:Down arrow petaluma script.svg| | .. string.format(spanf, arrow_marg, " [[File:Down arrow petaluma script.svg|10px]]") | ||
.. string.format(spanf, arrow_marg - 15, " [[File:Heji18.svg|15px]]") | .. string.format(spanf, arrow_marg - 15, " [[File:Heji18.svg|15px]]") | ||
.. string.format(spanf, arrow_marg, " [[File:Up arrow petaluma script.svg| | .. string.format(spanf, arrow_marg, " [[File:Up arrow petaluma script.svg|10px]]") | ||
.. string.format(spanf, arrow_marg, string.rep(" [[File:Up arrow petaluma script.svg| | .. string.format(spanf, arrow_marg, string.rep(" [[File:Up arrow petaluma script.svg|10px]]", 2)) | ||
.. string.format(spanf, arrow_marg, string.rep(" [[File:Up arrow petaluma script.svg| | .. string.format(spanf, arrow_marg, string.rep(" [[File:Up arrow petaluma script.svg|10px]]", 3)) | ||
.. "|}" | .. "|}" | ||
elseif sharp == 1 then | elseif sharp == 1 then | ||
| 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| | tab = tab .. " [[File:Down arrow petaluma script.svg|10px]] [[File:Quip arrow petaluma script.svg|13px]]" | ||
else | else | ||
for j = 1, (i - (sharp * math.floor(i / sharp))) % 5 do | for j = 1, (i - (sharp * math.floor(i / sharp))) % 5 do | ||
tab = tab .. " [[File:Up arrow petaluma script.svg| | tab = tab .. " [[File:Up arrow petaluma script.svg|10px]]" | ||
end | end | ||
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 | tab = tab .. " [[File:Quip arrow petaluma script.svg|13px]]" | ||
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| | tab = tab .. " [[File:Up arrow petaluma script.svg|10px]] [[File:Quid arrow petaluma script.svg|13px]]" | ||
else | else | ||
for j = 1, ((sharp * math.ceil(i / sharp)) - i) % 5 do | for j = 1, ((sharp * math.ceil(i / sharp)) - i) % 5 do | ||
tab = tab .. " [[File:Down arrow petaluma script.svg| | tab = tab .. " [[File:Down arrow petaluma script.svg|10px]]" | ||
end | end | ||
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 | tab = tab .. " [[File:Quid arrow petaluma script.svg|13px]]" | ||
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| | tab = tab .. " [[File:Up arrow petaluma script.svg|10px]] [[File:Quid arrow petaluma script.svg|13px]]" | ||
else | else | ||
for j = 1, (i - (sharp * math.floor(i / sharp))) % 5 do | for j = 1, (i - (sharp * math.floor(i / sharp))) % 5 do | ||
tab = tab .. " [[File:Down arrow petaluma script.svg| | tab = tab .. " [[File:Down arrow petaluma script.svg|10px]]" | ||
end | end | ||
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 | tab = tab .. " [[File:Quid arrow petaluma script.svg|13px]]" | ||
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| | tab = tab .. " [[File:Down arrow petaluma script.svg|10px]] [[File:Quip arrow petaluma script.svg|13px]]" | ||
else | else | ||
for j = 1, ((sharp * math.ceil(i / sharp)) - i) % 5 do | for j = 1, ((sharp * math.ceil(i / sharp)) - i) % 5 do | ||
tab = tab .. " [[File:Up arrow petaluma script.svg| | tab = tab .. " [[File:Up arrow petaluma script.svg|10px]]" | ||
end | end | ||
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 | tab = tab .. " [[File:Quip arrow petaluma script.svg|13px]]" | ||
end | end | ||
end | end | ||