Module:Error: Difference between revisions

Content deleted Content added
create, borrowing code from Module:Navbar
 
make it behave like Template:Error
Line 1:
-- This module functions a lot likeimplements {{error}}, but uses fancier css.
 
local p = {}
Line 19:
root
.addClass('error')
.csswikitext('float', 'left'tostring(s))
.css('white-space', 'nowrap')
.wikitext('Error: ' .. tostring(s))
 
return tostring(root)