Jump to content

Module:Check for unknown parameters: Difference between revisions

no edit summary
m>Frietjes
No edit summary
m>Frietjes
No edit summary
Line 39: Line 39:
if isnotempty(frame.args['preview']) then  
if isnotempty(frame.args['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> ' .. frame.args['preview'] .. ' (this message is shown only in preview).</div>'
elseif frame.args['preview'] then
elseif isnotempty(frame.args['preview']) then
preview = frame.args['preview']
preview = frame.args['preview']
else
else
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.