Module:Error

return { error = function (str) return tostring(mw.html.create('span'):addClass('error'):tag('b'):css('color', 'red')			:wikitext(str == nil and  or mw.text.encode(tostring(str))):wikitext():done) end, }