Anonymous user
Module:Check for unknown parameters: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Module:Check for unknown parameters (view source)
Revision as of 16:45, February 11, 2016
, 8 years agono edit summary
No edit summary |
|||
Line 19:
local knownargs = {}
local unknown = frame.args['unknown'] or 'Found _VALUE_, '
local preview = frame.args['preview']
local res = {}
Line 37:
end
end
if isnotempty(
preview = '<div class="hatnote" style="color:red"><strong>Warning:</strong> ' .. frame.args['preview'] .. ' (this message is shown only in preview).</div>'
elseif
preview = unknown
end
|