Module:Sandbox/Animal lover 666/position data: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 7:
local str=args["position"].."<table>\n{| class=\"wikitable \" style=\"; margin-right:1em; font-size:95%\"\n"
local i=1
while args[i] do
strlocal name=str.."<tr><td>"mw.text.trim(args[i+1].."-")
if args[i+2]name~="blank" then
str=str.."|-\n|"..args[i+2]
if args[i+1]~="blank"args[i+2] then
str=str.."</td><td>-"
if args[i+2] then
str=str.."</td></tr>"args[i+2]
end
end
str=str.."||"
str=str..frame:preprocess("{{User:Animal lover 666/sandbox/holder/"..name.."|type=full link}}")
str=str.."\n"
end
str=str.."</td><td>"
if args[i+1]~="blank" then
str=str.."[["..mw.text.trim(args[i+1]).."]]"
end
str=str.."</td></tr>"
i=i+2
end
str=str.."</table>|}"