<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://jotunnheim.org/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AClade%2Fsequential</id>
	<title>Module:Clade/sequential - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://jotunnheim.org/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AClade%2Fsequential"/>
	<link rel="alternate" type="text/html" href="https://jotunnheim.org/w/index.php?title=Module:Clade/sequential&amp;action=history"/>
	<updated>2026-09-22T19:56:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://jotunnheim.org/w/index.php?title=Module:Clade/sequential&amp;diff=9988&amp;oldid=prev</id>
		<title>Rowanino: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://jotunnheim.org/w/index.php?title=Module:Clade/sequential&amp;diff=9988&amp;oldid=prev"/>
		<updated>2026-09-22T17:28:11Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:28, 22 September 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key jth_wiki:diff:1.41:old-9987:rev-9988 --&gt;
&lt;/table&gt;</summary>
		<author><name>Rowanino</name></author>
	</entry>
	<entry>
		<id>https://jotunnheim.org/w/index.php?title=Module:Clade/sequential&amp;diff=9987&amp;oldid=prev</id>
		<title>Telupedia&gt;Ahecht: Add blank function for direct invocation</title>
		<link rel="alternate" type="text/html" href="https://jotunnheim.org/w/index.php?title=Module:Clade/sequential&amp;diff=9987&amp;oldid=prev"/>
		<updated>2026-07-17T18:38:34Z</updated>

		<summary type="html">&lt;p&gt;Add blank function for direct invocation&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;
local pargs &lt;br /&gt;
local clade = require(&amp;quot;Module:Clade&amp;quot;).main&lt;br /&gt;
&lt;br /&gt;
local function getMax()&lt;br /&gt;
	local i=1&lt;br /&gt;
	local max&lt;br /&gt;
    while i&amp;lt;50 do&lt;br /&gt;
       	if  pargs [i] then &lt;br /&gt;
       		max = i &lt;br /&gt;
       		i=i+1&lt;br /&gt;
		else&lt;br /&gt;
       	    break&lt;br /&gt;
    	end&lt;br /&gt;
    end&lt;br /&gt;
    return max&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.clade(frame,i,max)  -- |1= is basal at top&lt;br /&gt;
	local args = {}&lt;br /&gt;
	&lt;br /&gt;
	args[1] = pargs [i]&lt;br /&gt;
	args[&amp;#039;label1&amp;#039;] = pargs [&amp;#039;label&amp;#039;..tostring(i)] &lt;br /&gt;
	args[&amp;#039;sublabel1&amp;#039;] = pargs [&amp;#039;sublabel&amp;#039;..tostring(i)] &lt;br /&gt;
&lt;br /&gt;
	if i+1 == max then &lt;br /&gt;
		args[2] = pargs [i+1]&lt;br /&gt;
		args[&amp;#039;label2&amp;#039;] = pargs [&amp;#039;label&amp;#039;..tostring(i+1)]	&lt;br /&gt;
		args[&amp;#039;sublabel2&amp;#039;] = pargs [&amp;#039;sublabel&amp;#039;..tostring(i+1)]	&lt;br /&gt;
	else&lt;br /&gt;
		args[2] = p.clade(frame,i+1,max)       -- or the result of the next pair&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
    if i == 1 then args.style = frame.args.style or pargs.style or &amp;quot;&amp;quot; end&lt;br /&gt;
    if pargs [&amp;#039;reverse&amp;#039;] then args.reverse = &amp;#039;true&amp;#039; end&lt;br /&gt;
&lt;br /&gt;
	return clade(frame:newChild{title=&amp;quot;Module:Clade/sequential&amp;quot;, args = args})&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.inverseClade(frame,i,max) -- |1= innermost at bottom&lt;br /&gt;
	local args = {}&lt;br /&gt;
	&lt;br /&gt;
	args[2] = pargs [i]&lt;br /&gt;
	args[&amp;#039;label2&amp;#039;] = pargs [&amp;#039;label&amp;#039;..tostring(i)] &lt;br /&gt;
	args[&amp;#039;sublabel2&amp;#039;] = pargs [&amp;#039;sublabel&amp;#039;..tostring(i)] &lt;br /&gt;
	if i-1 == 1 then &lt;br /&gt;
		args[1] = pargs [i-1]&lt;br /&gt;
		args[&amp;#039;label1&amp;#039;] = pargs [&amp;#039;label&amp;#039;..tostring(i-1)]	&lt;br /&gt;
		args[&amp;#039;sublabel1&amp;#039;] = pargs [&amp;#039;sublabel&amp;#039;..tostring(i-1)]	&lt;br /&gt;
	else&lt;br /&gt;
		args[1] = p.inverseClade(frame,i-1,max)       -- or the result of the next pair&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if i == max then args.style = frame.args.style or pargs.style or &amp;quot;&amp;quot; end&lt;br /&gt;
    if pargs [&amp;#039;reverse&amp;#039;] then args.reverse = &amp;#039;true&amp;#039; end&lt;br /&gt;
&lt;br /&gt;
	return clade(frame:newChild{title=&amp;quot;Module:Clade/sequential&amp;quot;, args = args})&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.inverseClade2(frame,i,max)  -- |1= is innermost at bottom&lt;br /&gt;
	local args = {}&lt;br /&gt;
	&lt;br /&gt;
	args[1] = pargs [i]&lt;br /&gt;
	args[&amp;#039;label1&amp;#039;] = pargs [&amp;#039;label&amp;#039;..tostring(i)] &lt;br /&gt;
	if i-1 == 1 then &lt;br /&gt;
		args[2] = pargs [i-1]&lt;br /&gt;
		args[&amp;#039;label2&amp;#039;] = pargs [&amp;#039;label&amp;#039;..tostring(i-1)]	&lt;br /&gt;
	else&lt;br /&gt;
		args[2] = p.inverseClade(frame,i-1,max)       -- or the result of the next pair&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if i == max then args.style = frame.args.style or pargs.style or &amp;quot;&amp;quot; end&lt;br /&gt;
&lt;br /&gt;
	return clade(frame:newChild{title=&amp;quot;Module:Clade/sequential&amp;quot;, args = args})&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._main(frame)&lt;br /&gt;
	local contentString&lt;br /&gt;
    local max = getMax()&lt;br /&gt;
&lt;br /&gt;
    if pargs[&amp;#039;inverse&amp;#039;] then&lt;br /&gt;
        contentString  = p.inverseClade(frame,max,max)&lt;br /&gt;
    else&lt;br /&gt;
    	contentString  = p.clade(frame,1,max)&lt;br /&gt;
    end&lt;br /&gt;
    &lt;br /&gt;
	return contentString &lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
&lt;br /&gt;
    pargs = frame:getParent().args&lt;br /&gt;
	&lt;br /&gt;
	return p._main(frame)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
p[&amp;quot;&amp;quot;] = function (frame)&lt;br /&gt;
&lt;br /&gt;
    pargs = frame.args&lt;br /&gt;
	&lt;br /&gt;
	return p._main(frame:newChild{title=&amp;quot;Template:Clade sequential&amp;quot;, args={}})&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Telupedia&gt;Ahecht</name></author>
	</entry>
</feed>