<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mywikibiz.com/index.php?action=history&amp;feed=atom&amp;title=Module%3AInfobox_AFL_biography%2Fconvert</id>
	<title>Module:Infobox AFL biography/convert - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mywikibiz.com/index.php?action=history&amp;feed=atom&amp;title=Module%3AInfobox_AFL_biography%2Fconvert"/>
	<link rel="alternate" type="text/html" href="https://mywikibiz.com/index.php?title=Module:Infobox_AFL_biography/convert&amp;action=history"/>
	<updated>2026-07-24T18:20:57Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.3</generator>
	<entry>
		<id>https://mywikibiz.com/index.php?title=Module:Infobox_AFL_biography/convert&amp;diff=472264&amp;oldid=prev</id>
		<title>Zoran: Pywikibot 6.4.0</title>
		<link rel="alternate" type="text/html" href="https://mywikibiz.com/index.php?title=Module:Infobox_AFL_biography/convert&amp;diff=472264&amp;oldid=prev"/>
		<updated>2021-07-15T23:19:02Z</updated>

		<summary type="html">&lt;p&gt;Pywikibot 6.4.0&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- [SublimeLinter luacheck-globals:mw]&lt;br /&gt;
&lt;br /&gt;
-- This module serves to convert &amp;lt;br&amp;gt;-delimited teams/years parameters in&lt;br /&gt;
-- [[Template:Infobox AFL biography]] to their equivalent numbered pairs. Simply&lt;br /&gt;
-- replace &amp;quot;{{Infobox AFL biography&amp;quot; with&lt;br /&gt;
-- &amp;quot;{{subst:#invoke:Infobox AFL biography/convert|main&amp;quot; and press &amp;quot;Save&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
local getBuffer, print = require(&amp;quot;Module:OutputBuffer&amp;quot;)()&lt;br /&gt;
&lt;br /&gt;
local function printfd(formatString, ...)&lt;br /&gt;
	local default = &amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
	local args, argsNum = {...}, select(&amp;quot;#&amp;quot;, ...)&lt;br /&gt;
	local newArgs = {}&lt;br /&gt;
	for i = 1, argsNum do&lt;br /&gt;
		if args[i] ~= nil then&lt;br /&gt;
			table.insert(newArgs, args[i])&lt;br /&gt;
		else&lt;br /&gt;
			table.insert(newArgs, default)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	print(string.format(formatString, unpack(newArgs)))&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function processTeamsYears(teams, years, gamesGoals, teamsParam, yearsParam, gamesGoalsParam, oldGamesGoalsParam)&lt;br /&gt;
	local function extractItems(s, t)&lt;br /&gt;
		local sentinel = &amp;quot;😂&amp;quot;	-- WTF, Lua?&lt;br /&gt;
		string.gsub(string.gsub(s, &amp;quot;&amp;lt;[Bb][Rr] */?&amp;gt;&amp;quot;, &amp;quot; &amp;quot; .. sentinel .. &amp;quot; &amp;quot;),&lt;br /&gt;
			&amp;quot;[^&amp;quot; .. sentinel .. &amp;quot;]+&amp;quot;,&lt;br /&gt;
			function(c) table.insert(t, string.match(c, &amp;quot;^%s*(.-)%s*$&amp;quot;)) end)&lt;br /&gt;
	end&lt;br /&gt;
	local newTeams = {}&lt;br /&gt;
	extractItems(teams, newTeams)&lt;br /&gt;
	local newYears = {}&lt;br /&gt;
	extractItems(years, newYears)&lt;br /&gt;
	local newGamesGoals = {}&lt;br /&gt;
	extractItems(gamesGoals, newGamesGoals)&lt;br /&gt;
&lt;br /&gt;
	if #newTeams ~= #newYears or #newYears ~= #newGamesGoals or #newGamesGoals ~= #newTeams then&lt;br /&gt;
		printfd(&amp;quot;&amp;lt;!-- Template:Infobox AFL biography conversion error: &amp;quot; ..&lt;br /&gt;
			&amp;quot;Parameters not of equal length. --&amp;gt;&amp;quot;)&lt;br /&gt;
		printfd(&amp;quot;| %ss = %s&amp;quot;, teamsParam, teams)&lt;br /&gt;
		printfd(&amp;quot;| %s = %s&amp;quot;, yearsParam, years)&lt;br /&gt;
		printfd(&amp;quot;| %s = %s&amp;quot;, oldGamesGoalsParam, gamesGoals)&lt;br /&gt;
		return&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	c = 1&lt;br /&gt;
	for i = 1, #newTeams do&lt;br /&gt;
		if newYears[i] ~= &amp;quot;&amp;quot; or newTeams[i] ~= &amp;quot;&amp;quot; then&lt;br /&gt;
			printfd(&amp;quot;| %s%s = %s&amp;quot;, yearsParam, c,&lt;br /&gt;
				newYears[i] ~= &amp;quot;&amp;quot; and newYears[i] or&lt;br /&gt;
				&amp;quot;&amp;lt;!-- Template:Infobox AFL biography conversion error: &amp;quot; ..&lt;br /&gt;
				&amp;quot;years missing. --&amp;gt;&amp;quot;)&lt;br /&gt;
			printfd(&amp;quot;| %s%s = %s&amp;quot;, teamsParam, c,&lt;br /&gt;
				newTeams[i] ~= &amp;quot;&amp;quot; and newTeams[i] or&lt;br /&gt;
				&amp;quot;&amp;lt;!-- Template:Infobox AFL biography conversion error: &amp;quot; ..&lt;br /&gt;
				&amp;quot;team missing. --&amp;gt;&amp;quot;)&lt;br /&gt;
			printfd(&amp;quot;| %s%s = %s&amp;quot;, gamesGoalsParam, c,&lt;br /&gt;
				newGamesGoals[i] ~= &amp;quot;&amp;quot; and newGamesGoals[i] or&lt;br /&gt;
				&amp;quot;&amp;lt;!-- Template:Infobox AFL biography conversion error: &amp;quot; ..&lt;br /&gt;
				&amp;quot;games(goals) missing. --&amp;gt;&amp;quot;)&lt;br /&gt;
			c = c + 1&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._main(args)&lt;br /&gt;
	print(&amp;quot;{{Infobox AFL biography&amp;quot;)&lt;br /&gt;
	if args.embed then&lt;br /&gt;
		printfd(&amp;quot;| embed = %s&amp;quot;, args.embed)&lt;br /&gt;
	end&lt;br /&gt;
	if args.headercolor then&lt;br /&gt;
		printfd(&amp;quot;| header-color = %s&amp;quot;, args.headercolor)&lt;br /&gt;
	end&lt;br /&gt;
	if args.name or args.playername then&lt;br /&gt;
		printfd(&amp;quot;| name = %s&amp;quot;, args.name or args.playername)&lt;br /&gt;
	end&lt;br /&gt;
	printfd(&amp;quot;| image = %s&amp;quot;, args.image)&lt;br /&gt;
	if args.image_size or args.imagesize then&lt;br /&gt;
		printfd(&amp;quot;| image_size = %s&amp;quot;, args.image_size or args.imagesize)&lt;br /&gt;
	end&lt;br /&gt;
	if args.image or args.alt then&lt;br /&gt;
		printfd(&amp;quot;| alt = %s&amp;quot;, args.alt)&lt;br /&gt;
	end&lt;br /&gt;
	if args.image or args.caption then&lt;br /&gt;
		printfd(&amp;quot;| caption = %s&amp;quot;, args.caption)&lt;br /&gt;
	end&lt;br /&gt;
	if args.fullname then&lt;br /&gt;
		printfd(&amp;quot;| fullname = %s&amp;quot;, args.fullname)&lt;br /&gt;
	end&lt;br /&gt;
	if args.nickname then&lt;br /&gt;
		printfd(&amp;quot;| nickname = %s&amp;quot;, args.nickname)&lt;br /&gt;
	end&lt;br /&gt;
	printfd(&amp;quot;| birth_date = %s&amp;quot;, args.birth_date)&lt;br /&gt;
	printfd(&amp;quot;| birth_place = %s&amp;quot;, args.birth_place)&lt;br /&gt;
	printfd(&amp;quot;| death_date = %s&amp;quot;, args.death_date)&lt;br /&gt;
	printfd(&amp;quot;| death_place = %s&amp;quot;, args.death_place)&lt;br /&gt;
	if args.originalteam then&lt;br /&gt;
		printfd(&amp;quot;| originalteam = %s&amp;quot;, args.originalteam)&lt;br /&gt;
	end&lt;br /&gt;
	if args.draftpick then&lt;br /&gt;
		printfd(&amp;quot;| draftpick = %s&amp;quot;, args.draftpick)&lt;br /&gt;
	end&lt;br /&gt;
	if args.debutdate then&lt;br /&gt;
		printfd(&amp;quot;| debutdate = %s&amp;quot;, args.debutdate)&lt;br /&gt;
	end&lt;br /&gt;
	if args.debutteam then&lt;br /&gt;
		printfd(&amp;quot;| debutteam = %s&amp;quot;, args.debutteam)&lt;br /&gt;
	end&lt;br /&gt;
	if args.debutopponent then&lt;br /&gt;
		printfd(&amp;quot;| debutopponent = %s&amp;quot;, args.debutopponent)&lt;br /&gt;
	end&lt;br /&gt;
	if args.debutstadium then&lt;br /&gt;
		printfd(&amp;quot;| debutstadium = %s&amp;quot;, args.debutstadium)&lt;br /&gt;
	end&lt;br /&gt;
	printfd(&amp;quot;| heightweight = %s&amp;quot;, args.heightweight)&lt;br /&gt;
	printfd(&amp;quot;| position = %s&amp;quot;, args.position)&lt;br /&gt;
	if args.otheroccupation then&lt;br /&gt;
		printfd(&amp;quot;| otheroccupation = %s&amp;quot;, args.otheroccupation)&lt;br /&gt;
	end&lt;br /&gt;
	if args.currentclub then&lt;br /&gt;
		printfd(&amp;quot;| currentclub = %s&amp;quot;, args.currentclub)&lt;br /&gt;
	end&lt;br /&gt;
	if args.guernsey then&lt;br /&gt;
		printfd(&amp;quot;| guernsey = %s&amp;quot;, args.guernsey)&lt;br /&gt;
	end&lt;br /&gt;
	if args.statsend then&lt;br /&gt;
		printfd(&amp;quot;| statsend = %s&amp;quot;, args.statsend)&lt;br /&gt;
	end&lt;br /&gt;
	if args.coachstatsend then&lt;br /&gt;
		printfd(&amp;quot;| coachstatsend = %s&amp;quot;, args.coachstatsend)&lt;br /&gt;
	end&lt;br /&gt;
	if args.repstatsend then&lt;br /&gt;
		printfd(&amp;quot;| repstatsend = %s&amp;quot;, args.repstatsend)&lt;br /&gt;
	end&lt;br /&gt;
	if args.playingteams then&lt;br /&gt;
		printfd(&amp;quot;| playingteams = %s&amp;quot;, args.playingteams)&lt;br /&gt;
	end&lt;br /&gt;
	if args.coachingteams then&lt;br /&gt;
		printfd(&amp;quot;| coachingteams = %s&amp;quot;, args.coachingteams)&lt;br /&gt;
	end&lt;br /&gt;
	if args.clubs and args.years and args.gamesgoals then&lt;br /&gt;
		processTeamsYears(args.clubs, args.years, args.gamesgoals,&lt;br /&gt;
			&amp;quot;club&amp;quot;, &amp;quot;years&amp;quot;, &amp;quot;games_goals&amp;quot;, &amp;quot;games(goals)&amp;quot;)&lt;br /&gt;
	elseif args.clubs or args.years or args.gamesgoals then&lt;br /&gt;
		print(&amp;quot;&amp;lt;!-- Template:Infobox AFL biography conversion error: &amp;quot; ..&lt;br /&gt;
		      &amp;quot;Template is missing expected parameters. --&amp;gt;&amp;quot;)&lt;br /&gt;
		printfd(&amp;quot;| clubs = %s&amp;quot;, args.clubs)&lt;br /&gt;
		printfd(&amp;quot;| years = %s&amp;quot;, args.years)&lt;br /&gt;
		printfd(&amp;quot;| games(goals) = %s&amp;quot;, args.gamesgoals)&lt;br /&gt;
	end&lt;br /&gt;
	if args.club1 then&lt;br /&gt;
		printfd(&amp;quot;| club1 = %s&amp;quot;, args.club1)&lt;br /&gt;
	end&lt;br /&gt;
	if args.years1 then&lt;br /&gt;
		printfd(&amp;quot;| years1 = %s&amp;quot;, args.years1)&lt;br /&gt;
	end&lt;br /&gt;
	if args.games_goals1 then&lt;br /&gt;
		printfd(&amp;quot;| games_goals1 = %s&amp;quot;, args.games_goals1)&lt;br /&gt;
	end&lt;br /&gt;
	if args.club2 then&lt;br /&gt;
		printfd(&amp;quot;| club2 = %s&amp;quot;, args.club2)&lt;br /&gt;
	end&lt;br /&gt;
	if args.years2 then&lt;br /&gt;
		printfd(&amp;quot;| years2 = %s&amp;quot;, args.years2)&lt;br /&gt;
	end&lt;br /&gt;
	if args.games_goals2 then&lt;br /&gt;
		printfd(&amp;quot;| games_goals2 = %s&amp;quot;, args.games_goals2)&lt;br /&gt;
	end&lt;br /&gt;
	if args.club3 then&lt;br /&gt;
		printfd(&amp;quot;| club3 = %s&amp;quot;, args.club3)&lt;br /&gt;
	end&lt;br /&gt;
	if args.years3 then&lt;br /&gt;
		printfd(&amp;quot;| years3 = %s&amp;quot;, args.years3)&lt;br /&gt;
	end&lt;br /&gt;
	if args.games_goals3 then&lt;br /&gt;
		printfd(&amp;quot;| games_goals3 = %s&amp;quot;, args.games_goals3)&lt;br /&gt;
	end&lt;br /&gt;
	if args.club4 then&lt;br /&gt;
		printfd(&amp;quot;| club4 = %s&amp;quot;, args.club4)&lt;br /&gt;
	end&lt;br /&gt;
	if args.years4 then&lt;br /&gt;
		printfd(&amp;quot;| years4 = %s&amp;quot;, args.years4)&lt;br /&gt;
	end&lt;br /&gt;
	if args.games_goals4 then&lt;br /&gt;
		printfd(&amp;quot;| games_goals4 = %s&amp;quot;, args.games_goals4)&lt;br /&gt;
	end&lt;br /&gt;
	if args.club5 then&lt;br /&gt;
		printfd(&amp;quot;| club5 = %s&amp;quot;, args.club5)&lt;br /&gt;
	end&lt;br /&gt;
	if args.years5 then&lt;br /&gt;
		printfd(&amp;quot;| years5 = %s&amp;quot;, args.years5)&lt;br /&gt;
	end&lt;br /&gt;
	if args.games_goals5 then&lt;br /&gt;
		printfd(&amp;quot;| games_goals5 = %s&amp;quot;, args.games_goals5)&lt;br /&gt;
	end&lt;br /&gt;
	if args.club6 then&lt;br /&gt;
		printfd(&amp;quot;| club6 = %s&amp;quot;, args.club6)&lt;br /&gt;
	end&lt;br /&gt;
	if args.years6 then&lt;br /&gt;
		printfd(&amp;quot;| years6 = %s&amp;quot;, args.years6)&lt;br /&gt;
	end&lt;br /&gt;
	if args.games_goals6 then&lt;br /&gt;
		printfd(&amp;quot;| games_goals6 = %s&amp;quot;, args.games_goals6)&lt;br /&gt;
	end&lt;br /&gt;
	if args.club7 then&lt;br /&gt;
		printfd(&amp;quot;| club7 = %s&amp;quot;, args.club7)&lt;br /&gt;
	end&lt;br /&gt;
	if args.years7 then&lt;br /&gt;
		printfd(&amp;quot;| years7 = %s&amp;quot;, args.years7)&lt;br /&gt;
	end&lt;br /&gt;
	if args.games_goals7 then&lt;br /&gt;
		printfd(&amp;quot;| games_goals7 = %s&amp;quot;, args.games_goals7)&lt;br /&gt;
	end&lt;br /&gt;
	if args.club8 then&lt;br /&gt;
		printfd(&amp;quot;| club8 = %s&amp;quot;, args.club8)&lt;br /&gt;
	end&lt;br /&gt;
	if args.years8 then&lt;br /&gt;
		printfd(&amp;quot;| years8 = %s&amp;quot;, args.years8)&lt;br /&gt;
	end&lt;br /&gt;
	if args.games_goals8 then&lt;br /&gt;
		printfd(&amp;quot;| games_goals8 = %s&amp;quot;, args.games_goals8)&lt;br /&gt;
	end&lt;br /&gt;
	if args.club9 then&lt;br /&gt;
		printfd(&amp;quot;| club9 = %s&amp;quot;, args.club9)&lt;br /&gt;
	end&lt;br /&gt;
	if args.years9 then&lt;br /&gt;
		printfd(&amp;quot;| years9 = %s&amp;quot;, args.years9)&lt;br /&gt;
	end&lt;br /&gt;
	if args.games_goals9 then&lt;br /&gt;
		printfd(&amp;quot;| games_goals9 = %s&amp;quot;, args.games_goals9)&lt;br /&gt;
	end&lt;br /&gt;
	if args.club10 then&lt;br /&gt;
		printfd(&amp;quot;| club10 = %s&amp;quot;, args.club10)&lt;br /&gt;
	end&lt;br /&gt;
	if args.years10 then&lt;br /&gt;
		printfd(&amp;quot;| years10 = %s&amp;quot;, args.years10)&lt;br /&gt;
	end&lt;br /&gt;
	if args.games_goals10 then&lt;br /&gt;
		printfd(&amp;quot;| games_goals10 = %s&amp;quot;, args.games_goals10)&lt;br /&gt;
	end&lt;br /&gt;
	if args.gamesgoalstotal then&lt;br /&gt;
		printfd(&amp;quot;| games_goalstotal = %s&amp;quot;, args.gamesgoalstotal)&lt;br /&gt;
	end&lt;br /&gt;
	if args.sooteams and args.sooyears and args.soogamesgoals then&lt;br /&gt;
		processTeamsYears(args.sooteams, args.sooyears, args.soogamesgoals,&lt;br /&gt;
			&amp;quot;sooteam&amp;quot;, &amp;quot;sooyears&amp;quot;, &amp;quot;soogames_goals&amp;quot;, &amp;quot;soogames(goals)&amp;quot;)&lt;br /&gt;
	elseif args.sooteams or args.sooyears or args.soogamesgoals then&lt;br /&gt;
		print(&amp;quot;&amp;lt;!-- Template:Infobox AFL biography conversion error: &amp;quot; ..&lt;br /&gt;
		      &amp;quot;Template is missing expected parameters. --&amp;gt;&amp;quot;)&lt;br /&gt;
		printfd(&amp;quot;| sooteams = %s&amp;quot;, args.sooteams)&lt;br /&gt;
		printfd(&amp;quot;| sooyears = %s&amp;quot;, args.sooyears)&lt;br /&gt;
		printfd(&amp;quot;| soogames(goals) = %s&amp;quot;, args.soogamesgoals)&lt;br /&gt;
	end&lt;br /&gt;
	if args.sooteam1 then&lt;br /&gt;
		printfd(&amp;quot;| sooteam1 = %s&amp;quot;, args.sooteam1)&lt;br /&gt;
	end&lt;br /&gt;
	if args.sooyears1 then&lt;br /&gt;
		printfd(&amp;quot;| sooyears1 = %s&amp;quot;, args.sooyears1)&lt;br /&gt;
	end&lt;br /&gt;
	if args.soogames_goals1 then&lt;br /&gt;
		printfd(&amp;quot;| soogames_goals1 = %s&amp;quot;, args.soogames_goals1)&lt;br /&gt;
	end&lt;br /&gt;
	if args.sooteam2 then&lt;br /&gt;
		printfd(&amp;quot;| sooteam2 = %s&amp;quot;, args.sooteam2)&lt;br /&gt;
	end&lt;br /&gt;
	if args.sooyears2 then&lt;br /&gt;
		printfd(&amp;quot;| sooyears2 = %s&amp;quot;, args.sooyears2)&lt;br /&gt;
	end&lt;br /&gt;
	if args.soogames_goals2 then&lt;br /&gt;
		printfd(&amp;quot;| soogames_goals2 = %s&amp;quot;, args.soogames_goals2)&lt;br /&gt;
	end&lt;br /&gt;
	if args.sooteam3 then&lt;br /&gt;
		printfd(&amp;quot;| sooteam3 = %s&amp;quot;, args.sooteam3)&lt;br /&gt;
	end&lt;br /&gt;
	if args.sooyears3 then&lt;br /&gt;
		printfd(&amp;quot;| sooyears3 = %s&amp;quot;, args.sooyears3)&lt;br /&gt;
	end&lt;br /&gt;
	if args.soogames_goals3 then&lt;br /&gt;
		printfd(&amp;quot;| soogames_goals3 = %s&amp;quot;, args.soogames_goals3)&lt;br /&gt;
	end&lt;br /&gt;
	if args.sooteam4 then&lt;br /&gt;
		printfd(&amp;quot;| sooteam4 = %s&amp;quot;, args.sooteam4)&lt;br /&gt;
	end&lt;br /&gt;
	if args.sooyears4 then&lt;br /&gt;
		printfd(&amp;quot;| sooyears4 = %s&amp;quot;, args.sooyears4)&lt;br /&gt;
	end&lt;br /&gt;
	if args.soogames_goals4 then&lt;br /&gt;
		printfd(&amp;quot;| soogames_goals4 = %s&amp;quot;, args.soogames_goals4)&lt;br /&gt;
	end&lt;br /&gt;
	if args.sooteam5 then&lt;br /&gt;
		printfd(&amp;quot;| sooteam5 = %s&amp;quot;, args.sooteam5)&lt;br /&gt;
	end&lt;br /&gt;
	if args.sooyears5 then&lt;br /&gt;
		printfd(&amp;quot;| sooyears5 = %s&amp;quot;, args.sooyears5)&lt;br /&gt;
	end&lt;br /&gt;
	if args.soogames_goals5 then&lt;br /&gt;
		printfd(&amp;quot;| soogames_goals5 = %s&amp;quot;, args.soogames_goals5)&lt;br /&gt;
	end&lt;br /&gt;
	if args.sooteam6 then&lt;br /&gt;
		printfd(&amp;quot;| sooteam6 = %s&amp;quot;, args.sooteam6)&lt;br /&gt;
	end&lt;br /&gt;
	if args.sooyears6 then&lt;br /&gt;
		printfd(&amp;quot;| sooyears6 = %s&amp;quot;, args.sooyears6)&lt;br /&gt;
	end&lt;br /&gt;
	if args.soogames_goals6 then&lt;br /&gt;
		printfd(&amp;quot;| soogames_goals6 = %s&amp;quot;, args.soogames_goals6)&lt;br /&gt;
	end&lt;br /&gt;
	if args.sooteam7 then&lt;br /&gt;
		printfd(&amp;quot;| sooteam7 = %s&amp;quot;, args.sooteam7)&lt;br /&gt;
	end&lt;br /&gt;
	if args.sooyears7 then&lt;br /&gt;
		printfd(&amp;quot;| sooyears7 = %s&amp;quot;, args.sooyears7)&lt;br /&gt;
	end&lt;br /&gt;
	if args.soogames_goals7 then&lt;br /&gt;
		printfd(&amp;quot;| soogames_goals7 = %s&amp;quot;, args.soogames_goals7)&lt;br /&gt;
	end&lt;br /&gt;
	if args.sooteam8 then&lt;br /&gt;
		printfd(&amp;quot;| sooteam8 = %s&amp;quot;, args.sooteam8)&lt;br /&gt;
	end&lt;br /&gt;
	if args.sooyears8 then&lt;br /&gt;
		printfd(&amp;quot;| sooyears8 = %s&amp;quot;, args.sooyears8)&lt;br /&gt;
	end&lt;br /&gt;
	if args.soogames_goals8 then&lt;br /&gt;
		printfd(&amp;quot;| soogames_goals8 = %s&amp;quot;, args.soogames_goals8)&lt;br /&gt;
	end&lt;br /&gt;
	if args.sooteam9 then&lt;br /&gt;
		printfd(&amp;quot;| sooteam9 = %s&amp;quot;, args.sooteam9)&lt;br /&gt;
	end&lt;br /&gt;
	if args.sooyears9 then&lt;br /&gt;
		printfd(&amp;quot;| sooyears9 = %s&amp;quot;, args.sooyears9)&lt;br /&gt;
	end&lt;br /&gt;
	if args.soogames_goals9 then&lt;br /&gt;
		printfd(&amp;quot;| soogames_goals9 = %s&amp;quot;, args.soogames_goals9)&lt;br /&gt;
	end&lt;br /&gt;
	if args.sooteam10 then&lt;br /&gt;
		printfd(&amp;quot;| sooteam10 = %s&amp;quot;, args.sooteam10)&lt;br /&gt;
	end&lt;br /&gt;
	if args.sooyears10 then&lt;br /&gt;
		printfd(&amp;quot;| sooyears10 = %s&amp;quot;, args.sooyears10)&lt;br /&gt;
	end&lt;br /&gt;
	if args.soogames_goals10 then&lt;br /&gt;
		printfd(&amp;quot;| soogames_goals10 = %s&amp;quot;, args.soogames_goals10)&lt;br /&gt;
	end&lt;br /&gt;
	if args.soogamesgoalstotal then&lt;br /&gt;
		printfd(&amp;quot;| soogames_goalstotal = %s&amp;quot;, args.soogamesgoalstotal)&lt;br /&gt;
	end&lt;br /&gt;
	if args.nationalteams and args.nationalyears and args.nationalgamesgoals then&lt;br /&gt;
		processTeamsYears(args.nationalteams, args.nationalyears, args.nationalgamesgoals,&lt;br /&gt;
			&amp;quot;nationalteam&amp;quot;, &amp;quot;nationalyears&amp;quot;, &amp;quot;nationalgames_goals&amp;quot;, &amp;quot;nationalgames(goals)&amp;quot;)&lt;br /&gt;
	elseif args.nationalteams or args.nationalyears or args.nationalgamesgoals then&lt;br /&gt;
		print(&amp;quot;&amp;lt;!-- Template:Infobox AFL biography conversion error: &amp;quot; ..&lt;br /&gt;
		      &amp;quot;Template is missing expected parameters. --&amp;gt;&amp;quot;)&lt;br /&gt;
		printfd(&amp;quot;| nationalteams = %s&amp;quot;, args.nationalteams)&lt;br /&gt;
		printfd(&amp;quot;| nationalyears = %s&amp;quot;, args.nationalyears)&lt;br /&gt;
		printfd(&amp;quot;| nationalgames(goals) = %s&amp;quot;, args.nationalgamesgoals)&lt;br /&gt;
	end&lt;br /&gt;
	if args.nationalteam1 then&lt;br /&gt;
		printfd(&amp;quot;| nationalteam1 = %s&amp;quot;, args.nationalteam1)&lt;br /&gt;
	end&lt;br /&gt;
	if args.nationalyears1 then&lt;br /&gt;
		printfd(&amp;quot;| nationalyears1 = %s&amp;quot;, args.nationalyears1)&lt;br /&gt;
	end&lt;br /&gt;
	if args.nationalgames_goals1 then&lt;br /&gt;
		printfd(&amp;quot;| nationalgames_goals1 = %s&amp;quot;, args.nationalgames_goals1)&lt;br /&gt;
	end&lt;br /&gt;
	if args.nationalteam2 then&lt;br /&gt;
		printfd(&amp;quot;| nationalteam2 = %s&amp;quot;, args.nationalteam2)&lt;br /&gt;
	end&lt;br /&gt;
	if args.nationalyears2 then&lt;br /&gt;
		printfd(&amp;quot;| nationalyears2 = %s&amp;quot;, args.nationalyears2)&lt;br /&gt;
	end&lt;br /&gt;
	if args.nationalgames_goals2 then&lt;br /&gt;
		printfd(&amp;quot;| nationalgames_goals2 = %s&amp;quot;, args.nationalgames_goals2)&lt;br /&gt;
	end&lt;br /&gt;
	if args.nationalteam3 then&lt;br /&gt;
		printfd(&amp;quot;| nationalteam3 = %s&amp;quot;, args.nationalteam3)&lt;br /&gt;
	end&lt;br /&gt;
	if args.nationalyears3 then&lt;br /&gt;
		printfd(&amp;quot;| nationalyears3 = %s&amp;quot;, args.nationalyears3)&lt;br /&gt;
	end&lt;br /&gt;
	if args.nationalgames_goals3 then&lt;br /&gt;
		printfd(&amp;quot;| nationalgames_goals3 = %s&amp;quot;, args.nationalgames_goals3)&lt;br /&gt;
	end&lt;br /&gt;
	if args.nationalteam4 then&lt;br /&gt;
		printfd(&amp;quot;| nationalteam4 = %s&amp;quot;, args.nationalteam4)&lt;br /&gt;
	end&lt;br /&gt;
	if args.nationalyears4 then&lt;br /&gt;
		printfd(&amp;quot;| nationalyears4 = %s&amp;quot;, args.nationalyears4)&lt;br /&gt;
	end&lt;br /&gt;
	if args.nationalgames_goals4 then&lt;br /&gt;
		printfd(&amp;quot;| nationalgames_goals4 = %s&amp;quot;, args.nationalgames_goals4)&lt;br /&gt;
	end&lt;br /&gt;
	if args.nationalteam5 then&lt;br /&gt;
		printfd(&amp;quot;| nationalteam5 = %s&amp;quot;, args.nationalteam5)&lt;br /&gt;
	end&lt;br /&gt;
	if args.nationalyears5 then&lt;br /&gt;
		printfd(&amp;quot;| nationalyears5 = %s&amp;quot;, args.nationalyears5)&lt;br /&gt;
	end&lt;br /&gt;
	if args.nationalgames_goals5 then&lt;br /&gt;
		printfd(&amp;quot;| nationalgames_goals5 = %s&amp;quot;, args.nationalgames_goals5)&lt;br /&gt;
	end&lt;br /&gt;
	if args.nationalteam6 then&lt;br /&gt;
		printfd(&amp;quot;| nationalteam6 = %s&amp;quot;, args.nationalteam6)&lt;br /&gt;
	end&lt;br /&gt;
	if args.nationalyears6 then&lt;br /&gt;
		printfd(&amp;quot;| nationalyears6 = %s&amp;quot;, args.nationalyears6)&lt;br /&gt;
	end&lt;br /&gt;
	if args.nationalgames_goals6 then&lt;br /&gt;
		printfd(&amp;quot;| nationalgames_goals6 = %s&amp;quot;, args.nationalgames_goals6)&lt;br /&gt;
	end&lt;br /&gt;
	if args.nationalteam7 then&lt;br /&gt;
		printfd(&amp;quot;| nationalteam7 = %s&amp;quot;, args.nationalteam7)&lt;br /&gt;
	end&lt;br /&gt;
	if args.nationalyears7 then&lt;br /&gt;
		printfd(&amp;quot;| nationalyears7 = %s&amp;quot;, args.nationalyears7)&lt;br /&gt;
	end&lt;br /&gt;
	if args.nationalgames_goals7 then&lt;br /&gt;
		printfd(&amp;quot;| nationalgames_goals7 = %s&amp;quot;, args.nationalgames_goals7)&lt;br /&gt;
	end&lt;br /&gt;
	if args.nationalteam8 then&lt;br /&gt;
		printfd(&amp;quot;| nationalteam8 = %s&amp;quot;, args.nationalteam8)&lt;br /&gt;
	end&lt;br /&gt;
	if args.nationalyears8 then&lt;br /&gt;
		printfd(&amp;quot;| nationalyears8 = %s&amp;quot;, args.nationalyears8)&lt;br /&gt;
	end&lt;br /&gt;
	if args.nationalgames_goals8 then&lt;br /&gt;
		printfd(&amp;quot;| nationalgames_goals8 = %s&amp;quot;, args.nationalgames_goals8)&lt;br /&gt;
	end&lt;br /&gt;
	if args.nationalteam9 then&lt;br /&gt;
		printfd(&amp;quot;| nationalteam9 = %s&amp;quot;, args.nationalteam9)&lt;br /&gt;
	end&lt;br /&gt;
	if args.nationalyears9 then&lt;br /&gt;
		printfd(&amp;quot;| nationalyears9 = %s&amp;quot;, args.nationalyears9)&lt;br /&gt;
	end&lt;br /&gt;
	if args.nationalgames_goals9 then&lt;br /&gt;
		printfd(&amp;quot;| nationalgames_goals9 = %s&amp;quot;, args.nationalgames_goals9)&lt;br /&gt;
	end&lt;br /&gt;
	if args.nationalteam10 then&lt;br /&gt;
		printfd(&amp;quot;| nationalteam10 = %s&amp;quot;, args.nationalteam10)&lt;br /&gt;
	end&lt;br /&gt;
	if args.nationalyears10 then&lt;br /&gt;
		printfd(&amp;quot;| nationalyears10 = %s&amp;quot;, args.nationalyears10)&lt;br /&gt;
	end&lt;br /&gt;
	if args.nationalgames_goals10 then&lt;br /&gt;
		printfd(&amp;quot;| nationalgames_goals10 = %s&amp;quot;, args.nationalgames_goals10)&lt;br /&gt;
	end&lt;br /&gt;
	if args.nationalgamesgoalstotal then&lt;br /&gt;
		printfd(&amp;quot;| nationalgames_goalstotal = %s&amp;quot;, args.nationalgamesgoalstotal)&lt;br /&gt;
	end&lt;br /&gt;
	if args.coachclubs and args.coachyears and args.coachgameswins then&lt;br /&gt;
		processTeamsYears(args.coachclubs, args.coachyears, args.coachgameswins,&lt;br /&gt;
			&amp;quot;coachclub&amp;quot;, &amp;quot;coachyears&amp;quot;, &amp;quot;coachgames_wins&amp;quot;, &amp;quot;coachgames(wins)&amp;quot;)&lt;br /&gt;
	elseif args.coachclubs or args.coachyears or args.coachgameswins then&lt;br /&gt;
		print(&amp;quot;&amp;lt;!-- Template:Infobox AFL biography conversion error: &amp;quot; ..&lt;br /&gt;
		      &amp;quot;Template is missing expected parameters. --&amp;gt;&amp;quot;)&lt;br /&gt;
		printfd(&amp;quot;| coachclubs = %s&amp;quot;, args.coachclubs)&lt;br /&gt;
		printfd(&amp;quot;| coachyears = %s&amp;quot;, args.coachyears)&lt;br /&gt;
		printfd(&amp;quot;| coachgames(wins) = %s&amp;quot;, args.coachgameswins)&lt;br /&gt;
	end&lt;br /&gt;
	if args.coachteam1 then&lt;br /&gt;
		printfd(&amp;quot;| coachteam1 = %s&amp;quot;, args.coachteam1)&lt;br /&gt;
	end&lt;br /&gt;
	if args.coachyears1 then&lt;br /&gt;
		printfd(&amp;quot;| coachyears1 = %s&amp;quot;, args.coachyears1)&lt;br /&gt;
	end&lt;br /&gt;
	if args.coachgames_goals1 then&lt;br /&gt;
		printfd(&amp;quot;| coachgames_goals1 = %s&amp;quot;, args.coachgames_goals1)&lt;br /&gt;
	end&lt;br /&gt;
	if args.coachteam2 then&lt;br /&gt;
		printfd(&amp;quot;| coachteam2 = %s&amp;quot;, args.coachteam2)&lt;br /&gt;
	end&lt;br /&gt;
	if args.coachyears2 then&lt;br /&gt;
		printfd(&amp;quot;| coachyears2 = %s&amp;quot;, args.coachyears2)&lt;br /&gt;
	end&lt;br /&gt;
	if args.coachgames_goals2 then&lt;br /&gt;
		printfd(&amp;quot;| coachgames_goals2 = %s&amp;quot;, args.coachgames_goals2)&lt;br /&gt;
	end&lt;br /&gt;
	if args.coachteam3 then&lt;br /&gt;
		printfd(&amp;quot;| coachteam3 = %s&amp;quot;, args.coachteam3)&lt;br /&gt;
	end&lt;br /&gt;
	if args.coachyears3 then&lt;br /&gt;
		printfd(&amp;quot;| coachyears3 = %s&amp;quot;, args.coachyears3)&lt;br /&gt;
	end&lt;br /&gt;
	if args.coachgames_goals3 then&lt;br /&gt;
		printfd(&amp;quot;| coachgames_goals3 = %s&amp;quot;, args.coachgames_goals3)&lt;br /&gt;
	end&lt;br /&gt;
	if args.coachteam4 then&lt;br /&gt;
		printfd(&amp;quot;| coachteam4 = %s&amp;quot;, args.coachteam4)&lt;br /&gt;
	end&lt;br /&gt;
	if args.coachyears4 then&lt;br /&gt;
		printfd(&amp;quot;| coachyears4 = %s&amp;quot;, args.coachyears4)&lt;br /&gt;
	end&lt;br /&gt;
	if args.coachgames_goals4 then&lt;br /&gt;
		printfd(&amp;quot;| coachgames_goals4 = %s&amp;quot;, args.coachgames_goals4)&lt;br /&gt;
	end&lt;br /&gt;
	if args.coachteam5 then&lt;br /&gt;
		printfd(&amp;quot;| coachteam5 = %s&amp;quot;, args.coachteam5)&lt;br /&gt;
	end&lt;br /&gt;
	if args.coachyears5 then&lt;br /&gt;
		printfd(&amp;quot;| coachyears5 = %s&amp;quot;, args.coachyears5)&lt;br /&gt;
	end&lt;br /&gt;
	if args.coachgames_goals5 then&lt;br /&gt;
		printfd(&amp;quot;| coachgames_goals5 = %s&amp;quot;, args.coachgames_goals5)&lt;br /&gt;
	end&lt;br /&gt;
	if args.coachteam6 then&lt;br /&gt;
		printfd(&amp;quot;| coachteam6 = %s&amp;quot;, args.coachteam6)&lt;br /&gt;
	end&lt;br /&gt;
	if args.coachyears6 then&lt;br /&gt;
		printfd(&amp;quot;| coachyears6 = %s&amp;quot;, args.coachyears6)&lt;br /&gt;
	end&lt;br /&gt;
	if args.coachgames_goals6 then&lt;br /&gt;
		printfd(&amp;quot;| coachgames_goals6 = %s&amp;quot;, args.coachgames_goals6)&lt;br /&gt;
	end&lt;br /&gt;
	if args.coachteam7 then&lt;br /&gt;
		printfd(&amp;quot;| coachteam7 = %s&amp;quot;, args.coachteam7)&lt;br /&gt;
	end&lt;br /&gt;
	if args.coachyears7 then&lt;br /&gt;
		printfd(&amp;quot;| coachyears7 = %s&amp;quot;, args.coachyears7)&lt;br /&gt;
	end&lt;br /&gt;
	if args.coachgames_goals7 then&lt;br /&gt;
		printfd(&amp;quot;| coachgames_goals7 = %s&amp;quot;, args.coachgames_goals7)&lt;br /&gt;
	end&lt;br /&gt;
	if args.coachteam8 then&lt;br /&gt;
		printfd(&amp;quot;| coachteam8 = %s&amp;quot;, args.coachteam8)&lt;br /&gt;
	end&lt;br /&gt;
	if args.coachyears8 then&lt;br /&gt;
		printfd(&amp;quot;| coachyears8 = %s&amp;quot;, args.coachyears8)&lt;br /&gt;
	end&lt;br /&gt;
	if args.coachgames_goals8 then&lt;br /&gt;
		printfd(&amp;quot;| coachgames_goals8 = %s&amp;quot;, args.coachgames_goals8)&lt;br /&gt;
	end&lt;br /&gt;
	if args.coachteam9 then&lt;br /&gt;
		printfd(&amp;quot;| coachteam9 = %s&amp;quot;, args.coachteam9)&lt;br /&gt;
	end&lt;br /&gt;
	if args.coachyears9 then&lt;br /&gt;
		printfd(&amp;quot;| coachyears9 = %s&amp;quot;, args.coachyears9)&lt;br /&gt;
	end&lt;br /&gt;
	if args.coachgames_goals9 then&lt;br /&gt;
		printfd(&amp;quot;| coachgames_goals9 = %s&amp;quot;, args.coachgames_goals9)&lt;br /&gt;
	end&lt;br /&gt;
	if args.coachteam10 then&lt;br /&gt;
		printfd(&amp;quot;| coachteam10 = %s&amp;quot;, args.coachteam10)&lt;br /&gt;
	end&lt;br /&gt;
	if args.coachyears10 then&lt;br /&gt;
		printfd(&amp;quot;| coachyears10 = %s&amp;quot;, args.coachyears10)&lt;br /&gt;
	end&lt;br /&gt;
	if args.coachgames_goals10 then&lt;br /&gt;
		printfd(&amp;quot;| coachgames_goals10 = %s&amp;quot;, args.coachgames_goals10)&lt;br /&gt;
	end&lt;br /&gt;
	if args.coachgameswinstotal then&lt;br /&gt;
		printfd(&amp;quot;| coachgames_winstotal = %s&amp;quot;, args.coachgameswinstotal)&lt;br /&gt;
	end&lt;br /&gt;
	if args.umpireyears1 then&lt;br /&gt;
		printfd(&amp;quot;| umpireyears1 = %s&amp;quot;, args.umpireyears1)&lt;br /&gt;
	end&lt;br /&gt;
	if args.umpireleague1 then&lt;br /&gt;
		printfd(&amp;quot;| umpireleague1 = %s&amp;quot;, args.umpireleague1)&lt;br /&gt;
	end&lt;br /&gt;
	if args.umpirerole1 then&lt;br /&gt;
		printfd(&amp;quot;| umpirerole1 = %s&amp;quot;, args.umpirerole1)&lt;br /&gt;
	end&lt;br /&gt;
	if args.umpiregames1 then&lt;br /&gt;
		printfd(&amp;quot;| umpiregames1 = %s&amp;quot;, args.umpiregames1)&lt;br /&gt;
	end&lt;br /&gt;
	if args.umpireyears2 then&lt;br /&gt;
		printfd(&amp;quot;| umpireyears2 = %s&amp;quot;, args.umpireyears2)&lt;br /&gt;
	end&lt;br /&gt;
	if args.umpireleague2 then&lt;br /&gt;
		printfd(&amp;quot;| umpireleague2 = %s&amp;quot;, args.umpireleague2)&lt;br /&gt;
	end&lt;br /&gt;
	if args.umpirerole2 then&lt;br /&gt;
		printfd(&amp;quot;| umpirerole2 = %s&amp;quot;, args.umpirerole2)&lt;br /&gt;
	end&lt;br /&gt;
	if args.umpiregames2 then&lt;br /&gt;
		printfd(&amp;quot;| umpiregames2 = %s&amp;quot;, args.umpiregames2)&lt;br /&gt;
	end&lt;br /&gt;
	if args.umpireyears3 then&lt;br /&gt;
		printfd(&amp;quot;| umpireyears3 = %s&amp;quot;, args.umpireyears3)&lt;br /&gt;
	end&lt;br /&gt;
	if args.umpireleague3 then&lt;br /&gt;
		printfd(&amp;quot;| umpireleague3 = %s&amp;quot;, args.umpireleague3)&lt;br /&gt;
	end&lt;br /&gt;
	if args.umpirerole3 then&lt;br /&gt;
		printfd(&amp;quot;| umpirerole3 = %s&amp;quot;, args.umpirerole3)&lt;br /&gt;
	end&lt;br /&gt;
	if args.umpiregames3 then&lt;br /&gt;
		printfd(&amp;quot;| umpiregames3 = %s&amp;quot;, args.umpiregames3)&lt;br /&gt;
	end&lt;br /&gt;
	if args.umpireyears4 then&lt;br /&gt;
		printfd(&amp;quot;| umpireyears4 = %s&amp;quot;, args.umpireyears4)&lt;br /&gt;
	end&lt;br /&gt;
	if args.umpireleague4 then&lt;br /&gt;
		printfd(&amp;quot;| umpireleague4 = %s&amp;quot;, args.umpireleague4)&lt;br /&gt;
	end&lt;br /&gt;
	if args.umpirerole4 then&lt;br /&gt;
		printfd(&amp;quot;| umpirerole4 = %s&amp;quot;, args.umpirerole4)&lt;br /&gt;
	end&lt;br /&gt;
	if args.umpiregames4 then&lt;br /&gt;
		printfd(&amp;quot;| umpiregames4 = %s&amp;quot;, args.umpiregames4)&lt;br /&gt;
	end&lt;br /&gt;
	if args.umpireyears5 then&lt;br /&gt;
		printfd(&amp;quot;| umpireyears5 = %s&amp;quot;, args.umpireyears5)&lt;br /&gt;
	end&lt;br /&gt;
	if args.umpireleague5 then&lt;br /&gt;
		printfd(&amp;quot;| umpireleague5 = %s&amp;quot;, args.umpireleague5)&lt;br /&gt;
	end&lt;br /&gt;
	if args.umpirerole5 then&lt;br /&gt;
		printfd(&amp;quot;| umpirerole5 = %s&amp;quot;, args.umpirerole5)&lt;br /&gt;
	end&lt;br /&gt;
	if args.umpiregames5 then&lt;br /&gt;
		printfd(&amp;quot;| umpiregames5 = %s&amp;quot;, args.umpiregames5)&lt;br /&gt;
	end&lt;br /&gt;
	printfd(&amp;quot;| careerhighlights = %s&amp;quot;, args.careerhighlights)&lt;br /&gt;
	print(&amp;quot;}}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
	return getBuffer(&amp;quot;\n&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
	local args = require(&amp;quot;Module:Arguments&amp;quot;).getArgs(frame)&lt;br /&gt;
	return p._main(args)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Zoran</name></author>
	</entry>
</feed>