8,756
edits
mNo edit summary |
mNo edit summary |
||
Line 18: | Line 18: | ||
parsedtext = string.gsub(frame.args[1], "=([^=]+)=", function(f) | parsedtext = string.gsub(frame.args[1], "=([^=]+)=", function(f) | ||
for a, b, c in string.gmatch(string.lower(f), "(%w*)[:%.](%w*):? | for a, b, c in string.gmatch(string.lower(f), "(%w*)[:%.](%w*)(:?%w*)") do | ||
if (a == "player") then | if (a == "player") then | ||
return "(player's " .. b .. ")" | return "(player's " .. b .. ")" |