<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="uz">
	<id>https://ziyosfera.uz/index.php?action=history&amp;feed=atom&amp;title=Modul%3AFootball_box</id>
	<title>Modul:Football box - Oʻzgarishlar tarixi</title>
	<link rel="self" type="application/atom+xml" href="https://ziyosfera.uz/index.php?action=history&amp;feed=atom&amp;title=Modul%3AFootball_box"/>
	<link rel="alternate" type="text/html" href="https://ziyosfera.uz/index.php?title=Modul:Football_box&amp;action=history"/>
	<updated>2026-11-18T09:46:35Z</updated>
	<subtitle>Ziyosferadagi mazkur sahifaning oʻzgarishlar tarixi</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://ziyosfera.uz/index.php?title=Modul:Football_box&amp;diff=1554990&amp;oldid=prev</id>
		<title>Programmer: Modul:Football box optimallashtirildi (fast_delink va nativ string funksiyalari)</title>
		<link rel="alternate" type="text/html" href="https://ziyosfera.uz/index.php?title=Modul:Football_box&amp;diff=1554990&amp;oldid=prev"/>
		<updated>2026-10-27T13:41:25Z</updated>

		<summary type="html">&lt;p&gt;Modul:Football box optimallashtirildi (fast_delink va nativ string funksiyalari)&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;uz&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←Avvalgi koʻrinishi&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2026-yil 27-oktyabr, 18:41 dagi koʻrinishi&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot;&gt;Qator 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Qator 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;local p = {}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;local p = {}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;local lang = nil&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;local lang = nil&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;local &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;delink = require&lt;/del&gt;(&#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Module&lt;/del&gt;:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Delink&lt;/del&gt;&#039;)&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;._delink&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;local &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;function fast_delink&lt;/ins&gt;(&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;text)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;	if not text then return &lt;/ins&gt;&#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039; end&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;	return (text&lt;/ins&gt;:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;gsub(&#039;%[%[([^|%]]*|)?([^%]]*)%]%]&#039;, &lt;/ins&gt;&#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;%2&#039;)&lt;/ins&gt;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;end&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;local eventschema = &amp;quot;http://schema.org/SportsEvent&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;local eventschema = &amp;quot;http://schema.org/SportsEvent&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;local teamschema = &amp;quot;http://schema.org/SportsTeam&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;local teamschema = &amp;quot;http://schema.org/SportsTeam&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l39&quot;&gt;Qator 39:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Qator 42:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		local vlen = mw.ustring.len(k)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		local vlen = mw.ustring.len(k)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		k = mw.ustring.sub(k, 1, (vlen &amp;lt; 25) and vlen or 25)  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		k = mw.ustring.sub(k, 1, (vlen &amp;lt; 25) and vlen or 25)  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		k = &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;mw.ustring&lt;/del&gt;.gsub(k, &#039;[^%w%-_ ]&#039;, &#039;?&#039;)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		k = &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;string&lt;/ins&gt;.gsub(k, &#039;[^%w%-_ ]&#039;, &#039;?&#039;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		table.insert(tracking, &amp;#039;[[Category:Pages using football box with unknown parameters|&amp;#039; .. k .. &amp;#039;]]&amp;#039;)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		table.insert(tracking, &amp;#039;[[Category:Pages using football box with unknown parameters|&amp;#039; .. k .. &amp;#039;]]&amp;#039;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		table.insert(preview, &amp;#039;&amp;quot;&amp;#039; .. k .. &amp;#039;&amp;quot;&amp;#039;)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		table.insert(preview, &amp;#039;&amp;quot;&amp;#039; .. k .. &amp;#039;&amp;quot;&amp;#039;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l49&quot;&gt;Qator 49:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Qator 52:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	lang = lang or mw.language.getContentLanguage() -- lazy initialize&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	lang = lang or mw.language.getContentLanguage() -- lazy initialize&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local success, timestamp = pcall(lang.formatDate, lang, &#039;c&#039;, &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;delink&lt;/del&gt;(&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{&lt;/del&gt;d .. &#039; &#039; .. (t or &#039;&#039;)&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}&lt;/del&gt;))&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local success, timestamp = pcall(lang.formatDate, lang, &#039;c&#039;, &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;fast_delink&lt;/ins&gt;(d .. &#039; &#039; .. (t or &#039;&#039;)))&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	if success then&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	if success then&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		return timestamp&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		return timestamp&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l58&quot;&gt;Qator 58:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Qator 61:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;local function fmtlist(s)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;local function fmtlist(s)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	s = &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;mw.ustring&lt;/del&gt;.gsub(s or &#039;&#039;, &#039;%[%[ *([%?-]) *%]%]&#039;, &#039;%1&#039;)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	s = &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;string&lt;/ins&gt;.gsub(s or &#039;&#039;, &#039;%[%[ *([%?-]) *%]%]&#039;, &#039;%1&#039;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	s = &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;mw.ustring&lt;/del&gt;.gsub(s, &#039;%[%[ *[%?-] *| *(.-) *%]%]&#039;, &#039;%1&#039;)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	s = &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;string&lt;/ins&gt;.gsub(s, &#039;%[%[ *[%?-] *| *(.-) *%]%]&#039;, &#039;%1&#039;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	if &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;mw.ustring&lt;/del&gt;.sub(s, 1, 1) == &#039;*&#039; then&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	if &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;string&lt;/ins&gt;.sub(s, 1, 1) == &#039;*&#039; then&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		-- could also expand plainlist here&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		-- could also expand plainlist here&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		return mw.getCurrentFrame():extensionTag{&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		return mw.getCurrentFrame():extensionTag{&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key ziyoold-mediawiki-:diff:1.41:old-99343:rev-1554990:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Programmer</name></author>
	</entry>
	<entry>
		<id>https://ziyosfera.uz/index.php?title=Modul:Football_box&amp;diff=99343&amp;oldid=prev</id>
		<title>Programmer: Oʻzbekcha Vikipediyadan import qilindi.</title>
		<link rel="alternate" type="text/html" href="https://ziyosfera.uz/index.php?title=Modul:Football_box&amp;diff=99343&amp;oldid=prev"/>
		<updated>2026-08-06T12:00:33Z</updated>

		<summary type="html">&lt;p&gt;Oʻzbekcha Vikipediyadan import qilindi.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Yangi sahifa&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;[[Penaltilar seriyasi (futbol)|Penaltilar seriyasi]]&amp;#039;&lt;br /&gt;
local aet = &amp;#039;[[Qoʻshimcha vaqt (sport)#Futbol|Q.v]]&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;[[Qoʻshimcha vaqt (sport)#Futbol|Q.v]]/[[Oltin gol|o.g.]]&amp;#039;&lt;br /&gt;
local asget = &amp;#039;[[Qoʻshimcha vaqt (sport)#Futbol|Q.v]]/[[Oltin gol|k.g.]]&amp;#039;&lt;br /&gt;
local attendance = &amp;#039;Muxlislar soni:&amp;#039;&lt;br /&gt;
local referee = &amp;#039;Bosh hakam:&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)&lt;br /&gt;
	if s and s:match(&amp;#039;^[Hh][Tt][Tt][Pp][Ss]?:[^ ]*$&amp;#039;) then&lt;br /&gt;
		-- URL bo&amp;#039;lsa, havola ko&amp;#039;rsatilsin, matni &amp;quot;Hisobot&amp;quot;&lt;br /&gt;
		return &amp;#039;[&amp;#039; .. s .. &amp;#039; Hisobot]&amp;#039;&lt;br /&gt;
	elseif s and s ~= &amp;#039;&amp;#039; then&lt;br /&gt;
		-- agar allaqachon tayyor wikitext bo&amp;#039;lsa yoki oddiy matn&lt;br /&gt;
		return s&lt;br /&gt;
	else&lt;br /&gt;
		return &amp;#039;&amp;#039;&lt;br /&gt;
	end&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;
local function rtrim(s)&lt;br /&gt;
    return mw.ustring.gsub(s, &amp;quot;^%s*(.-)%s*$&amp;quot;, &amp;quot;%1&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function trimAll(s)&lt;br /&gt;
    if not s then return &amp;#039;&amp;#039; end&lt;br /&gt;
    local first = 1&lt;br /&gt;
    local last = #s&lt;br /&gt;
    while first &amp;lt;= last and s:sub(first, first):match(&amp;#039;%s&amp;#039;) do&lt;br /&gt;
        first = first + 1&lt;br /&gt;
    end&lt;br /&gt;
    while last &amp;gt;= first and s:sub(last, last):match(&amp;#039;%s&amp;#039;) do&lt;br /&gt;
        last = last - 1&lt;br /&gt;
    end&lt;br /&gt;
    s = s:sub(first, last)&lt;br /&gt;
    s = s:gsub(&amp;quot;%s+&amp;quot;, &amp;quot; &amp;quot;)&lt;br /&gt;
    return s&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function makeanchor(s)&lt;br /&gt;
	s = mw.ustring.gsub(s, &amp;#039;&amp;lt;[Ss][Uu][Pp].-&amp;lt;/[Ss][Uu][Pp]&amp;gt;&amp;#039;, &amp;#039;&amp;#039;)&lt;br /&gt;
	s = mw.ustring.gsub(s, &amp;quot;&amp;lt;/?%w+[^&amp;gt;]*&amp;gt;&amp;quot;, &amp;quot;&amp;quot;)&lt;br /&gt;
	s = mw.ustring.gsub(s, &amp;#039;\127[^\127]*UNIQ%-%-[^\127]*%-%x+%-QINU[^\127]*\127&amp;#039;, &amp;#039;&amp;#039;)&lt;br /&gt;
	s = mw.ustring.gsub(s, &amp;quot;%[%[[Ff][Ii][Ll][Ee]:[^%[%]]*%]%]&amp;quot;, &amp;quot;&amp;quot;)&lt;br /&gt;
	s = mw.ustring.gsub(s, &amp;quot;%[%[[Ii][Mm][Aa][Gg][Ee]:[^%[%]]*%]%]&amp;quot;, &amp;quot;&amp;quot;)&lt;br /&gt;
	s = mw.ustring.gsub(s, &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;
	s = mw.ustring.gsub(s, &amp;#039;%s*&amp;amp;nbsp;%s*&amp;#039;, &amp;#039; &amp;#039;)&lt;br /&gt;
	s = mw.ustring.gsub(s, &amp;#039;%s%s*&amp;#039;, &amp;#039; &amp;#039;)&lt;br /&gt;
	s = s:match(&amp;quot;^%s*(.-)%s*$&amp;quot;)&lt;br /&gt;
	s = trimAll(s)&lt;br /&gt;
	s = s:gsub(&amp;quot; &amp;quot;, &amp;quot;_&amp;quot;)&lt;br /&gt;
	return s&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function checkTitle()&lt;br /&gt;
    local pageTitle = mw.title.getCurrentTitle().text&lt;br /&gt;
    local titlePhrases = {&lt;br /&gt;
        &amp;quot;group stage&amp;quot;, &amp;quot;knockout stage&amp;quot;, &amp;quot;knockout phase&amp;quot;, &amp;quot;final phase&amp;quot;, &amp;quot;league phase&amp;quot;, &amp;quot;club world cup&amp;quot;,&lt;br /&gt;
        &amp;quot;round&amp;quot;, &amp;quot;league stage&amp;quot;, &amp;quot;qualifying&amp;quot;, &amp;quot;qualification&amp;quot;, &amp;quot;play%-off&amp;quot;, &amp;quot;nations league [a-d]&amp;quot;, &amp;quot;intertoto&amp;quot;, &amp;quot;domestic champions path&amp;quot;&lt;br /&gt;
    }&lt;br /&gt;
    &lt;br /&gt;
    for _, phrase in ipairs(titlePhrases) do&lt;br /&gt;
        if mw.ustring.match(mw.ustring.lower(pageTitle), phrase) then&lt;br /&gt;
            return true&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
    &lt;br /&gt;
    return false&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 generated = false&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;
	-- Generate an anchor&lt;br /&gt;
	if not id then&lt;br /&gt;
		local team1_clean = mw.text.trim(args[&amp;#039;team1&amp;#039;] or &amp;#039;Team 1&amp;#039;)&lt;br /&gt;
		local team2_clean = mw.text.trim(args[&amp;#039;team2&amp;#039;] or &amp;#039;Team 2&amp;#039;)&lt;br /&gt;
		id = makeanchor(team1_clean .. &amp;quot;_v_&amp;quot; .. team2_clean)&lt;br /&gt;
		generated = true&lt;br /&gt;
		id = id:gsub(&amp;quot;_+v_+&amp;quot;, &amp;quot;_v_&amp;quot;)&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if id == &amp;#039;event&amp;#039; and args[&amp;#039;event&amp;#039;] then&lt;br /&gt;
		id = makeanchor(mw.text.trim(args[&amp;#039;event&amp;#039;]))&lt;br /&gt;
		generated = true&lt;br /&gt;
	elseif id == &amp;#039;auto&amp;#039; then&lt;br /&gt;
		local team1_clean = mw.text.trim(args[&amp;#039;team1&amp;#039;] or &amp;#039;Team 1&amp;#039;)&lt;br /&gt;
		local team2_clean = mw.text.trim(args[&amp;#039;team2&amp;#039;] or &amp;#039;Team 2&amp;#039;)&lt;br /&gt;
		id = makeanchor(team1_clean .. &amp;quot;_v_&amp;quot; .. team2_clean)&lt;br /&gt;
		generated = true&lt;br /&gt;
		id = id:gsub(&amp;quot;_+v_+&amp;quot;, &amp;quot;_v_&amp;quot;)&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;))&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>Programmer</name></author>
	</entry>
</feed>