<?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%3ASandbox%2FRichardW57m%2Fexpand</id>
	<title>Module:Sandbox/RichardW57m/expand - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3ASandbox%2FRichardW57m%2Fexpand"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/RichardW57m/expand&amp;action=history"/>
	<updated>2026-07-29T08:39:42Z</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:Sandbox/RichardW57m/expand&amp;diff=146123&amp;oldid=prev</id>
		<title>imported&gt;RichardW57m: Partly working.</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/RichardW57m/expand&amp;diff=146123&amp;oldid=prev"/>
		<updated>2018-08-09T14:16:46Z</updated>

		<summary type="html">&lt;p&gt;Partly working.&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;
function p.expand(page)&lt;br /&gt;
	ctxt=mw.getCurrentFrame()&lt;br /&gt;
    local newargs = {}&lt;br /&gt;
    for t, v in pairs(ctxt.args) do newargs[t] = v end&lt;br /&gt;
    newargs.p2=&amp;quot;Fake parameter&amp;quot;&lt;br /&gt;
    newargs.valign=&amp;quot;super&amp;quot;&lt;br /&gt;
    local ctxt2 = ctxt:newChild{args=newargs}&lt;br /&gt;
    local text1 = ctxt2:preprocess(&amp;quot;p1={{{p1}}} p2={{{p2}}}&amp;quot;)&lt;br /&gt;
    local text2 = ctxt2:preprocess(&amp;quot;xx{{huge|up}}xx&amp;quot;) -- Fails to take effect!&lt;br /&gt;
    local text3 = ctxt2:expandTemplate{title=&amp;#039;huge&amp;#039;, args={&amp;#039;works&amp;#039;, valign=&amp;#039;super&amp;#039;}}&lt;br /&gt;
	return text1..&amp;#039;\n\n&amp;#039;..text2..&amp;#039;\n\nxx&amp;#039;..text3..&amp;#039;xx&amp;#039;&lt;br /&gt;
end&lt;br /&gt;
	&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>imported&gt;RichardW57m</name></author>
	</entry>
</feed>