Module:Documentation: Difference between revisions

m Support widgets
Don't show jump link on widgets
Line 206: Line 206:
:wikitext( 'Documentation' )
:wikitext( 'Documentation' )
if not noDoc and pageType ~= 'template' and pageType ~= 'message' then
local codePages = {
module = true,
stylesheet = true,
script = true,
}
if not noDoc and codePages[pageType] then
header
header
:tag( 'span' )
:tag( 'span' )