<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://projectmailer.net/index.php?action=history&amp;feed=atom&amp;title=Module%3APage_tabs</id>
	<title>Module:Page tabs - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://projectmailer.net/index.php?action=history&amp;feed=atom&amp;title=Module%3APage_tabs"/>
	<link rel="alternate" type="text/html" href="https://projectmailer.net/index.php?title=Module:Page_tabs&amp;action=history"/>
	<updated>2026-04-30T17:46:44Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>https://projectmailer.net/index.php?title=Module:Page_tabs&amp;diff=5387&amp;oldid=prev</id>
		<title>Grlucas: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://projectmailer.net/index.php?title=Module:Page_tabs&amp;diff=5387&amp;oldid=prev"/>
		<updated>2019-03-17T18:29:28Z</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 14:29, 17 March 2019&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 projectmailer-mw5w_:diff:1.41:old-5386:rev-5387 --&gt;
&lt;/table&gt;</summary>
		<author><name>Grlucas</name></author>
	</entry>
	<entry>
		<id>https://projectmailer.net/index.php?title=Module:Page_tabs&amp;diff=5386&amp;oldid=prev</id>
		<title>en&gt;Jackmcbarn: fix script error</title>
		<link rel="alternate" type="text/html" href="https://projectmailer.net/index.php?title=Module:Page_tabs&amp;diff=5386&amp;oldid=prev"/>
		<updated>2014-12-05T01:57:07Z</updated>

		<summary type="html">&lt;p&gt;fix script error&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- This module implements {{Page tabs}}.&lt;br /&gt;
&lt;br /&gt;
local getArgs = require(&amp;#039;Module:Arguments&amp;#039;).getArgs&lt;br /&gt;
local yesno = require(&amp;#039;Module:Yesno&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
	local args = getArgs(frame)&lt;br /&gt;
	return p._main(args)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._main(args)&lt;br /&gt;
	local makeTab = p.makeTab&lt;br /&gt;
	local root = mw.html.create()&lt;br /&gt;
	root:wikitext(yesno(args.NOTOC) and &amp;#039;__NOTOC__&amp;#039; or nil)&lt;br /&gt;
	local troot = root:tag(&amp;#039;table&amp;#039;)&lt;br /&gt;
	troot&lt;br /&gt;
		:css(&amp;#039;background&amp;#039;, args.Background or &amp;#039;#f8fcff&amp;#039;)&lt;br /&gt;
		:css(&amp;#039;text-align&amp;#039;, &amp;#039;center&amp;#039;)&lt;br /&gt;
		:css(&amp;#039;width&amp;#039;, &amp;#039;100%&amp;#039;)&lt;br /&gt;
		:css(&amp;#039;border&amp;#039;, &amp;#039;0&amp;#039;)&lt;br /&gt;
		:css(&amp;#039;border-spacing&amp;#039;, &amp;#039;0&amp;#039;)&lt;br /&gt;
		:css(&amp;#039;border-collapse&amp;#039;, &amp;#039;collapse&amp;#039;)&lt;br /&gt;
		:css(&amp;#039;vertical-align&amp;#039;, &amp;#039;top&amp;#039;)&lt;br /&gt;
	local trow = troot:tag(&amp;#039;tr&amp;#039;)&lt;br /&gt;
	if not args[1] then&lt;br /&gt;
		args[1] = &amp;#039;{{{1}}}&amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
	for i, link in ipairs(args) do&lt;br /&gt;
		local thisPage&lt;br /&gt;
		if tonumber(args.This) == i then&lt;br /&gt;
			thisPage = true&lt;br /&gt;
		end&lt;br /&gt;
		trow:wikitext(makeTab(link, thisPage))&lt;br /&gt;
	end&lt;br /&gt;
	trow:tag(&amp;#039;td&amp;#039;)&lt;br /&gt;
		:css(&amp;#039;border-bottom&amp;#039;, &amp;#039;2px solid #a3b1bf&amp;#039;)&lt;br /&gt;
		:css(&amp;#039;width&amp;#039;, &amp;#039;3000px&amp;#039;)&lt;br /&gt;
		:wikitext(&amp;#039;&amp;amp;nbsp;&amp;#039;)&lt;br /&gt;
		&lt;br /&gt;
	return tostring(root)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.makeTab(link, thisPage)&lt;br /&gt;
	local tcell = mw.html.create()&lt;br /&gt;
	tcell:tag(&amp;#039;td&amp;#039;)&lt;br /&gt;
		:css(&amp;#039;padding&amp;#039;, &amp;#039;0.5em&amp;#039;)&lt;br /&gt;
		:css(&amp;#039;background-color&amp;#039;, thisPage and &amp;#039;white&amp;#039; or &amp;#039;#cee0f2&amp;#039;)&lt;br /&gt;
		:cssText(not thisPage and &amp;#039;font-size:90%&amp;#039; or nil)&lt;br /&gt;
		:css(&amp;#039;line-height&amp;#039;, &amp;#039;0.95em&amp;#039;)&lt;br /&gt;
		:css(&amp;#039;border&amp;#039;, &amp;#039;solid 2px #a3b1bf&amp;#039;)&lt;br /&gt;
		:cssText(thisPage and &amp;#039;border-bottom:0&amp;#039;)&lt;br /&gt;
		:cssText(thisPage and &amp;#039;font-weight:bold&amp;#039;)&lt;br /&gt;
		:css(&amp;#039;white-space&amp;#039;, &amp;#039;nowrap&amp;#039;)&lt;br /&gt;
		:css(&amp;#039;width&amp;#039;, &amp;#039;20px&amp;#039;)&lt;br /&gt;
		:wikitext(link)&lt;br /&gt;
		:done()&lt;br /&gt;
	:tag(&amp;#039;td&amp;#039;)&lt;br /&gt;
		:css(&amp;#039;border-bottom&amp;#039;, &amp;#039;2px solid #a3b1bf&amp;#039;)&lt;br /&gt;
		:css(&amp;#039;width&amp;#039;, &amp;#039;3px&amp;#039;)&lt;br /&gt;
		:css(&amp;#039;padding&amp;#039;, &amp;#039;0&amp;#039;)&lt;br /&gt;
		:wikitext(&amp;#039;&amp;amp;nbsp;&amp;#039;)&lt;br /&gt;
	return tostring(tcell)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>en&gt;Jackmcbarn</name></author>
	</entry>
</feed>