模块:EmailTracking

来自维基导游
跳到导航 跳到搜索

此模块的文档可以在模块: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:列表項有多個電子郵件地址]]<span class="phoneinfo" style="display:none;">MULTIPLE-EMAIL</span>';
    end
    if mw.title.getCurrentTitle().namespace ~= 0 then
        output = '';
    end
    return output;
end
 
return i;