Module:No ping

-- This module implements.

local p = {}

function p.main(frame) local args = frame:getParent.args return p._main(args) end

function p._main(args) local ret = {} local fullUrl = mw.uri.fullUrl local format = string.format for i, username in ipairs(args) do local url = fullUrl(mw.site.namespaces.User.name .. ':' .. username) url = tostring(url) local label = args['label' .. tostring(i)] or username local color = '#cc2200' if mw.title.new(username, mw.site.namespaces.User.name).exists then color = '#0645ad' end label = ' ' .. label .. ' '		url = format('[%s %s]', url, label) ret[#ret + 1] = url end ret = mw.text.listToText(ret) ret = ' ' .. ret .. ' '	return ret end

return p