<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://austenasia.wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3ADocbunto%2Finfobox</id>
	<title>Module:Docbunto/infobox - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://austenasia.wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3ADocbunto%2Finfobox"/>
	<link rel="alternate" type="text/html" href="https://austenasia.wiki/index.php?title=Module:Docbunto/infobox&amp;action=history"/>
	<updated>2026-10-09T11:37:34Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://austenasia.wiki/index.php?title=Module:Docbunto/infobox&amp;diff=844&amp;oldid=prev</id>
		<title>Austenasia: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://austenasia.wiki/index.php?title=Module:Docbunto/infobox&amp;diff=844&amp;oldid=prev"/>
		<updated>2026-09-18T17:39:12Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:39, 18 September 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en-GB&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Austenasia</name></author>
	</entry>
	<entry>
		<id>https://austenasia.wiki/index.php?title=Module:Docbunto/infobox&amp;diff=843&amp;oldid=prev</id>
		<title>Module:Fallbacklist&gt;Awesome Aasim at 03:19, 8 June 2026</title>
		<link rel="alternate" type="text/html" href="https://austenasia.wiki/index.php?title=Module:Docbunto/infobox&amp;diff=843&amp;oldid=prev"/>
		<updated>2026-06-08T03:19:07Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;--- Infobox for Lua modules.&lt;br /&gt;
--  @script			 infobox&lt;br /&gt;
--  @param			 {table} data Taglet documentation data.&lt;br /&gt;
--  @param			 {string} codepage Code page name.&lt;br /&gt;
--  @param			 {table} frame Template invocation frame.&lt;br /&gt;
--  @param			 {table} options Docbunto configuration options.&lt;br /&gt;
--  @return			 {string} Infobox wikitext.&lt;br /&gt;
return function(data, codepage, frame, options, title, maybe_md)&lt;br /&gt;
	local module_rating_box = {}&lt;br /&gt;
	if data.info and data.info[&amp;#039;release&amp;#039;] then&lt;br /&gt;
		module_rating_box.title = &amp;#039;Module rating&amp;#039;&lt;br /&gt;
		module_rating_box.args = {}&lt;br /&gt;
		module_rating_box.args[1] = data.info[&amp;#039;release&amp;#039;]&lt;br /&gt;
	end&lt;br /&gt;
	local statusHeader = &amp;#039;&amp;#039;&lt;br /&gt;
	if module_rating_box.title then&lt;br /&gt;
		statusHeader = data.info and data.info[&amp;#039;release&amp;#039;]&lt;br /&gt;
			and frame:expandTemplate{&lt;br /&gt;
				title = module_rating_box.title,&lt;br /&gt;
				args = module_rating_box.args&lt;br /&gt;
			} or &amp;#039;&amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local modules = data.info and data.info[&amp;#039;require&amp;#039;] and mw.text.split(data.info[&amp;#039;require&amp;#039;]&lt;br /&gt;
			:gsub(&amp;#039;^[^[%s]+$&amp;#039;, &amp;#039;%1&amp;#039;)&lt;br /&gt;
			:gsub(&amp;#039;%* ([^[%s]+)&amp;#039;, &amp;#039;%1&amp;#039;), &amp;#039;\n&amp;#039;) or {}&lt;br /&gt;
	for k,v in ipairs(modules) do&lt;br /&gt;
		modules[k] = v&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local dependencies = &amp;#039;&amp;#039;&lt;br /&gt;
	if #modules ~= 0 then&lt;br /&gt;
		dependencies = require(&amp;quot;Module:Lua banner&amp;quot;).renderBox(modules)&lt;br /&gt;
	end&lt;br /&gt;
	if not options.autodoc then&lt;br /&gt;
		dependencies = &amp;#039;&amp;#039;&lt;br /&gt;
		statusHeader = &amp;#039;&amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local infobox = {}&lt;br /&gt;
	infobox.title = &amp;#039;Infobox Lua&amp;#039;&lt;br /&gt;
	infobox.args = {}&lt;br /&gt;
	if codepage ~= mw.text.split(title.text, &amp;#039;/&amp;#039;)[2] then&lt;br /&gt;
		infobox.args[&amp;#039;title&amp;#039;] = codepage&lt;br /&gt;
		infobox.args[&amp;#039;code&amp;#039;] = codepage&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if options.image or ( data.info and data.info[&amp;#039;image&amp;#039;] ) then&lt;br /&gt;
		infobox.args[&amp;#039;image file&amp;#039;] = data.info[&amp;#039;image&amp;#039;]&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if options.caption or ( data.info and data.info[&amp;#039;caption&amp;#039;] ) then&lt;br /&gt;
		infobox.args[&amp;#039;image caption&amp;#039;] = frame:preprocess(maybe_md(&lt;br /&gt;
			options.caption or data.info[&amp;#039;caption&amp;#039;]&lt;br /&gt;
		))&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	infobox.args[&amp;#039;type&amp;#039;] = data.type == &amp;#039;module&amp;#039; and &amp;#039;invocable&amp;#039; or &amp;#039;meta&amp;#039;&lt;br /&gt;
&lt;br /&gt;
	if data.info and data.info[&amp;#039;release&amp;#039;] then&lt;br /&gt;
		infobox.args[&amp;#039;status&amp;#039;] = data.info and data.info[&amp;#039;release&amp;#039;]&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if data.summary then&lt;br /&gt;
		local description = data.summary&lt;br /&gt;
		if description:find(&amp;#039;^(&amp;#039; .. codepage .. &amp;#039;)&amp;#039;) then&lt;br /&gt;
			description = description:gsub(&amp;#039;^&amp;#039; .. codepage .. &amp;#039;%s(%w)&amp;#039;, mw.ustring.upper)&lt;br /&gt;
		end&lt;br /&gt;
		infobox.args[&amp;#039;description&amp;#039;] = frame:preprocess(maybe_md(description))&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if data.info and data.info[&amp;#039;author&amp;#039;] then&lt;br /&gt;
		infobox.args[&amp;#039;author&amp;#039;] = frame:preprocess(maybe_md(data.info[&amp;#039;author&amp;#039;]))&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if data.info and data.info[&amp;#039;attribution&amp;#039;] then&lt;br /&gt;
		infobox.args[&amp;#039;using code by&amp;#039;] = frame:preprocess(maybe_md(data.info[&amp;#039;attribution&amp;#039;]))&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if data.info and data.info[&amp;#039;credit&amp;#039;] then&lt;br /&gt;
		infobox.args[&amp;#039;other attribution&amp;#039;] = frame:preprocess(maybe_md(data.info[&amp;#039;credit&amp;#039;]))&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if data.info and data.info[&amp;#039;license&amp;#039;] then&lt;br /&gt;
		infobox.args[&amp;#039;license&amp;#039;] = frame:preprocess(maybe_md(data.info[&amp;#039;license&amp;#039;]))&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if data.info and data.info[&amp;#039;require&amp;#039;] then&lt;br /&gt;
		local req = data.info[&amp;#039;require&amp;#039;]&lt;br /&gt;
			:gsub(&amp;#039;^[^[%s]+$&amp;#039;, &amp;#039;[[%1]]&amp;#039;)&lt;br /&gt;
			:gsub(&amp;#039;%* ([^[%s]+)&amp;#039;, &amp;#039;* [[%1]]&amp;#039;)&lt;br /&gt;
		infobox.args[&amp;#039;dependencies&amp;#039;] = frame:preprocess(maybe_md(req))&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if codepage ~= &amp;#039;I18n&amp;#039; and data.code:find(&amp;#039;[\&amp;#039;&amp;quot;]Module:I18n[\&amp;#039;&amp;quot;]&amp;#039;) then&lt;br /&gt;
		infobox.args[&amp;#039;languages&amp;#039;] = &amp;#039;auto&amp;#039;&lt;br /&gt;
	elseif data.code:find(&amp;#039;mw%.message%.new&amp;#039;) then&lt;br /&gt;
		infobox.args[&amp;#039;languages&amp;#039;] = &amp;#039;mw&amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if data.info and data.info[&amp;#039;demo&amp;#039;] then&lt;br /&gt;
		infobox.args[&amp;#039;examples&amp;#039;] = frame:preprocess(maybe_md(data.info[&amp;#039;demo&amp;#039;]))&lt;br /&gt;
	end&lt;br /&gt;
	return statusHeader .. dependencies .. frame:expandTemplate(infobox)&lt;br /&gt;
end&lt;/div&gt;</summary>
		<author><name>Module:Fallbacklist&gt;Awesome Aasim</name></author>
	</entry>
</feed>