<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://cherry-pi.tailb1a250.ts.net/index.php?action=history&amp;feed=atom&amp;title=Module%3ADetails</id>
	<title>Module:Details - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://cherry-pi.tailb1a250.ts.net/index.php?action=history&amp;feed=atom&amp;title=Module%3ADetails"/>
	<link rel="alternate" type="text/html" href="https://cherry-pi.tailb1a250.ts.net/index.php?title=Module:Details&amp;action=history"/>
	<updated>2026-11-11T04:46:20Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://cherry-pi.tailb1a250.ts.net/index.php?title=Module:Details&amp;diff=359&amp;oldid=prev</id>
		<title>Gravy: Created page with &quot;local p = {}  local checkType = require( &#039;libraryUtil&#039; ).checkType  --- @class DetailsData --- @field summary DetailsSummaryData The summary of the details. --- @field details DetailsDetailsData The details of the details.  --- @class DetailsSummaryData --- @field content string The content of the summary. --- @field class string|nil An additional HTML class for the summary. Optional.  --- @class DetailsDetailsData --- @field content string The content of the details. --...&quot;</title>
		<link rel="alternate" type="text/html" href="https://cherry-pi.tailb1a250.ts.net/index.php?title=Module:Details&amp;diff=359&amp;oldid=prev"/>
		<updated>2026-06-14T02:18:37Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;local p = {}  local checkType = require( &amp;#039;libraryUtil&amp;#039; ).checkType  --- @class DetailsData --- @field summary DetailsSummaryData The summary of the details. --- @field details DetailsDetailsData The details of the details.  --- @class DetailsSummaryData --- @field content string The content of the summary. --- @field class string|nil An additional HTML class for the summary. Optional.  --- @class DetailsDetailsData --- @field content string The content of the details. --...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
&lt;br /&gt;
local checkType = require( &amp;#039;libraryUtil&amp;#039; ).checkType&lt;br /&gt;
&lt;br /&gt;
--- @class DetailsData&lt;br /&gt;
--- @field summary DetailsSummaryData The summary of the details.&lt;br /&gt;
--- @field details DetailsDetailsData The details of the details.&lt;br /&gt;
&lt;br /&gt;
--- @class DetailsSummaryData&lt;br /&gt;
--- @field content string The content of the summary.&lt;br /&gt;
--- @field class string|nil An additional HTML class for the summary. Optional.&lt;br /&gt;
&lt;br /&gt;
--- @class DetailsDetailsData&lt;br /&gt;
--- @field content string The content of the details.&lt;br /&gt;
--- @field class string|nil An additional HTML class for the details. Optional.&lt;br /&gt;
--- @field open boolean|nil Whether the details are open by default. Defaults to true.&lt;br /&gt;
&lt;br /&gt;
--- Get the wikitext for the details element&lt;br /&gt;
---&lt;br /&gt;
--- @param data DetailsData&lt;br /&gt;
--- @param frame mw.frame|nil The frame object to use. Defaults to the current frame.&lt;br /&gt;
--- @return string&lt;br /&gt;
function p.getWikitext( data, frame )&lt;br /&gt;
	frame = frame or mw.getCurrentFrame()&lt;br /&gt;
&lt;br /&gt;
	checkType( &amp;#039;Module:Details.getWikitext&amp;#039;, 1, data, &amp;#039;table&amp;#039; )&lt;br /&gt;
	checkType( &amp;#039;Module:Details.getWikitext&amp;#039;, 2, frame, &amp;#039;table&amp;#039; )&lt;br /&gt;
&lt;br /&gt;
	local summary = frame:extensionTag {&lt;br /&gt;
		name = &amp;#039;summary&amp;#039;,&lt;br /&gt;
		content = data.summary.content,&lt;br /&gt;
		args = {&lt;br /&gt;
			class = data.summary.class&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
	local details = frame:extensionTag {&lt;br /&gt;
		name = &amp;#039;details&amp;#039;,&lt;br /&gt;
		content = summary .. data.details.content,&lt;br /&gt;
		args = {&lt;br /&gt;
			class = data.details.class,&lt;br /&gt;
			-- Boolean does not work with Extension:Details, has to be &amp;#039;yes&amp;#039; or &amp;#039;no&amp;#039;&lt;br /&gt;
			open = data.details.open ~= false and &amp;#039;yes&amp;#039; or &amp;#039;no&amp;#039;&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
	return details&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Gravy</name></author>
	</entry>
</feed>