Module:If preview/sandbox: Difference between revisions

Content deleted Content added
add preview_text
add that back
Line 52:
local warning = frame.args[1] and frame.args[1]:match('^%s*(.-)%s*$') or ''
if warning == '' then
return preview_text(frame, 'The template has no warning text. Please add a warning.')
end