Module:Navbox: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
| Line 65: | Line 65: | ||
if title ~= nil then | if title ~= nil then | ||
navbox_title = "|-\n" | navbox_title = "|-\n" | ||
.. '! style="' .. (is_root_navbox and ' | .. '! style="font-size: ' .. (is_root_navbox and '105' or '90') | ||
.. 'text-align: center; background-color: #eaecf0; white-space: nowrap; margin: 0em 4em 0em 4em;' | .. '%; text-align: center; background-color: #eaecf0; white-space: nowrap; margin: 0em 4em 0em 4em;' | ||
.. 'padding: 0.25em 0.5em; border: 1px solid white;" colspan="2" | ' | .. 'padding: 0.25em 0.5em; border: 1px solid white;" colspan="2" | ' | ||
.. p.navbar(name) .. title .. "\n" | .. p.navbar(name) .. title .. "\n" | ||