Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Test: Difference between revisions

From MassiveCraft Wiki
No edit summary
No edit summary
Line 8: Line 8:
local t = {}
local t = {}
  local function helper(names)
local num = 0
  table.insert(t, names) return "" end
for i in string.gmatch(writers, "%S+") do
  if not str:gsub("%w+", helper):find"%S" then return t end
t["num"]= "[[user:" .. i .. "|" .. i .. "]]"
num = num + 1
end
return t["num"]
end
end

Revision as of 05:42, 30 December 2015

Documentation for this module may be created at Module:Test/doc

local p = {}

names = ""

function p.info(frame)
	
	names=frame.args.names
	
	 local t = {}
	 local num = 0
	 for i in string.gmatch(writers, "%S+") do
	 	t["num"]= "[[user:" .. i .. "|" .. i .. "]]"
	 	num = num + 1
 	end
 	return t["num"]
end