<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://camp2jr.objectshow.community/index.php?action=history&amp;feed=atom&amp;title=Module%3AFootball_box</id>
	<title>Module:Football box - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://camp2jr.objectshow.community/index.php?action=history&amp;feed=atom&amp;title=Module%3AFootball_box"/>
	<link rel="alternate" type="text/html" href="http://camp2jr.objectshow.community/index.php?title=Module:Football_box&amp;action=history"/>
	<updated>2026-04-30T05:43:06Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>http://camp2jr.objectshow.community/index.php?title=Module:Football_box&amp;diff=1178&amp;oldid=prev</id>
		<title>SGuySMW: Created page with &quot;-- Implements Template:Football box local p = {} local lang = nil local delink = require(&#039;Module:Delink&#039;)._delink local eventschema = &quot;http://schema.org/SportsEvent&quot; local teamschema = &quot;http://schema.org/SportsTeam&quot; local placeschema = &quot;http://schema.org/Place&quot; local penalties = &#039;Penalties&#039; local aet = &#039;a.e.t.&#039; local asdet = &#039;[[Sudden death (sport)#Association football|a.s.d.e.t.]...&quot;</title>
		<link rel="alternate" type="text/html" href="http://camp2jr.objectshow.community/index.php?title=Module:Football_box&amp;diff=1178&amp;oldid=prev"/>
		<updated>2024-12-10T16:32:04Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;-- Implements &lt;a href=&quot;/index.php/Template:Football_box&quot; title=&quot;Template:Football box&quot;&gt;Template:Football box&lt;/a&gt; local p = {} local lang = nil local delink = require(&amp;#039;Module:Delink&amp;#039;)._delink local eventschema = &amp;quot;http://schema.org/SportsEvent&amp;quot; local teamschema = &amp;quot;http://schema.org/SportsTeam&amp;quot; local placeschema = &amp;quot;http://schema.org/Place&amp;quot; local penalties = &amp;#039;&lt;a href=&quot;/index.php?title=Penalty_shoot-out_(association_football)&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Penalty shoot-out (association football) (page does not exist)&quot;&gt;Penalties&lt;/a&gt;&amp;#039; local aet = &amp;#039;&lt;a href=&quot;/index.php?title=Overtime_(sports)&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Overtime (sports) (page does not exist)&quot;&gt;a.e.t.&lt;/a&gt;&amp;#039; local asdet = &amp;#039;[[Sudden death (sport)#Association football|a.s.d.e.t.]...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- Implements [[Template:Football box]]&lt;br /&gt;
local p = {}&lt;br /&gt;
local lang = nil&lt;br /&gt;
local delink = require(&amp;#039;Module:Delink&amp;#039;)._delink&lt;br /&gt;
local eventschema = &amp;quot;http://schema.org/SportsEvent&amp;quot;&lt;br /&gt;
local teamschema = &amp;quot;http://schema.org/SportsTeam&amp;quot;&lt;br /&gt;
local placeschema = &amp;quot;http://schema.org/Place&amp;quot;&lt;br /&gt;
local penalties = &amp;#039;[[Penalty shoot-out (association football)|Penalties]]&amp;#039;&lt;br /&gt;
local aet = &amp;#039;[[Overtime (sports)#Association football|a.e.t.]]&amp;#039;&lt;br /&gt;
local asdet = &amp;#039;[[Sudden death (sport)#Association football|a.s.d.e.t.]]&amp;#039;&lt;br /&gt;
local agget = &amp;#039;[[Overtime (sports)#Association football|a.e.t.]]/[[Golden goal#Association football|g.g.]]&amp;#039;&lt;br /&gt;
local asget = &amp;#039;[[Overtime (sports)#Association football|a.e.t.]]/[[Golden goal#Silver goal|s.g.]]&amp;#039;&lt;br /&gt;
local attendance = &amp;#039;Attendance:&amp;#039;&lt;br /&gt;
local referee = &amp;#039;Referee:&amp;#039;&lt;br /&gt;
local templatestyles = &amp;#039;Module:Football box/styles.css&amp;#039;&lt;br /&gt;
&lt;br /&gt;
local tracking, preview&lt;br /&gt;
&lt;br /&gt;
local function checkarg(k,v)&lt;br /&gt;
	if not k or type(k) ~= &amp;#039;string&amp;#039; then return end&lt;br /&gt;
	&lt;br /&gt;
	if  k == &amp;#039;assistantreferees2&amp;#039; then&lt;br /&gt;
		table.insert(tracking, &amp;#039;[[Category:Pages using football box with assistantreferees|2]]&amp;#039;)&lt;br /&gt;
	elseif k == &amp;#039;aggregatescore&amp;#039; or k == &amp;#039;assistantreferees&amp;#039; or &lt;br /&gt;
			k == &amp;#039;fourthofficial&amp;#039; or k == &amp;#039;game&amp;#039; or k == &amp;#039;motm&amp;#039; or &lt;br /&gt;
			k == &amp;#039;nobars&amp;#039; or k == &amp;#039;note&amp;#039; or k == &amp;#039;result&amp;#039; then&lt;br /&gt;
		-- valid and tracked&lt;br /&gt;
		table.insert(tracking, &amp;#039;[[Category:Pages using football box with &amp;#039; .. k .. &amp;#039;]]&amp;#039;)&lt;br /&gt;
	elseif k == &amp;#039;size&amp;#039; or k == &amp;#039;bg&amp;#039; or k == &amp;#039;id&amp;#039; or k == &amp;#039;event&amp;#039; or&lt;br /&gt;
		k == &amp;#039;date&amp;#039; or k == &amp;#039;time&amp;#039; or k == &amp;#039;round&amp;#039; or k == &amp;#039;team1&amp;#039; or &lt;br /&gt;
		k == &amp;#039;team2&amp;#039; or k == &amp;#039;score1&amp;#039; or k == &amp;#039;score2&amp;#039; or k == &amp;#039;score&amp;#039; or k == &amp;#039;scorenote&amp;#039; or&lt;br /&gt;
		k == &amp;#039;aet&amp;#039; or k == &amp;#039;asdet&amp;#039; or k == &amp;#039;agget&amp;#039; or k == &amp;#039;asget&amp;#039; or k == &amp;#039;goals1&amp;#039; or k == &amp;#039;report&amp;#039; or k == &amp;#039;goals2&amp;#039; or &lt;br /&gt;
		k == &amp;#039;penaltyscore&amp;#039; or k == &amp;#039;penalties1&amp;#039; or k == &amp;#039;penalties2&amp;#039; or &lt;br /&gt;
		k == &amp;#039;stadium&amp;#039; or k == &amp;#039;location&amp;#039; or k == &amp;#039;attendance&amp;#039; or &lt;br /&gt;
		k == &amp;#039;referee&amp;#039; or k == &amp;#039;stack&amp;#039; or k == &amp;#039;section&amp;#039; or k == &amp;#039;transcludesection&amp;#039; then&lt;br /&gt;
		-- valid and not tracked&lt;br /&gt;
	else&lt;br /&gt;
		-- invalid&lt;br /&gt;
		local vlen = mw.ustring.len(k)&lt;br /&gt;
		k = mw.ustring.sub(k, 1, (vlen &amp;lt; 25) and vlen or 25) &lt;br /&gt;
		k = mw.ustring.gsub(k, &amp;#039;[^%w%-_ ]&amp;#039;, &amp;#039;?&amp;#039;)&lt;br /&gt;
		table.insert(tracking, &amp;#039;[[Category:Pages using football box with unknown parameters|&amp;#039; .. k .. &amp;#039;]]&amp;#039;)&lt;br /&gt;
		table.insert(preview, &amp;#039;&amp;quot;&amp;#039; .. k .. &amp;#039;&amp;quot;&amp;#039;)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function timestamp(d, t)&lt;br /&gt;
	if not d then return nil end&lt;br /&gt;
	&lt;br /&gt;
	lang = lang or mw.language.getContentLanguage() -- lazy initialize&lt;br /&gt;
	local success, timestamp = pcall(lang.formatDate, lang, &amp;#039;c&amp;#039;, delink({d .. &amp;#039; &amp;#039; .. (t or &amp;#039;&amp;#039;)}))&lt;br /&gt;
	if success then&lt;br /&gt;
		return timestamp&lt;br /&gt;
	else&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function fmtlist(s)&lt;br /&gt;
	s = mw.ustring.gsub(s or &amp;#039;&amp;#039;, &amp;#039;%[%[ *([%?-]) *%]%]&amp;#039;, &amp;#039;%1&amp;#039;)&lt;br /&gt;
	s = mw.ustring.gsub(s, &amp;#039;%[%[ *[%?-] *| *(.-) *%]%]&amp;#039;, &amp;#039;%1&amp;#039;)&lt;br /&gt;
	if mw.ustring.sub(s, 1, 1) == &amp;#039;*&amp;#039; then&lt;br /&gt;
		-- could also expand plainlist here&lt;br /&gt;
		return mw.getCurrentFrame():extensionTag{&lt;br /&gt;
			name = &amp;#039;templatestyles&amp;#039;, args = { src = &amp;#039;Plainlist/styles.css&amp;#039; }&lt;br /&gt;
		} .. tostring(  mw.html.create(&amp;#039;div&amp;#039;):addClass(&amp;#039;plainlist&amp;#039;):newline():wikitext(s))&lt;br /&gt;
	end&lt;br /&gt;
	return s&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function makelink(s,t)&lt;br /&gt;
	if s:match(&amp;#039;^[Hh][Tt][Tt][Pp][Ss]?:[^ ]*$&amp;#039;) then&lt;br /&gt;
		return &amp;#039;[&amp;#039; .. s .. &amp;#039; &amp;#039; .. t .. &amp;#039;]&amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
	return s&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function trim(s)&lt;br /&gt;
	return s:match(&amp;#039;^[\&amp;#039;&amp;quot;%s]*(.-)[\&amp;#039;&amp;quot;%s]*$&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function getid(s)&lt;br /&gt;
	s = trim(s or &amp;#039;&amp;#039;)&lt;br /&gt;
	if s and s ~= &amp;#039;&amp;#039; then&lt;br /&gt;
		return s&lt;br /&gt;
	end&lt;br /&gt;
	return nil&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
	-- Exit early if we are using section transclusion for a different section&lt;br /&gt;
	local tsection = frame:getParent().args[&amp;#039;transcludesection&amp;#039;] or frame:getParent().args[&amp;#039;section&amp;#039;] or &amp;#039;&amp;#039;&lt;br /&gt;
	local bsection = frame.args[&amp;#039;section&amp;#039;] or &amp;#039;&amp;#039;&lt;br /&gt;
	if( tsection ~= &amp;#039;&amp;#039; and bsection ~= &amp;#039;&amp;#039; ) then&lt;br /&gt;
		if( tsection ~= bsection ) then&lt;br /&gt;
			return &amp;#039;&amp;#039;&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local args = require(&amp;#039;Module:Arguments&amp;#039;).getArgs(frame)&lt;br /&gt;
	local id = getid(args[&amp;#039;id&amp;#039;])&lt;br /&gt;
	local d = timestamp(args[&amp;#039;date&amp;#039;], args[&amp;#039;time&amp;#039;])&lt;br /&gt;
	local block&lt;br /&gt;
	&lt;br /&gt;
	tracking, preview = {}, {}&lt;br /&gt;
    for k, v in pairs(args) do&lt;br /&gt;
    	if v ~= &amp;#039;&amp;#039; then&lt;br /&gt;
    		checkarg(k,v)&lt;br /&gt;
    	end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local score = &amp;#039;v&amp;#039;&lt;br /&gt;
	if args[&amp;#039;score1&amp;#039;] or args[&amp;#039;score2&amp;#039;] then&lt;br /&gt;
		score = (args[&amp;#039;score1&amp;#039;] or &amp;#039;0&amp;#039;) .. &amp;#039;&amp;amp;ndash;&amp;#039; .. (args[&amp;#039;score2&amp;#039;] or &amp;#039;0&amp;#039;)&lt;br /&gt;
	elseif args[&amp;#039;score&amp;#039;] and args[&amp;#039;score&amp;#039;] ~= &amp;#039;&amp;#039; then&lt;br /&gt;
		score = args[&amp;#039;score&amp;#039;]&lt;br /&gt;
	end&lt;br /&gt;
	if args[&amp;#039;aet&amp;#039;] then&lt;br /&gt;
		score = score .. &amp;#039; (&amp;#039; .. aet .. &amp;#039;)&amp;#039;&lt;br /&gt;
	elseif args[&amp;#039;asdet&amp;#039;] then&lt;br /&gt;
		score = score .. &amp;#039; (&amp;#039; .. asdet .. &amp;#039;)&amp;#039;&lt;br /&gt;
	elseif args[&amp;#039;agget&amp;#039;] then&lt;br /&gt;
		score = score .. &amp;#039; (&amp;#039; .. agget .. &amp;#039;)&amp;#039;&lt;br /&gt;
	elseif args[&amp;#039;asget&amp;#039;] then&lt;br /&gt;
		score = score .. &amp;#039; (&amp;#039; .. asget .. &amp;#039;)&amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
	if args[&amp;#039;scorenote&amp;#039;] then&lt;br /&gt;
		score = score .. &amp;#039;&amp;lt;br&amp;gt;&amp;#039; .. args[&amp;#039;scorenote&amp;#039;]&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	-- Start box&lt;br /&gt;
	local root = &lt;br /&gt;
		mw.html.create(&amp;#039;div&amp;#039;)&lt;br /&gt;
			:attr(&amp;#039;itemscope&amp;#039;, &amp;#039;&amp;#039;)&lt;br /&gt;
			:attr(&amp;#039;itemtype&amp;#039;, eventschema)&lt;br /&gt;
			:addClass(&amp;#039;footballbox&amp;#039;)&lt;br /&gt;
			:css(&amp;#039;width&amp;#039;, args[&amp;#039;size&amp;#039;])&lt;br /&gt;
			:css(&amp;#039;background-color&amp;#039;, args[&amp;#039;bg&amp;#039;])&lt;br /&gt;
			:attr(&amp;#039;id&amp;#039;, id)&lt;br /&gt;
	root:newline()&lt;br /&gt;
	&lt;br /&gt;
	if args[&amp;#039;event&amp;#039;] then&lt;br /&gt;
		root:tag(&amp;#039;div&amp;#039;)&lt;br /&gt;
			:addClass(&amp;#039;ftitle&amp;#039;)&lt;br /&gt;
			:wikitext(args[&amp;#039;event&amp;#039;])&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	-- Start left block&lt;br /&gt;
	block = root:tag(&amp;#039;div&amp;#039;)&lt;br /&gt;
		:addClass(&amp;#039;fleft&amp;#039;)&lt;br /&gt;
	&lt;br /&gt;
	local timetag = block:tag(&amp;#039;time&amp;#039;)&lt;br /&gt;
		:attr(&amp;#039;itemprop&amp;#039;, d and &amp;#039;startDate&amp;#039; or nil)&lt;br /&gt;
		:attr(&amp;#039;datetime&amp;#039;, d)&lt;br /&gt;
		&lt;br /&gt;
	timetag:tag(&amp;#039;div&amp;#039;)&lt;br /&gt;
		:addClass(&amp;#039;fdate&amp;#039;)&lt;br /&gt;
		:wikitext(args[&amp;#039;date&amp;#039;])&lt;br /&gt;
	&lt;br /&gt;
	if args[&amp;#039;time&amp;#039;] then&lt;br /&gt;
		timetag:tag(&amp;#039;div&amp;#039;)&lt;br /&gt;
			:addClass(&amp;#039;ftime&amp;#039;)&lt;br /&gt;
			:wikitext(args[&amp;#039;time&amp;#039;])&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if args[&amp;#039;round&amp;#039;] then&lt;br /&gt;
		block:tag(&amp;#039;div&amp;#039;)&lt;br /&gt;
			:addClass(&amp;#039;frnd&amp;#039;)&lt;br /&gt;
			:wikitext(args[&amp;#039;round&amp;#039;])&lt;br /&gt;
	end&lt;br /&gt;
	-- End block&lt;br /&gt;
	&lt;br /&gt;
	-- Start table&lt;br /&gt;
	local rtable = root:tag(&amp;#039;table&amp;#039;)&lt;br /&gt;
		:addClass(&amp;#039;fevent&amp;#039;)&lt;br /&gt;
	local row = rtable:tag(&amp;#039;tr&amp;#039;)&lt;br /&gt;
		:attr(&amp;#039;itemprop&amp;#039;, &amp;#039;name&amp;#039;)&lt;br /&gt;
	row:newline()&lt;br /&gt;
	row:tag(&amp;#039;th&amp;#039;)&lt;br /&gt;
		:addClass(&amp;#039;fhome&amp;#039;)&lt;br /&gt;
		:attr(&amp;#039;itemprop&amp;#039;, &amp;#039;homeTeam&amp;#039;)&lt;br /&gt;
		:attr(&amp;#039;itemscope&amp;#039;, &amp;#039;&amp;#039;)&lt;br /&gt;
		:attr(&amp;#039;itemtype&amp;#039;, teamschema)&lt;br /&gt;
		:tag(&amp;#039;span&amp;#039;)&lt;br /&gt;
			:attr(&amp;#039;itemprop&amp;#039;, &amp;#039;name&amp;#039;)&lt;br /&gt;
			:wikitext(args[&amp;#039;team1&amp;#039;])&lt;br /&gt;
	row:tag(&amp;#039;th&amp;#039;)&lt;br /&gt;
		:addClass(&amp;#039;fscore&amp;#039;)&lt;br /&gt;
		:wikitext(score)&lt;br /&gt;
	row:tag(&amp;#039;th&amp;#039;)&lt;br /&gt;
		:addClass(&amp;#039;faway&amp;#039;)&lt;br /&gt;
		:attr(&amp;#039;itemprop&amp;#039;, &amp;#039;awayTeam&amp;#039;)&lt;br /&gt;
		:attr(&amp;#039;itemscope&amp;#039;, &amp;#039;&amp;#039;)&lt;br /&gt;
		:attr(&amp;#039;itemtype&amp;#039;, teamschema)&lt;br /&gt;
		:tag(&amp;#039;span&amp;#039;)&lt;br /&gt;
			:attr(&amp;#039;itemprop&amp;#039;, &amp;#039;name&amp;#039;)&lt;br /&gt;
			:wikitext(args[&amp;#039;team2&amp;#039;])&lt;br /&gt;
&lt;br /&gt;
	row = rtable:tag(&amp;#039;tr&amp;#039;)&lt;br /&gt;
		:addClass(&amp;#039;fgoals&amp;#039;)&lt;br /&gt;
		:newline()&lt;br /&gt;
	row:tag(&amp;#039;td&amp;#039;)&lt;br /&gt;
		:addClass(&amp;#039;fhgoal&amp;#039;)&lt;br /&gt;
		:wikitext(fmtlist(args[&amp;#039;goals1&amp;#039;]))&lt;br /&gt;
	row:newline()&lt;br /&gt;
	row:tag(&amp;#039;td&amp;#039;)&lt;br /&gt;
		:wikitext(makelink(args[&amp;#039;report&amp;#039;] or &amp;#039;&amp;#039;, &amp;#039;Report&amp;#039;))&lt;br /&gt;
	row:newline()&lt;br /&gt;
	row:tag(&amp;#039;td&amp;#039;)&lt;br /&gt;
		:addClass(&amp;#039;fagoal&amp;#039;)&lt;br /&gt;
		:wikitext(fmtlist(args[&amp;#039;goals2&amp;#039;]))&lt;br /&gt;
	row:newline()	&lt;br /&gt;
	&lt;br /&gt;
	if args[&amp;#039;penaltyscore&amp;#039;] then&lt;br /&gt;
		rtable&lt;br /&gt;
			:tag(&amp;#039;tr&amp;#039;)&lt;br /&gt;
				:tag(&amp;#039;th&amp;#039;)&lt;br /&gt;
					:attr(&amp;#039;colspan&amp;#039;, 3)&lt;br /&gt;
					:wikitext(penalties)&lt;br /&gt;
		row = rtable:tag(&amp;#039;tr&amp;#039;)&lt;br /&gt;
			:addClass(&amp;#039;fgoals&amp;#039;)&lt;br /&gt;
		row:newline()&lt;br /&gt;
		row:tag(&amp;#039;td&amp;#039;)&lt;br /&gt;
			:addClass(&amp;#039;fhgoal&amp;#039;)&lt;br /&gt;
			:wikitext(fmtlist(args[&amp;#039;penalties1&amp;#039;]))&lt;br /&gt;
		row:newline()&lt;br /&gt;
		row:tag(&amp;#039;th&amp;#039;)&lt;br /&gt;
			:wikitext(args[&amp;#039;penaltyscore&amp;#039;])&lt;br /&gt;
		row:newline()&lt;br /&gt;
		row:tag(&amp;#039;td&amp;#039;)&lt;br /&gt;
			:addClass(&amp;#039;fagoal&amp;#039;)&lt;br /&gt;
			:wikitext(fmtlist(args[&amp;#039;penalties2&amp;#039;]))&lt;br /&gt;
		row:newline()&lt;br /&gt;
	end&lt;br /&gt;
	-- End table&lt;br /&gt;
	&lt;br /&gt;
	-- Start right block&lt;br /&gt;
	block = root:tag(&amp;#039;div&amp;#039;)&lt;br /&gt;
		:addClass(&amp;#039;fright&amp;#039;)&lt;br /&gt;
	&lt;br /&gt;
	if args[&amp;#039;stadium&amp;#039;] then&lt;br /&gt;
		local sdiv = block:tag(&amp;#039;div&amp;#039;)&lt;br /&gt;
			:attr(&amp;#039;itemprop&amp;#039;, &amp;#039;location&amp;#039;)&lt;br /&gt;
			:attr(&amp;#039;itemscope&amp;#039;, &amp;#039;&amp;#039;)&lt;br /&gt;
			:attr(&amp;#039;itemtype&amp;#039;, placeschema)&lt;br /&gt;
		if args[&amp;#039;location&amp;#039;] then&lt;br /&gt;
			sdiv:tag(&amp;#039;span&amp;#039;)&lt;br /&gt;
				:attr(&amp;#039;itemprop&amp;#039;, &amp;#039;name&amp;#039;)&lt;br /&gt;
				:wikitext(args[&amp;#039;stadium&amp;#039;])&lt;br /&gt;
			sdiv:wikitext(&amp;#039;, &amp;#039;)&lt;br /&gt;
			sdiv:tag(&amp;#039;span&amp;#039;)&lt;br /&gt;
				:attr(&amp;#039;itemprop&amp;#039;, &amp;#039;address&amp;#039;)&lt;br /&gt;
				:wikitext(args[&amp;#039;location&amp;#039;])&lt;br /&gt;
		else&lt;br /&gt;
			sdiv:tag(&amp;#039;span&amp;#039;)&lt;br /&gt;
				:attr(&amp;#039;itemprop&amp;#039;, &amp;#039;name address&amp;#039;)&lt;br /&gt;
				:wikitext(args[&amp;#039;stadium&amp;#039;])&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if args[&amp;#039;attendance&amp;#039;] then&lt;br /&gt;
		block:tag(&amp;#039;div&amp;#039;):wikitext(attendance ..&amp;#039; &amp;#039; .. args[&amp;#039;attendance&amp;#039;])&lt;br /&gt;
	end&lt;br /&gt;
	if args[&amp;#039;referee&amp;#039;] then&lt;br /&gt;
		block:tag(&amp;#039;div&amp;#039;):wikitext(referee .. &amp;#039; &amp;#039; .. args[&amp;#039;referee&amp;#039;])&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local trackstr = (#tracking &amp;gt; 0) and table.concat(tracking, &amp;#039;&amp;#039;) or &amp;#039;&amp;#039;&lt;br /&gt;
	if #preview &amp;gt; 0 then&lt;br /&gt;
		trackstr = require(&amp;#039;Module:If preview&amp;#039;)._warning({&lt;br /&gt;
			&amp;#039;Unknown parameters &amp;#039; .. table.concat(preview, &amp;#039;; &amp;#039;) .. &amp;#039;.&amp;#039;&lt;br /&gt;
		}) .. trackstr&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return frame:extensionTag{ name = &amp;#039;templatestyles&amp;#039;, args = { src = templatestyles} } .. tostring(root) .. trackstr&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>SGuySMW</name></author>
	</entry>
</feed>