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: Dhranios, Nixinova and 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 .. '|' .. name .. ']]' )
	end
	
	return mw.text.listToText( names )
end
return p
Advertisement