Module:Navbox: Difference between revisions
mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
Line 59: | Line 59: | ||
-- Nested navboxes have slightly smaller title text | -- Nested navboxes have slightly smaller title text | ||
function p.navbox_title(title, is_root_navbox) | function p.navbox_title(title, is_root_navbox) | ||
local is_root_navbox = is_root_navbox == nil and is_root_navbox or true -- If not specified, default to TRUE | local is_root_navbox = (is_root_navbox == nil and is_root_navbox or true) -- If not specified, default to TRUE | ||
local navbox_title = '' | local navbox_title = '' | ||
if title ~= nil then | if title ~= nil then |