Module:Navbar: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
m Add one more to the fractional octave box in either direction so that it can bridge the gap of 3 red links between the 37th and 41st octave pages (and probably other gaps that will emerge higher up in future as more pages are made) |
||
Line 61: | Line 61: | ||
.. "|Title=[[Fractional-octave temperaments]]" | .. "|Title=[[Fractional-octave temperaments]]" | ||
.. "|Data 1={{center|" | .. "|Data 1={{center|" | ||
.. ((x >= | .. ((x >= 6) and "'''←''' " or "") | ||
.. ((x >= 5) and "[[" .. ordinal(x - 4) .. "-octave temperaments|" .. ordinal(x - 4) .. "]] • " or "") | |||
.. ((x >= 4) and "[[" .. ordinal(x - 3) .. "-octave temperaments|" .. ordinal(x - 3) .. "]] • " or "") | .. ((x >= 4) and "[[" .. ordinal(x - 3) .. "-octave temperaments|" .. ordinal(x - 3) .. "]] • " or "") | ||
.. ((x >= 3) and "[[" .. ordinal(x - 2) .. "-octave temperaments|" .. ordinal(x - 2) .. "]] • " or "") | .. ((x >= 3) and "[[" .. ordinal(x - 2) .. "-octave temperaments|" .. ordinal(x - 2) .. "]] • " or "") | ||
Line 68: | Line 69: | ||
.. "[[" .. ordinal(x + 1) .. "-octave temperaments|" .. ordinal(x + 1) .. "]] • " | .. "[[" .. ordinal(x + 1) .. "-octave temperaments|" .. ordinal(x + 1) .. "]] • " | ||
.. "[[" .. ordinal(x + 2) .. "-octave temperaments|" .. ordinal(x + 2) .. "]] • " | .. "[[" .. ordinal(x + 2) .. "-octave temperaments|" .. ordinal(x + 2) .. "]] • " | ||
.. "[[" .. ordinal(x + 3) .. "-octave temperaments|" .. ordinal(x + 3) .. "]] '''→'''</div></div>}}" | .. "[[" .. ordinal(x + 3) .. "-octave temperaments|" .. ordinal(x + 3) .. "]] • " | ||
.. "[[" .. ordinal(x + 4) .. "-octave temperaments|" .. ordinal(x + 4) .. "]] '''→'''</div></div>}}" | |||
.. "}}") | .. "}}") | ||
return out_str | return out_str |