Module:Check for unknown parameters: Difference between revisions

enhance preview message
m>Frietjes
(add support for preview messages)
m>Frietjes
(enhance preview message)
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 ispreview == 1 and preview then unknown = preview end
if ispreview == 1 and preview then unknown = preview end
Anonymous user