<?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%2FNihiltres%2FTesting</id>
	<title>Module:Sandbox/Nihiltres/Testing - 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%2FNihiltres%2FTesting"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/Nihiltres/Testing&amp;action=history"/>
	<updated>2026-04-21T09:05:33Z</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/Nihiltres/Testing&amp;diff=145919&amp;oldid=prev</id>
		<title>imported&gt;Nihiltres: Changed default test class to &quot;unassessed&quot;</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/Nihiltres/Testing&amp;diff=145919&amp;oldid=prev"/>
		<updated>2016-12-15T23:34:25Z</updated>

		<summary type="html">&lt;p&gt;Changed default test class to &amp;quot;unassessed&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;p = {}&lt;br /&gt;
&lt;br /&gt;
function p.main (frame)&lt;br /&gt;
	local foo = &amp;#039;Result of tested Lua snippet would be here.&amp;#039;&lt;br /&gt;
	&lt;br /&gt;
	local bar = mw.loadData(&amp;#039;Module:Class/importDefinitions&amp;#039;)&lt;br /&gt;
	local foo = mw.html.create(&amp;quot;td&amp;quot;)&lt;br /&gt;
	local dtc = &amp;quot;unassessed&amp;quot; --default test class&lt;br /&gt;
	local class = bar[frame.args[1] or dtc] or bar[dtc]&lt;br /&gt;
	local styleBasics = &amp;quot;text-align: center; font-weight: bold; &amp;quot;&lt;br /&gt;
	foo:attr(&lt;br /&gt;
		&amp;quot;style&amp;quot;,&lt;br /&gt;
		styleBasics .. string.format(&amp;quot;background-color: %s;&amp;quot;, class.colour)&lt;br /&gt;
	)&lt;br /&gt;
	local img = class.icon.default and string.format(&lt;br /&gt;
			&amp;quot;[[File:%s|16px|%s|link=|alt=]] &amp;quot;,&lt;br /&gt;
			class.icon.file,&lt;br /&gt;
			class.labels.full&lt;br /&gt;
		) or &amp;quot;&amp;quot;&lt;br /&gt;
	local link = string.format(&lt;br /&gt;
		&amp;quot;[[:%s|%s]]&amp;quot;,&lt;br /&gt;
		class.category,&lt;br /&gt;
		class.labels.short&lt;br /&gt;
	)&lt;br /&gt;
	foo:wikitext(img, link)&lt;br /&gt;
	return foo&lt;br /&gt;
	--return mw.dumpObject(foo)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>imported&gt;Nihiltres</name></author>
	</entry>
</feed>