<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3APOTD_transcluder</id>
	<title>Module:POTD transcluder - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3APOTD_transcluder"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:POTD_transcluder&amp;action=history"/>
	<updated>2026-06-13T09:10:44Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://stockhub.co/index.php?title=Module:POTD_transcluder&amp;diff=144220&amp;oldid=prev</id>
		<title>imported&gt;Anomie: Err, how did I ever forget that?</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:POTD_transcluder&amp;diff=144220&amp;oldid=prev"/>
		<updated>2019-10-10T12:08:58Z</updated>

		<summary type="html">&lt;p&gt;Err, how did I ever forget that?&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;
function p.transclude( frame )&lt;br /&gt;
	local page = frame.args[1] or error( &amp;#039;No page was specified&amp;#039; )&lt;br /&gt;
	local wikitext = mw.title.new( page ):getContent()&lt;br /&gt;
	if wikitext == nil then&lt;br /&gt;
		return &amp;#039;[[:&amp;#039; .. page .. &amp;#039;]] does not exist&amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local n = string.match( wikitext, &amp;#039;^{{POTD/%d%d%d%d%-%d%d%-%d%d/{{#invoke:random|number|(%d+)}}|{{{1|{{{style|default}}}}}}}}&amp;#039; )&lt;br /&gt;
	if n == nil then&lt;br /&gt;
		n = string.match( wikitext, &amp;#039;^{{POTD protected/%d%d%d%d%-%d%d%-%d%d/{{#invoke:random|number|(%d+)}}|{{{1|{{{style|default}}}}}}}}&amp;#039; )&lt;br /&gt;
	end&lt;br /&gt;
	if n == nil then&lt;br /&gt;
		return frame:expandTemplate{ title = page, args = { &amp;#039;row&amp;#039; } }&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local t = {}&lt;br /&gt;
	for i = 1, tonumber( n ) do&lt;br /&gt;
		t[i] = frame:expandTemplate{ title = page .. &amp;#039;/&amp;#039; .. i, args = { &amp;#039;row&amp;#039; } }&lt;br /&gt;
	end&lt;br /&gt;
	return table.concat( t, &amp;quot;\n&amp;quot; )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>imported&gt;Anomie</name></author>
	</entry>
</feed>