Module:Infobox body of water tracking and Module:Infobox body of water tracking/sandbox: Difference between pages
(Difference between pages)
imported>Izno use if preview. maybe having a standard way to indicate the generating template/module would be a good thing |
imported>Izno sandbox |
||
Line 101: | Line 101: | ||
if #warnmsg > 0 then | if #warnmsg > 0 then | ||
if frame:preprocess( "{{REVISIONID}}" ) == "" then | |||
cats = '<div class="hatnote" style="color:red"><strong>Infobox body of water warning:</strong> ' .. table.concat(warnmsg, '<br>') .. '</div>' .. cats | |||
end | |||
end | end | ||