<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://adaris.wiki/history/Module:Slideshow?feed=atom</id>
	<title>Module:Slideshow - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://adaris.wiki/history/Module:Slideshow?feed=atom"/>
	<link rel="alternate" type="text/html" href="https://adaris.wiki/history/Module:Slideshow"/>
	<updated>2026-06-04T23:07:26Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://adaris.wiki/index.php?title=Module:Slideshow&amp;diff=8617&amp;oldid=prev</id>
		<title>Oros: Created page with &quot;local p = {}  local function trim(s) 	return mw.text.trim(s or &quot;&quot;) end  function p.render(frame) 	local args = frame.args 	local items = args.items or args[1] or &quot;&quot;  	if trim(items) == &quot;&quot; then 		return &quot;&quot; 	end  	local output = {} 	table.insert(output, &#039;&lt;gallery mode=&quot;slideshow&quot;&gt;&#039;)  	for line in mw.text.gsplit(items, &quot;\n&quot;, true) do 		line = trim(line)  		if line ~= &quot;&quot; then 			local filename, caption = line:match(&quot;^(.-)%s*::%s*(.*)$&quot;)  			if filename then 				filename = tr...&quot;</title>
		<link rel="alternate" type="text/html" href="https://adaris.wiki/index.php?title=Module:Slideshow&amp;diff=8617&amp;oldid=prev"/>
		<updated>2026-06-04T03:03:48Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;local p = {}  local function trim(s) 	return mw.text.trim(s or &amp;quot;&amp;quot;) end  function p.render(frame) 	local args = frame.args 	local items = args.items or args[1] or &amp;quot;&amp;quot;  	if trim(items) == &amp;quot;&amp;quot; then 		return &amp;quot;&amp;quot; 	end  	local output = {} 	table.insert(output, &amp;#039;&amp;lt;gallery mode=&amp;quot;slideshow&amp;quot;&amp;gt;&amp;#039;)  	for line in mw.text.gsplit(items, &amp;quot;\n&amp;quot;, true) do 		line = trim(line)  		if line ~= &amp;quot;&amp;quot; then 			local filename, caption = line:match(&amp;quot;^(.-)%s*::%s*(.*)$&amp;quot;)  			if filename then 				filename = tr...&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 function trim(s)&lt;br /&gt;
	return mw.text.trim(s or &amp;quot;&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.render(frame)&lt;br /&gt;
	local args = frame.args&lt;br /&gt;
	local items = args.items or args[1] or &amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
	if trim(items) == &amp;quot;&amp;quot; then&lt;br /&gt;
		return &amp;quot;&amp;quot;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local output = {}&lt;br /&gt;
	table.insert(output, &amp;#039;&amp;lt;gallery mode=&amp;quot;slideshow&amp;quot;&amp;gt;&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
	for line in mw.text.gsplit(items, &amp;quot;\n&amp;quot;, true) do&lt;br /&gt;
		line = trim(line)&lt;br /&gt;
&lt;br /&gt;
		if line ~= &amp;quot;&amp;quot; then&lt;br /&gt;
			local filename, caption = line:match(&amp;quot;^(.-)%s*::%s*(.*)$&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
			if filename then&lt;br /&gt;
				filename = trim(filename)&lt;br /&gt;
				caption = trim(caption)&lt;br /&gt;
&lt;br /&gt;
				if not filename:match(&amp;quot;^File:&amp;quot;) and not filename:match(&amp;quot;^Image:&amp;quot;) then&lt;br /&gt;
					filename = &amp;quot;File:&amp;quot; .. filename&lt;br /&gt;
				end&lt;br /&gt;
&lt;br /&gt;
				table.insert(output, filename .. &amp;quot;|&amp;quot; .. caption)&lt;br /&gt;
			else&lt;br /&gt;
				if not line:match(&amp;quot;^File:&amp;quot;) and not line:match(&amp;quot;^Image:&amp;quot;) then&lt;br /&gt;
					line = &amp;quot;File:&amp;quot; .. line&lt;br /&gt;
				end&lt;br /&gt;
&lt;br /&gt;
				table.insert(output, line)&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	table.insert(output, &amp;quot;&amp;lt;/gallery&amp;gt;&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
	return table.concat(output, &amp;quot;\n&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Oros</name></author>
	</entry>
</feed>