Modul:EmailTracking
Utseende
Dokumentationen för denna modul kan skapas på Modul:EmailTracking/dok
local i = {}
function i.EmailTracking(frame)
local output = '';
local email = frame.args["email"] or '';
local demo = frame.args["demo"] or '';
local catprefix = '';
if mw.ustring.match(email,'@.*@') ~= nil then
if demo == 'true' then
catprefix = ':';
end
output = '[[' .. catprefix .. 'Category:Listing med flera email]]<span class="mailinfo debuginfo" style="display:none;">FLERA EMAIL</span>';
end
if mw.title.getCurrentTitle().namespace ~= 0 and demo == '' then
output = '';
end
return output;
end
return i;