<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="rue">
	<id>https://wiki.kocky.cc/w/index.php?action=history&amp;feed=atom&amp;title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C%3ATabber</id>
	<title>Модуль:Tabber - Історія едітовань</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.kocky.cc/w/index.php?action=history&amp;feed=atom&amp;title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C%3ATabber"/>
	<link rel="alternate" type="text/html" href="https://wiki.kocky.cc/w/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:Tabber&amp;action=history"/>
	<updated>2026-04-04T10:09:51Z</updated>
	<subtitle>Історія едітовань той сторінкы на вікі</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>https://wiki.kocky.cc/w/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:Tabber&amp;diff=129&amp;oldid=prev</id>
		<title>Бетярь: 1 ревізія: Module:Tabber from StarCitizenTools</title>
		<link rel="alternate" type="text/html" href="https://wiki.kocky.cc/w/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:Tabber&amp;diff=129&amp;oldid=prev"/>
		<updated>2023-10-18T01:02:36Z</updated>

		<summary type="html">&lt;p&gt;1 ревізія: Module:Tabber from StarCitizenTools&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;rue&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Старша верзія&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Ревізія 03:02, 18 октовбра 2023&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key wiki:diff::1.12:old-128:rev-129 --&gt;
&lt;/table&gt;</summary>
		<author><name>Бетярь</name></author>
	</entry>
	<entry>
		<id>https://wiki.kocky.cc/w/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:Tabber&amp;diff=128&amp;oldid=prev</id>
		<title>starcitizen&gt;Alistair3149: fix table empty check</title>
		<link rel="alternate" type="text/html" href="https://wiki.kocky.cc/w/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:Tabber&amp;diff=128&amp;oldid=prev"/>
		<updated>2023-06-01T22:20:20Z</updated>

		<summary type="html">&lt;p&gt;fix table empty check&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Нова сторінка&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
&lt;br /&gt;
--- Helper function to get Tabber length&lt;br /&gt;
--- @param table&lt;br /&gt;
--- @return int&lt;br /&gt;
local function getTabberLength( t )&lt;br /&gt;
	local length = 0&lt;br /&gt;
    for k, _ in next, t do&lt;br /&gt;
    	if string.find( k, &amp;#039;label&amp;#039; ) == 1 then&lt;br /&gt;
        	length = length + 1&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
    return length&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--- Render Tabber&lt;br /&gt;
--- @param table data { label{n}, content{n} }&lt;br /&gt;
--- @return string wikitext of Tabber&lt;br /&gt;
function p.renderTabber( data )&lt;br /&gt;
	local tabberContent = {}&lt;br /&gt;
&lt;br /&gt;
	for i = 1, getTabberLength( data ) do&lt;br /&gt;
		local label = data[ &amp;#039;label&amp;#039; .. i ]&lt;br /&gt;
		local content = data[ &amp;#039;content&amp;#039; .. i ]&lt;br /&gt;
&lt;br /&gt;
		if label ~= nil and label ~= &amp;#039;&amp;#039; and content ~= nil and content ~= &amp;#039;&amp;#039; then&lt;br /&gt;
			table.insert( tabberContent, table.concat( { &amp;#039;|-|&amp;#039;, label, &amp;#039;=&amp;#039;, content } ) )&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if next( tabberContent ) == nil then&lt;br /&gt;
		return &amp;#039;&amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return mw.getCurrentFrame():extensionTag{&lt;br /&gt;
        name = &amp;#039;tabber&amp;#039;, content = table.concat( tabberContent )&lt;br /&gt;
    }&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>starcitizen&gt;Alistair3149</name></author>
	</entry>
</feed>