Module:Check for unknown parameters: Difference between revisions

no edit summary
m>Frietjes
No edit summary
m>Frietjes
No edit summary
Line 38: Line 38:
end
end
if isnotempty(preview) then  
if isnotempty(preview) then  
preview = '<div class="hatnote" style="color:red"><strong>Warning:</strong> ' .. frame.args['preview'] .. ' (this message is shown only in preview).</div>'
preview = '<div class="hatnote" style="color:red"><strong>Warning:</strong> ' .. preview .. ' (this message is shown only in preview).</div>'
elseif preview == nil then
elseif preview == nil then
preview = unknown
preview = unknown
Anonymous user