
<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://zoophilia.wiki/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://zoophilia.wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3APage_tabs"/>
	<link rel="alternate" type="text/html" href="https://zoophilia.wiki/index.php?title=Module:Page_tabs&amp;action=history"/>
	<updated>2026-05-07T11:39:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://zoophilia.wiki/index.php?title=Module:Page_tabs&amp;diff=130449&amp;oldid=prev</id>
		<title>Quantumhusky: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://zoophilia.wiki/index.php?title=Module:Page_tabs&amp;diff=130449&amp;oldid=prev"/>
		<updated>2021-06-11T03:13: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;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 03:13, 11 June 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&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;/table&gt;</summary>
		<author><name>Quantumhusky</name></author>
	</entry>
	<entry>
		<id>https://zoophilia.wiki/index.php?title=Module:Page_tabs&amp;diff=130448&amp;oldid=prev</id>
		<title>en&gt;GKFX: Allow background to be set on tabs</title>
		<link rel="alternate" type="text/html" href="https://zoophilia.wiki/index.php?title=Module:Page_tabs&amp;diff=130448&amp;oldid=prev"/>
		<updated>2021-04-25T18:50:50Z</updated>

		<summary type="html">&lt;p&gt;Allow background to be set on tabs&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, tonumber(args.This) == 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, thisPage)&lt;br /&gt;
	local args = mw.getCurrentFrame():getParent().args&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>en&gt;GKFX</name></author>
	</entry>
</feed>