<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://moasspedia.org/w/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://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Module%3APage_tabs"/>
	<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Module:Page_tabs&amp;action=history"/>
	<updated>2026-04-17T13:09:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>https://moasspedia.org/w/index.php?title=Module:Page_tabs&amp;diff=2811&amp;oldid=prev</id>
		<title>Wikipedia&gt;MusikBot II: Changed protection settings for &quot;Module:Page tabs&quot;: High-risk template or module: 2666 transclusions (more info) ([Edit=Require extended confirmed access] (indefinite) [Move=Require extended confirmed access] (indefinite))</title>
		<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Module:Page_tabs&amp;diff=2811&amp;oldid=prev"/>
		<updated>2021-10-26T17:25:30Z</updated>

		<summary type="html">&lt;p&gt;Changed protection settings for &amp;quot;&lt;a href=&quot;/wiki/Module:Page_tabs&quot; title=&quot;Module:Page tabs&quot;&gt;Module:Page tabs&lt;/a&gt;&amp;quot;: &lt;a href=&quot;https://en.wikipedia.org/wiki/High-risk_templates&quot; class=&quot;extiw&quot; title=&quot;wikipedia:High-risk templates&quot;&gt;High-risk template or module&lt;/a&gt;: 2666 transclusions (&lt;a href=&quot;/w/index.php?title=User:MusikBot_II/TemplateProtector&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User:MusikBot II/TemplateProtector (page does not exist)&quot;&gt;more info&lt;/a&gt;) ([Edit=Require extended confirmed access] (indefinite) [Move=Require extended confirmed access] (indefinite))&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 row = root:tag(&amp;#039;div&amp;#039;)&lt;br /&gt;
		:css(&amp;#039;background&amp;#039;, args.Background or &amp;#039;#f8fcff&amp;#039;)&lt;br /&gt;
		:addClass(&amp;#039;template-page-tabs&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;
		makeTab(row, link, args, i)&lt;br /&gt;
	end&lt;br /&gt;
		&lt;br /&gt;
	return tostring(root)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.makeTab(root, link, args, i)&lt;br /&gt;
	local thisPage = (args.This == &amp;#039;auto&amp;#039; and link:find(&amp;#039;[[&amp;#039; .. mw.title.getCurrentTitle().prefixedText .. &amp;#039;|&amp;#039;, 1, true)) or tonumber(args.This) == i&lt;br /&gt;
	root:tag(&amp;#039;span&amp;#039;)&lt;br /&gt;
		:css(&amp;#039;background-color&amp;#039;, thisPage and (args[&amp;#039;tab-bg&amp;#039;] or &amp;#039;white&amp;#039;) or (args[&amp;#039;tab1-bg&amp;#039;] or &amp;#039;#cee0f2&amp;#039;))&lt;br /&gt;
		:cssText(thisPage and &amp;#039;border-bottom:0;font-weight:bold&amp;#039; or &amp;#039;font-size:95%&amp;#039;)&lt;br /&gt;
		:wikitext(link)&lt;br /&gt;
		:done()&lt;br /&gt;
		:wikitext(&amp;#039;&amp;lt;span class=&amp;quot;spacer&amp;quot;&amp;gt;&amp;amp;#32;&amp;lt;/span&amp;gt;&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;MusikBot II</name></author>
	</entry>
</feed>