<?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%2FCAPTAIN_MEDUSA</id>
	<title>Module:Sandbox/CAPTAIN MEDUSA - 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%2FCAPTAIN_MEDUSA"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/CAPTAIN_MEDUSA&amp;action=history"/>
	<updated>2026-04-17T18:46:38Z</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/CAPTAIN_MEDUSA&amp;diff=145236&amp;oldid=prev</id>
		<title>imported&gt;CAPTAIN MEDUSA: fix name</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/CAPTAIN_MEDUSA&amp;diff=145236&amp;oldid=prev"/>
		<updated>2020-11-23T18:55:29Z</updated>

		<summary type="html">&lt;p&gt;fix name&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local getArgs = require(&amp;#039;Module:Arguments&amp;#039;).getArgs&lt;br /&gt;
local TableTools = require(&amp;#039;Module:TableTools&amp;#039;)&lt;br /&gt;
local messages = mw.loadData(&amp;#039;Module:Succession table monarch/messages&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
p.fromArgs = function(argElements)&lt;br /&gt;
	local mainTag = mw.html.create(&amp;#039;table&amp;#039;)&lt;br /&gt;
		:attr(&amp;#039;cellspacing&amp;#039;, &amp;#039;0&amp;#039;)&lt;br /&gt;
		:css(&amp;#039;text-align&amp;#039;, &amp;#039;center&amp;#039;)&lt;br /&gt;
		:tag(&amp;#039;tr&amp;#039;)&lt;br /&gt;
			:tag(&amp;#039;th&amp;#039;):cssText(&amp;#039;width: 25%; border: solid #aaa; border-width: 1px 1px 1px 1px; background: #B9D1FF; font-size: 105%;&amp;#039;):wikitext(messages.name or &amp;#039;Name&amp;#039;):done()&lt;br /&gt;
			:tag(&amp;#039;th&amp;#039;):cssText(&amp;#039;width: 10%; border: solid #aaa; border-width: 1px 1px 1px 0px; background: #B9D1FF; font-size: 105%;&amp;#039;):wikitext(messages.lifespan or &amp;#039;Lifespan&amp;#039;):done()&lt;br /&gt;
			:tag(&amp;#039;th&amp;#039;):cssText(&amp;#039;width: 10%; border: solid #aaa; border-width: 1px 1px 1px 0px; background: #B9D1FF; font-size: 105%;&amp;#039;):wikitext(messages.reignStart or &amp;#039;Reign start&amp;#039;):done()&lt;br /&gt;
			:tag(&amp;#039;th&amp;#039;):cssText(&amp;#039;width: 10%; border: solid #aaa; border-width: 1px 1px 1px 0px; background: #B9D1FF; font-size: 105%;&amp;#039;):wikitext(messages.reignEnd or &amp;#039;Reign end&amp;#039;):done()&lt;br /&gt;
			:tag(&amp;#039;th&amp;#039;):cssText(&amp;#039;width: 25%; border: solid #aaa; border-width: 1px 1px 1px 0px; background: #B9D1FF; font-size: 105%;&amp;#039;):wikitext(messages.notes or &amp;#039;Notes&amp;#039;):done()&lt;br /&gt;
			:tag(&amp;#039;th&amp;#039;):cssText(&amp;#039;width: 10%; border: solid #aaa; border-width: 1px 1px 1px 0px; background: #B9D1FF; font-size: 105%;&amp;#039;):wikitext(messages.family or &amp;#039;Family&amp;#039;):done()&lt;br /&gt;
			:tag(&amp;#039;th&amp;#039;):cssText(&amp;#039;width: 10%; border: solid #aaa; border-width: 1px 1px 1px 0px; background: #B9D1FF; font-size: 105%;&amp;#039;):wikitext(messages.image or &amp;#039;Image&amp;#039;):done()&lt;br /&gt;
			:tag(&amp;#039;th&amp;#039;):cssText(&amp;#039;width: 5%; border: solid #aaa; border-width: 1px 1px 1px 0px; background: #B9D1FF; font-size: 105%;&amp;#039;):wikitext(messages.ref or &amp;#039;Ref(s)&amp;#039;):done()&lt;br /&gt;
			:done()&lt;br /&gt;
	&lt;br /&gt;
	for _,eachElement in ipairs(argElements) do&lt;br /&gt;
		if eachElement.name then&lt;br /&gt;
			local namePlainList = &amp;#039;&amp;#039;&lt;br /&gt;
			if eachElement.nickname or eachElement.native then&lt;br /&gt;
				namePlainList = mw.getCurrentFrame():expandTemplate{&lt;br /&gt;
					title = messages.plainlistTemplateName or &amp;#039;Plainlist&amp;#039;,&lt;br /&gt;
					args = {&amp;#039;\n&amp;#039; .. &lt;br /&gt;
						table.concat(TableTools.compressSparseArray({&lt;br /&gt;
							eachElement.nickname and (&amp;#039;* &amp;#039; .. tostring(mw.html.create(&amp;#039;small&amp;#039;):wikitext(&amp;quot;&amp;lt;i&amp;gt;&amp;quot; .. eachElement.nickname .. &amp;quot;&amp;lt;/i&amp;gt;&amp;quot;))) or nil,&lt;br /&gt;
							eachElement.native and (&amp;#039;* &amp;#039; .. eachElement.native) or nil&lt;br /&gt;
					}), &amp;#039;\n&amp;#039;)}&lt;br /&gt;
				}&lt;br /&gt;
			end&lt;br /&gt;
			local rowTr = mainTag:tag(&amp;#039;tr&amp;#039;)&lt;br /&gt;
			&lt;br /&gt;
			rowTr:tag(&amp;#039;td&amp;#039;)&lt;br /&gt;
					:cssText(&amp;#039;border: solid #aaa; border-width: 0px 1px 1px 1px; background: #F0F8FF; vertical-align: middle;&amp;#039;)&lt;br /&gt;
					:wikitext(eachElement.name .. namePlainList)&lt;br /&gt;
					:done()&lt;br /&gt;
				:tag(&amp;#039;td&amp;#039;)&lt;br /&gt;
					:cssText(&amp;#039;border: solid #aaa; border-width: 0px 1px 1px 0px; background: white;&amp;#039;)&lt;br /&gt;
					:wikitext(eachElement.life)&lt;br /&gt;
				:tag(&amp;#039;td&amp;#039;)&lt;br /&gt;
					:cssText(&amp;#039;border: solid #aaa; border-width: 0px 1px 1px 0px; background: white;&amp;#039;)&lt;br /&gt;
					:wikitext(eachElement.reignstart)&lt;br /&gt;
				:tag(&amp;#039;td&amp;#039;)&lt;br /&gt;
					:cssText(&amp;#039;border: solid #aaa; border-width: 0px 1px 1px 0px; background: white;&amp;#039;)&lt;br /&gt;
					:wikitext(eachElement.reignend)&lt;br /&gt;
				:tag(&amp;#039;td&amp;#039;)&lt;br /&gt;
					:cssText(&amp;#039;border: solid #aaa; border-width: 0px 1px 1px 0px; background: white;&amp;#039;)&lt;br /&gt;
					:wikitext(eachElement.notes)&lt;br /&gt;
				:tag(&amp;#039;td&amp;#039;)&lt;br /&gt;
					:cssText(&amp;#039;border: solid #aaa; border-width: 0px 1px 1px 0px; background: white;&amp;#039;)&lt;br /&gt;
					:wikitext(eachElement.family)&lt;br /&gt;
			&lt;br /&gt;
			local imageTd = rowTr&lt;br /&gt;
				:tag(&amp;#039;td&amp;#039;)&lt;br /&gt;
					:cssText(&amp;#039;border: solid #aaa; border-width: 0px 1px 1px 0px; background: white;&amp;#039;)&lt;br /&gt;
			if eachElement.image then&lt;br /&gt;
				imageTd:tag(&amp;#039;span&amp;#039;)&lt;br /&gt;
					:addClass(&amp;#039;photo&amp;#039;)&lt;br /&gt;
					:wikitext(&amp;#039;[[File:&amp;#039; .. eachElement.image .. &amp;#039;|80px|alt=&amp;#039; .. (eachElement.alt or &amp;#039;&amp;#039;) .. &amp;#039;]]&amp;#039;)&lt;br /&gt;
				:tag(&amp;#039;td&amp;#039;)&lt;br /&gt;
					:cssText(&amp;#039;border: solid #aaa; border-width: 0px 1px 1px 0px; background: white;&amp;#039;)&lt;br /&gt;
					:wikitext(eachElement.ref)&lt;br /&gt;
&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return tostring(mainTag)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
p.fromArray = function(args)&lt;br /&gt;
	local argElements = TableTools.numData(args, true)&lt;br /&gt;
	return p.fromArgs(argElements)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
p.fromFrame = function(frame)&lt;br /&gt;
	local args = getArgs(frame)&lt;br /&gt;
	return p.fromArray(args)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>imported&gt;CAPTAIN MEDUSA</name></author>
	</entry>
</feed>