Module:Documentation: Difference between revisions

mNo edit summary
mNo edit summary
Line 94: Line 94:
body:wikitext( '[[Category:Documentation pages]]' )
body:wikitext( '[[Category:Documentation pages]]' )
end
end
 
body:wikitext( mw.getCurrentFrame():extensionTag{ name = "templatestyles", args = { src = 'Module:Documentation/styles.css' } } )
 
return body
return body
end
end
Line 226: Line 224:
end
end
return mw.getCurrentFrame():extensionTag{ name = "templatestyles", args = { src = 'Module:Documentation/styles.css' } } .. tostring( body ) .. tostring( anchor )
return mw.getCurrentFrame():extensionTag('templatestyles', '', {src='Module:Documentation/styles.css'}) .. tostring( body ) .. tostring( anchor )
end
end


return p
return p