Module:Error: Difference between revisions

Content deleted Content added
more comments
more comment tweaking
Line 1:
-- This module implements {{error}}.
 
local p = {}
Line 18:
local root = HtmlBuilder.create(t)
 
-- Generate the html.
root
.addClass('error')
Line 41:
origArgs = frame
end
-- ParserFunctions considers the empty stringwhitespace to be false, so to preserve the previous
-- behavior of the template, change any empty arguments toconsisting nil,only so Lua willof considerwhitespace
-- to nil, so --Lua will consider them false too.
 
local args = {}
for k, v in pairs(origArgs) do