Module:Navbar: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
Line 32: | Line 32: | ||
.. "|name=Navbox Lumatone" | .. "|name=Navbox Lumatone" | ||
.. "|Title=[[Lumatone|Lumatone mappings]]" | .. "|Title=[[Lumatone|Lumatone mappings]]" | ||
.. "|Data 1= | .. "|Data 1={{center|" | ||
.. ((x >= thresh + 4) and "'''←''' " or "") | .. ((x >= thresh + 4) and "'''←''' " or "") | ||
.. ((x >= thresh + 3) and "[[Lumatone mapping for " .. (x - 3) .. "edo|" .. (x - 3) .. "edo]] • " or "") | .. ((x >= thresh + 3) and "[[Lumatone mapping for " .. (x - 3) .. "edo|" .. (x - 3) .. "edo]] • " or "") | ||
Line 40: | Line 40: | ||
.. "[[Lumatone mapping for " .. (x + 1) .. "edo|" .. (x + 1) .. "edo]] • " | .. "[[Lumatone mapping for " .. (x + 1) .. "edo|" .. (x + 1) .. "edo]] • " | ||
.. "[[Lumatone mapping for " .. (x + 2) .. "edo|" .. (x + 2) .. "edo]] • " | .. "[[Lumatone mapping for " .. (x + 2) .. "edo|" .. (x + 2) .. "edo]] • " | ||
.. "[[Lumatone mapping for " .. (x + 3) .. "edo|" .. (x + 3) .. "edo]] '''→'''</div></div>}}") | .. "[[Lumatone mapping for " .. (x + 3) .. "edo|" .. (x + 3) .. "edo]] '''→'''</div></div>}}" | ||
.. "}}") | |||
if string.lower(root_page_name) ~= "lumatone mapping navigation" then | if string.lower(root_page_name) ~= "lumatone mapping navigation" then | ||
Line 57: | Line 58: | ||
.. "|name=Navbox fractional-octave" | .. "|name=Navbox fractional-octave" | ||
.. "|Title=[[Fractional-octave temperaments]]" | .. "|Title=[[Fractional-octave temperaments]]" | ||
.. "|Data 1= | .. "|Data 1={{center|" | ||
.. ((x >= 5) and "'''←''' " or "") | .. ((x >= 5) and "'''←''' " 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 "") | ||
Line 65: | Line 66: | ||
.. "[[" .. 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) .. "]] '''→'''</div></div>}}" | ||
.. "}}") | |||
return out_str | return out_str | ||
end | end | ||
return p | return p |