<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.ce.skimnerphi.net/index.php?action=history&amp;feed=atom&amp;title=Module%3AInfoboxBuilder</id>
	<title>Module:InfoboxBuilder - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ce.skimnerphi.net/index.php?action=history&amp;feed=atom&amp;title=Module%3AInfoboxBuilder"/>
	<link rel="alternate" type="text/html" href="https://wiki.ce.skimnerphi.net/index.php?title=Module:InfoboxBuilder&amp;action=history"/>
	<updated>2026-11-22T11:04:24Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://wiki.ce.skimnerphi.net/index.php?title=Module:InfoboxBuilder&amp;diff=263&amp;oldid=prev</id>
		<title>Dengr1065: Allow images without captions</title>
		<link rel="alternate" type="text/html" href="https://wiki.ce.skimnerphi.net/index.php?title=Module:InfoboxBuilder&amp;diff=263&amp;oldid=prev"/>
		<updated>2026-10-25T18:14:10Z</updated>

		<summary type="html">&lt;p&gt;Allow images without captions&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&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;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:14, 25 October 2026&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-l52&quot;&gt;Line 52:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 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;	local container = self:tag(&amp;#039;div&amp;#039;):addClass(&amp;#039;infobox-image-container&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;	local container = self:tag(&amp;#039;div&amp;#039;):addClass(&amp;#039;infobox-image-container&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;		:tag(&amp;#039;div&amp;#039;):addClass(&amp;#039;infobox-image&amp;#039;):wikitext(image):done()&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;		:tag(&amp;#039;div&amp;#039;):addClass(&amp;#039;infobox-image&amp;#039;):wikitext(image):done()&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 caption ~= nil 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 caption ~= nil &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;and caption ~= &#039;&#039; &lt;/ins&gt;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;		container:tag(&amp;#039;div&amp;#039;):addClass(&amp;#039;infobox-image-caption&amp;#039;):wikitext(caption):done()&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;		container:tag(&amp;#039;div&amp;#039;):addClass(&amp;#039;infobox-image-caption&amp;#039;):wikitext(caption):done()&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;	end&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;	end&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-l61&quot;&gt;Line 61:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 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;div&gt;	local image = args.image&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 image = args.image&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 caption = args.caption&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 caption = args.caption&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;(&lt;/del&gt;image == nil or image == &#039;&#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;) and (caption == nil or caption == &#039;&#039;) &lt;/del&gt;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 image == nil or image == &#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;		return self&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 self&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;	end&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;	end&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:1.41:old-256:rev-263:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Dengr1065</name></author>
	</entry>
	<entry>
		<id>https://wiki.ce.skimnerphi.net/index.php?title=Module:InfoboxBuilder&amp;diff=256&amp;oldid=prev</id>
		<title>Dengr1065: TemplateStyles linking doesn&#039;t seem to work</title>
		<link rel="alternate" type="text/html" href="https://wiki.ce.skimnerphi.net/index.php?title=Module:InfoboxBuilder&amp;diff=256&amp;oldid=prev"/>
		<updated>2026-10-25T17:56:07Z</updated>

		<summary type="html">&lt;p&gt;TemplateStyles linking doesn&amp;#039;t seem to work&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&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;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:56, 25 October 2026&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-l10&quot;&gt;Line 10:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 10:&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;	-- Constructor for a new InfoboxBuilder object.&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;	-- Constructor for a new InfoboxBuilder object.&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;	__call = function(self)&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;	__call = function(self)&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;		mw.ext.TemplateStyles.link(&quot;Module:InfoboxBuilder/styles.css&quot;)&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&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.html.create(&amp;#039;div&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;		return mw.html.create(&amp;#039;div&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;			:addClass(&amp;quot;infobox-root&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;			:addClass(&amp;quot;infobox-root&amp;quot;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:1.41:old-254:rev-256:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Dengr1065</name></author>
	</entry>
	<entry>
		<id>https://wiki.ce.skimnerphi.net/index.php?title=Module:InfoboxBuilder&amp;diff=254&amp;oldid=prev</id>
		<title>Dengr1065: Link infobox TemplateStyles</title>
		<link rel="alternate" type="text/html" href="https://wiki.ce.skimnerphi.net/index.php?title=Module:InfoboxBuilder&amp;diff=254&amp;oldid=prev"/>
		<updated>2026-10-25T17:44:32Z</updated>

		<summary type="html">&lt;p&gt;Link infobox TemplateStyles&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&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;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:44, 25 October 2026&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-l10&quot;&gt;Line 10:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 10:&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;	-- Constructor for a new InfoboxBuilder object.&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;	-- Constructor for a new InfoboxBuilder object.&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;	__call = function(self)&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;	__call = function(self)&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;		mw.ext.TemplateStyles.link(&quot;Module:InfoboxBuilder/styles.css&quot;)&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;		return mw.html.create(&amp;#039;div&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;		return mw.html.create(&amp;#039;div&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;			:addClass(&amp;quot;infobox-root&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;			:addClass(&amp;quot;infobox-root&amp;quot;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:1.41:old-249:rev-254:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Dengr1065</name></author>
	</entry>
	<entry>
		<id>https://wiki.ce.skimnerphi.net/index.php?title=Module:InfoboxBuilder&amp;diff=249&amp;oldid=prev</id>
		<title>Dengr1065: Port InfoboxBuilder from Meta Weird Gloop</title>
		<link rel="alternate" type="text/html" href="https://wiki.ce.skimnerphi.net/index.php?title=Module:InfoboxBuilder&amp;diff=249&amp;oldid=prev"/>
		<updated>2026-10-25T16:43:13Z</updated>

		<summary type="html">&lt;p&gt;Port InfoboxBuilder from Meta Weird Gloop&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- Helper module for creating infoboxes, taken from Meta Weird Gloop wiki&lt;br /&gt;
-- @source https://meta.weirdgloop.org/w/Module:InfoboxBuilder?oldid=1271 &lt;br /&gt;
local InfoboxBuilder = {}&lt;br /&gt;
&lt;br /&gt;
local htmlmt = getmetatable(mw.html.create())&lt;br /&gt;
local htmlindex = htmlmt.__index&lt;br /&gt;
local html_build_original = htmlindex._build&lt;br /&gt;
&lt;br /&gt;
setmetatable(InfoboxBuilder, {&lt;br /&gt;
	-- Constructor for a new InfoboxBuilder object.&lt;br /&gt;
	__call = function(self)&lt;br /&gt;
		return mw.html.create(&amp;#039;div&amp;#039;)&lt;br /&gt;
			:addClass(&amp;quot;infobox-root&amp;quot;)&lt;br /&gt;
	end,&lt;br /&gt;
	__index = htmlindex,&lt;br /&gt;
	__tostring = htmlmt.__tostring&lt;br /&gt;
})&lt;br /&gt;
&lt;br /&gt;
-- Override the default html builder to ensure groups are not empty before outputting them&lt;br /&gt;
htmlindex._build = function(t, ret)&lt;br /&gt;
	if t._skip then &lt;br /&gt;
		return&lt;br /&gt;
	end&lt;br /&gt;
	html_build_original(t, ret)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
htmlindex.title = function(self, value)&lt;br /&gt;
	return self:tag(&amp;#039;div&amp;#039;):addClass(&amp;quot;infobox-title&amp;quot;):wikitext(value):done()&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
htmlindex.header = function(self, value)&lt;br /&gt;
	return self:tag(&amp;#039;div&amp;#039;):addClass(&amp;quot;infobox-header&amp;quot;):wikitext(value):done()&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
htmlindex.group = function(self, args)&lt;br /&gt;
	local extraClasses = nil&lt;br /&gt;
	if args and args.layout then&lt;br /&gt;
		extraClasses = args.layout&lt;br /&gt;
	end&lt;br /&gt;
	local group = self:tag(&amp;#039;table&amp;#039;):addClass(&amp;quot;infobox-group&amp;quot;):addClass(extraClasses)&lt;br /&gt;
	group._skip = true&lt;br /&gt;
	return group&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--Called by htmlindex.image&lt;br /&gt;
local function _image(self, image, caption)&lt;br /&gt;
	if image and not image:match(&amp;#039;gallery&amp;#039;) and not image:match(&amp;#039;tabber&amp;#039;) then&lt;br /&gt;
		image = image:gsub(&amp;#039;%[%[&amp;#039;, &amp;#039;&amp;#039;):gsub(&amp;#039;%]%]&amp;#039;, &amp;#039;&amp;#039;):gsub(&amp;#039;^File:&amp;#039;, &amp;#039;&amp;#039;):gsub(&amp;#039;|thumb&amp;#039;, &amp;#039;&amp;#039;):gsub(&amp;#039;|$&amp;#039;, &amp;#039;&amp;#039;)&lt;br /&gt;
		image = string.format(&amp;#039;[[File:%s]]&amp;#039;, image)&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local container = self:tag(&amp;#039;div&amp;#039;):addClass(&amp;#039;infobox-image-container&amp;#039;)&lt;br /&gt;
		:tag(&amp;#039;div&amp;#039;):addClass(&amp;#039;infobox-image&amp;#039;):wikitext(image):done()&lt;br /&gt;
	if caption ~= nil then&lt;br /&gt;
		container:tag(&amp;#039;div&amp;#039;):addClass(&amp;#039;infobox-image-caption&amp;#039;):wikitext(caption):done()&lt;br /&gt;
	end&lt;br /&gt;
	return container:done()&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
htmlindex.image = function(self, args)&lt;br /&gt;
	local image = args.image&lt;br /&gt;
	local caption = args.caption&lt;br /&gt;
	if (image == nil or image == &amp;#039;&amp;#039;) and (caption == nil or caption == &amp;#039;&amp;#039;) then&lt;br /&gt;
		return self&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return _image(self, image, caption)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
htmlindex.row = function(self, args)&lt;br /&gt;
	local label = args.label&lt;br /&gt;
	local value = args.value&lt;br /&gt;
	if value == nil or value == &amp;#039;&amp;#039; then&lt;br /&gt;
		return self&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Don&amp;#039;t skip any ancestors of this node&lt;br /&gt;
	local t = self&lt;br /&gt;
	t._skip = nil&lt;br /&gt;
	while t.parent do&lt;br /&gt;
		t.parent._skip = nil&lt;br /&gt;
		t = t.parent&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local row = self:tag(&amp;#039;tr&amp;#039;):addClass(&amp;#039;infobox-row-container&amp;#039;)&lt;br /&gt;
	if label ~= nil then&lt;br /&gt;
		row:tag(&amp;#039;th&amp;#039;):addClass(&amp;#039;infobox-row-label&amp;#039;):wikitext(label):done()&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return row&lt;br /&gt;
		:wikitext(&amp;#039;\n&amp;#039;):tag(&amp;#039;td&amp;#039;):addClass(&amp;#039;infobox-row-value&amp;#039;):wikitext(&amp;#039;\n&amp;#039;..tostring(value)):done()&lt;br /&gt;
	:done()&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local Tabber = {}&lt;br /&gt;
Tabber.__index = Tabber&lt;br /&gt;
setmetatable(Tabber, {__index = htmlindex})&lt;br /&gt;
&lt;br /&gt;
htmlindex.tabber = function(self)&lt;br /&gt;
	local obj = mw.html.create()&lt;br /&gt;
	obj.parent = self&lt;br /&gt;
	setmetatable(obj, Tabber)&lt;br /&gt;
	self:node(obj)&lt;br /&gt;
	return obj&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function Tabber:_build(ret)&lt;br /&gt;
	local tabs = {}&lt;br /&gt;
&lt;br /&gt;
	for _, tab in ipairs(self.nodes) do&lt;br /&gt;
		table.insert(tabs, tab.name .. &amp;#039;=&amp;#039; .. tostring(tab))&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local tabsString = table.concat(tabs, &amp;#039;|-|&amp;#039;)&lt;br /&gt;
	local tabber = mw.getCurrentFrame():extensionTag(&amp;#039;tabber&amp;#039;, tabsString)&lt;br /&gt;
&lt;br /&gt;
	table.insert(ret, tabber)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function Tabber:tab(name)&lt;br /&gt;
	local obj = self:tag(&amp;#039;div&amp;#039;):addClass(&amp;quot;infobox-tab&amp;quot;)&lt;br /&gt;
	obj.name = name&lt;br /&gt;
	return obj&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return InfoboxBuilder&lt;/div&gt;</summary>
		<author><name>Dengr1065</name></author>
	</entry>
</feed>