Module:Navbox: Difference between revisions

ArrowHead294 (talk | contribs)
m Sort dependencies
ArrowHead294 (talk | contribs)
mNo edit summary
 
Line 216: Line 216:
args["Is Data Navbox"] = is_data_navbox
args["Is Data Navbox"] = is_data_navbox
local result = p._navbox(args)
-- Debugger option
local debugg = yesno(args["debug"])
local debugg = yesno(args["debug"])
local result = p._navbox(args)
if debugg == true then
return (debugg == true and "<syntaxhighlight lang=\"wikitext\">" .. result .. "</syntaxhighlight>" or result)
result = "<syntaxhighlight lang=\"wikitext\">" .. result .. "</syntaxhighlight>"
end
return result
end
end


return p
return p