Minecraft Wiki

The Minecraft Wiki is no longer considered as official by Microsoft and therefore several changes are required to be made, including to the wiki's logo. Please read this announcement for more information.

READ MORE

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