Module:MOS intro: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 301: Line 301:
     local result = p._mos_intro(input_mos, other_names) .. depparams
     local result = p._mos_intro(input_mos, other_names) .. depparams
     local debugg = yesno(frame.args["debug"])
     local debugg = yesno(frame.args["debug"])
     return frame:preprocess(debugg == true and "<syntaxhighlight lang=\"wikitext\">" .. result .. "</syntaxhighlight>" or result)
      
    -- Debugger option
    if debugg == true then
result = "<syntaxhighlight lang=\"wikitext\">" .. result .. "</syntaxhighlight>"
end
return frame:preprocess(result)
end
end


return p
return p