Jump to content

Module:Check for unknown parameters: Difference between revisions

blank check
m>Frietjes
(enhance preview message)
m>Frietjes
(blank check)
Line 41: Line 41:
end
end
end
end
if preview then preview = '<div class="hatnote" style="color:red"><strong>Warning:</strong> ' .. preview .. ' (this message is shown only in preview).</div>' end
if preview and preview ~= '' then preview = '<div class="hatnote" style="color:red"><strong>Warning:</strong> ' .. preview .. ' (this message is shown only in preview).</div>' end
if ispreview == 1 and preview then unknown = preview end
if ispreview == 1 and preview then unknown = preview end
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.