<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.tachyony.co.uk/w/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://wiki.tachyony.co.uk/w/index.php?action=history&amp;feed=atom&amp;title=Module%3APOTD_transcluder"/>
	<link rel="alternate" type="text/html" href="https://wiki.tachyony.co.uk/w/index.php?title=Module:POTD_transcluder&amp;action=history"/>
	<updated>2026-05-15T11:31:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.5</generator>
	<entry>
		<id>https://wiki.tachyony.co.uk/w/index.php?title=Module:POTD_transcluder&amp;diff=10636&amp;oldid=prev</id>
		<title>Tachyony: Created page with &quot;local p = {}  function p.transclude( frame ) 	local page = frame.args[1] or error( &#039;No page was specified&#039; ) 	local wikitext = mw.title.new( page ):getContent() 	if wikitext == nil then 		return &#039;:&#039; .. page .. &#039; does not exist&#039; 	end 	 	local n = string.match( wikitext, &#039;^{{POTD/%d%d%d%d%-%d%d%-%d%d/{{#invoke:random|number|(%d+)}}|{{{1|{{{style|default}}}}}}}}&#039; ) 	if n == nil then 		n = string.match( wikitext, &#039;^{{POTD protected/%d%d%d%d%-%d%d%-%d%d/{{#invoke:random|n...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.tachyony.co.uk/w/index.php?title=Module:POTD_transcluder&amp;diff=10636&amp;oldid=prev"/>
		<updated>2022-02-01T10:45:39Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;local p = {}  function p.transclude( frame ) 	local page = frame.args[1] or error( &amp;#039;No page was specified&amp;#039; ) 	local wikitext = mw.title.new( page ):getContent() 	if wikitext == nil then 		return &amp;#039;&lt;a href=&quot;/w/index.php?title=%27_.._page_.._%27&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;&amp;#039; .. page .. &amp;#039; (page does not exist)&quot;&gt;&amp;#039; .. page .. &amp;#039;&lt;/a&gt; does not exist&amp;#039; 	end 	 	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; ) 	if n == nil then 		n = string.match( wikitext, &amp;#039;^{{POTD protected/%d%d%d%d%-%d%d%-%d%d/{{#invoke:random|n...&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;
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>Tachyony</name></author>
	</entry>
</feed>