local p=
p.names = function(frame) local name = frame.args.name or "" local formatname = frame.args.formatname or ""
strings = for stringss in string.gmatch(name, "%C%P%S*") do strings[#strings + 1] = stringss end if(formatname
"en") then suffix= judge=false for i=1,#strings do for i2=1,#suffix do if(strings[i]
true) then for i3=1,#strings-2 do given=given.." "..strings[i3] end return "Given = "..given.."
Family = "..strings[#strings-1] else for i4=1,#strings-1 do given=given.." "..strings[i4] end return "Given = "..given.."
Family = "..strings[#strings] end end if(formatname
"nl") then suffix= breakpoint=0 judge=false for i=1,#strings do for i2=1,#suffix do if(strings[i]
true) then for i3=1,breakpoint-1 do given=given.." "..strings[i3] end for i5=breakpoint,#strings do family=family.." "..strings[i5] end return "Given = "..given.."
Family = "..family else for i4=1,#strings-1 do given=given.." "..strings[i4] end return "Given = "..given.."
Family = "..strings[#strings] end end if(formatname
suffix[i2]) then judge=true breakpoint=i end end end given="" family="" if(judge
"") then if(#strings[1]
"Zheng") then formatname="zh" end suffix= judge=false for i=1,#strings do for i2=1,#suffix do if(strings[i]
true) then if(judge
"-") then judge3=false end end if(judge3
false and formatname~="zh" or #strings>4) then formatname="es" end if(formatname
"en") then suffix= judge=false for i=1,#strings do for i2=1,#suffix do if(strings[i]
true) then for i3=1,#strings-2 do given=given.." "..strings[i3] end return "Given = "..given.."
Family = "..strings[#strings-1] else for i4=1,#strings-1 do given=given.." "..strings[i4] end return "Given = "..given.."
Family = "..strings[#strings] end end if(formatname
"nl") then suffix= breakpoint=0 judge=false for i=1,#strings do for i2=1,#suffix do if(strings[i]
true) then for i3=1,breakpoint-1 do given=given.." "..strings[i3] end for i5=breakpoint,#strings do family=family.." "..strings[i5] end return "Given = "..given.."
Family = "..family else for i4=1,#strings-1 do given=given.." "..strings[i4] end return "Given = "..given.."
Family = "..strings[#strings] end end end return p