Module:Documentation: Difference between revisions

mNo edit summary
mNo edit summary
Line 4: Line 4:


local docPreload = 'Template:Documentation/preload'
local docPreload = 'Template:Documentation/preload'
local docStyle = 'Module:Documentation/styles.css'


local i18n = {
local i18n = {
Line 154: Line 155:
mw.logObject( body, 'Module:Documentation: body' )
mw.logObject( body, 'Module:Documentation: body' )


return mw.getCurrentFrame():extensionTag{ name = "templatestyles", args = { src = 'Module:Documentation/styles.css' } } .. tostring( body )
return mw.getCurrentFrame():extensionTag{ name = "templatestyles", args = { src = docStyle } } .. tostring( body )
end
end


Line 286: Line 287:
end
end


return mw.getCurrentFrame():extensionTag{ name = "templatestyles", args = { src = 'Module:Documentation/styles.css' } } .. tostring( body ) .. tostring( anchor )
return mw.getCurrentFrame():extensionTag{ name = "templatestyles", args = { src = docStyle } } .. tostring( body ) .. tostring( anchor )
end
end


return p
return p