Module:EmailTracking
Revision as of 20:42, 4 May 2019 by newcastle>ARR8 (Changed protection level for "Module:EmailTracking": High traffic page ([Edit=Allow only template editors and administrators] (indefinite) [Move=Allow only template editors and administrators] (indefinite)))
Documentation for this module may be created at Module:EmailTracking/doc
local i = {}
function i.EmailTracking(frame)
local output = '';
local email = frame.args["email"] or '';
if mw.ustring.match(email,'@.*@') ~= nil then
output = '[[' .. 'Category:Listing with multiple email addresses]]<span class="phoneinfo" style="display:none;">MULTIPLE-EMAIL</span>';
end
if mw.title.getCurrentTitle().namespace ~= 0 then
output = '';
end
return output;
end
return i;