Difference between revisions of "Module:Documentation"
don’t show “The above documentation is transcluded from…” when it’s not transcluded, but rather explicitly specified in the {{{content}}} parameter
>94rain m (Protected "Module:Documentation": Highly visible page or template ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only administrators] (indefinite))) |
>Tacsipacsi (don’t show “The above documentation is transcluded from…” when it’s not transcluded, but rather explicitly specified in the {{{content}}} parameter) |
||
Line 747: | Line 747: | ||
--]=] | --]=] | ||
local docTitle = env.docTitle | local docTitle = env.docTitle | ||
if not docTitle then | if not docTitle or args.content then | ||
return nil | return nil | ||
end | end |