Module:Navbar: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
Line 34: | Line 34: | ||
local x = tonumber(frame.args["f"]) or tonumber(a) | local x = tonumber(frame.args["f"]) or tonumber(a) | ||
local out_str = frame:preprocess("{{Navbox" | local out_str = frame:preprocess("<br />{{Navbox" | ||
.. "|name=Navbox fractional-octave" | .. "|name=Navbox fractional-octave" | ||
.. "|Title=[[Fractional-octave temperaments]]" | .. "|Title=[[Fractional-octave temperaments]]" | ||
.. "|Data 1= | .. "|Data 1=<div style=\"text-align: center;\"><div style=\"margin: auto auto auto auto;\">" | ||
.. ((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 "") |