Minecraft Wiki
Advertisement
[view | edit | history | purge]DocumentationJump to code ↴

This module lists users, linking their names to their user pages, therefore notifying them about being mentioned.

Names are separated by commas and "and" conjunction. Example: [[User:Dhranios|]], [[User:Nixinova|]] and [[User:Sonicwave|]].

[view | edit | history | purge]The above documentation is transcluded from Module:Ping/doc.
local p = {}
p.ping = function( f )
	local names =  {}
	for _, name in ipairs( f:getParent().args ) do
		table.insert( names, '[[User:' .. name .. '|]]' )
	end
	
	return mw.text.listToText( names )
end
return p
Advertisement