<?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%2FSubi</id>
	<title>Module:Sandbox/Subi - 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%2FSubi"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/Subi&amp;action=history"/>
	<updated>2026-05-26T19:22:21Z</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/Subi&amp;diff=146234&amp;oldid=prev</id>
		<title>imported&gt;Subiloble at 03:19, 7 January 2018</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/Subi&amp;diff=146234&amp;oldid=prev"/>
		<updated>2018-01-07T03:19:06Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {} -- p stands for package&lt;br /&gt;
&lt;br /&gt;
p.reign0 = function( frame )&lt;br /&gt;
	local one = frame.args.start or &amp;quot;?&amp;quot;&lt;br /&gt;
	local two = frame.args.ending or &amp;quot;&amp;quot;&lt;br /&gt;
	local three = frame.args.sec_start&lt;br /&gt;
	local four = frame.args.sec_ending&lt;br /&gt;
	local pred = frame.args.pre_date&lt;br /&gt;
	local postd = frame.args.post_date&lt;br /&gt;
	local midd = frame.args.mid_date&lt;br /&gt;
	local era = frame.args.era &lt;br /&gt;
	local single = frame.args.single &lt;br /&gt;
	local label = frame.args.label &lt;br /&gt;
	local show = frame.args.show &lt;br /&gt;
	local cap = frame.args.cap &lt;br /&gt;
	local re = &amp;quot;&amp;lt;abbr title=&amp;#039;reign&amp;#039;&amp;gt;r.&amp;lt;/abbr&amp;gt;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
	if one == &amp;quot;&amp;quot; and not single then one = &amp;quot;?&amp;quot; end&lt;br /&gt;
	if show == &amp;quot;none&amp;quot; then &lt;br /&gt;
		re = &amp;quot;r.&amp;quot;&lt;br /&gt;
		end&lt;br /&gt;
	if show == &amp;quot;link&amp;quot; then&lt;br /&gt;
		re = &amp;quot;[[Reign|r.]]&amp;quot;&lt;br /&gt;
		end&lt;br /&gt;
	if show == &amp;quot;word&amp;quot; then&lt;br /&gt;
		re = &amp;quot;reigned&amp;quot;&lt;br /&gt;
		end&lt;br /&gt;
	if show == &amp;quot;colon&amp;quot; then&lt;br /&gt;
		re = &amp;quot;reign:&amp;quot;&lt;br /&gt;
		end&lt;br /&gt;
	if show == &amp;quot;lword&amp;quot; then&lt;br /&gt;
		re = &amp;quot;[[Reign|reigned]]&amp;quot;&lt;br /&gt;
		end&lt;br /&gt;
	if show == &amp;quot;lcolon&amp;quot; then&lt;br /&gt;
		re = &amp;quot;[[Reign|reign:]]&amp;quot;&lt;br /&gt;
		end&lt;br /&gt;
	if show == &amp;quot;blank&amp;quot; then&lt;br /&gt;
		re = &amp;quot;&amp;quot;&lt;br /&gt;
		end&lt;br /&gt;
	if cap == &amp;quot;y&amp;quot; then&lt;br /&gt;
		if show == &amp;quot;none&amp;quot; then&lt;br /&gt;
			re = &amp;quot;R.&amp;quot;&lt;br /&gt;
			end&lt;br /&gt;
		if show == &amp;quot;link&amp;quot; then&lt;br /&gt;
			re = &amp;quot;[[Reign|R.]]&amp;quot;&lt;br /&gt;
			end&lt;br /&gt;
		if show  == &amp;quot;word&amp;quot; then&lt;br /&gt;
			re = &amp;quot;Reigned&amp;quot;&lt;br /&gt;
			end&lt;br /&gt;
		if show == &amp;quot;colon&amp;quot; then&lt;br /&gt;
			re = &amp;quot;Reign:&amp;quot;&lt;br /&gt;
			end&lt;br /&gt;
		if show == &amp;quot;lword&amp;quot; then&lt;br /&gt;
			re = &amp;quot;[[Reign|Reigned]]&amp;quot;&lt;br /&gt;
			end&lt;br /&gt;
		if show == &amp;quot;lcolon&amp;quot; then&lt;br /&gt;
			re = &amp;quot;[[Reign|Reign:]]&amp;quot;&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	if single then &lt;br /&gt;
		msg = single&lt;br /&gt;
		end&lt;br /&gt;
	if not single then &lt;br /&gt;
		 msg = one .. &amp;quot;-&amp;quot; .. two&lt;br /&gt;
		end&lt;br /&gt;
	if string.match(one, &amp;#039; &amp;#039;) ~= nil or string.match(two, &amp;#039; &amp;#039;) ~= nil then&lt;br /&gt;
		msg = one.. &amp;quot; - &amp;quot; .. two&lt;br /&gt;
		end&lt;br /&gt;
		&lt;br /&gt;
	if three and four and midd and string.match(three, &amp;#039; &amp;#039;) == nil and string.match(four, &amp;#039; &amp;#039;) == nil then&lt;br /&gt;
		msg = msg.. &amp;quot;, &amp;quot; ..midd.. &amp;quot;, &amp;quot; ..three.. &amp;quot;-&amp;quot; ..four&lt;br /&gt;
		end&lt;br /&gt;
	if three and four and midd and (string.match(three, &amp;#039; &amp;#039;) ~= nil or string.match(four, &amp;#039; &amp;#039;) ~= nil) then&lt;br /&gt;
		msg = msg.. &amp;quot;, &amp;quot; ..midd.. &amp;quot;, &amp;quot; ..three.. &amp;quot; - &amp;quot; .. four&lt;br /&gt;
		end&lt;br /&gt;
	if three and four and not midd and string.match(three, &amp;#039; &amp;#039;) == nil and string.match(four, &amp;#039; &amp;#039;) == nil  then&lt;br /&gt;
		msg = msg.. &amp;quot; and &amp;quot; ..three.. &amp;quot;-&amp;quot; ..four&lt;br /&gt;
		end&lt;br /&gt;
	if three and four and not midd and (string.match(three, &amp;#039; &amp;#039;) ~= nil or string.match(four, &amp;#039; &amp;#039;) ~= nil) then&lt;br /&gt;
		msg = msg.. &amp;quot; and &amp;quot; ..three.. &amp;quot; - &amp;quot;.. four&lt;br /&gt;
		end&lt;br /&gt;
		&lt;br /&gt;
	if pred then&lt;br /&gt;
		msg = pred.. &amp;quot;, &amp;quot; ..msg&lt;br /&gt;
		end&lt;br /&gt;
	if postd then&lt;br /&gt;
		msg = msg.. &amp;quot;, &amp;quot; ..postd&lt;br /&gt;
		end&lt;br /&gt;
	if postd and pred and (one == &amp;quot;?&amp;quot; or one == &amp;quot;&amp;quot;) and two == &amp;quot;&amp;quot; then&lt;br /&gt;
		msg = pred.. &amp;quot;, &amp;quot; ..postd&lt;br /&gt;
		end&lt;br /&gt;
		&lt;br /&gt;
	if era then&lt;br /&gt;
		msg = msg.. &amp;quot; &amp;quot; ..era&lt;br /&gt;
		end&lt;br /&gt;
		&lt;br /&gt;
	if not label then&lt;br /&gt;
		msg = re.. &amp;quot; &amp;quot; ..msg&lt;br /&gt;
		else&lt;br /&gt;
			msg = label .. &amp;quot;: &amp;quot; .. msg&lt;br /&gt;
		end&lt;br /&gt;
		&lt;br /&gt;
	return msg&lt;br /&gt;
	end	&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>imported&gt;Subiloble</name></author>
	</entry>
</feed>