<?xml version="1.0"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>Modul:Transcludable section - Oʻzgarishlar tarixi</title>
		<link>https://ziyosfera.uz/index.php?title=Modul:Transcludable_section&amp;action=history</link>
		<description>Ziyosferadagi mazkur sahifaning oʻzgarishlar tarixi</description>
		<language>uz</language>
		<generator>MediaWiki 1.45.1</generator>
		<lastBuildDate>Thu, 19 Nov 2026 18:07:24 GMT</lastBuildDate>
		<item>
			<title>Programmer: Oʻzbekcha Vikipediyadan import qilindi.</title>
			<link>https://ziyosfera.uz/index.php?title=Modul:Transcludable_section&amp;diff=110693&amp;oldid=prev</link>
			<guid isPermaLink="false">https://ziyosfera.uz/index.php?title=Modul:Transcludable_section&amp;diff=110693&amp;oldid=prev</guid>
			<description>&lt;p&gt;Oʻzbekcha Vikipediyadan import qilindi.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Yangi sahifa&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- Module to create selectively transcluded sections using syntax which is&lt;br /&gt;
-- compatible with [[Module:Sports table]] and [[Module:Sports results]]&lt;br /&gt;
&lt;br /&gt;
require(&amp;#039;strict&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
-- Main function&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
	-- Declare locals&lt;br /&gt;
	local tsection = frame:getParent().args[&amp;#039;transcludesection&amp;#039;] or frame:getParent().args[&amp;#039;section&amp;#039;] or &amp;#039;&amp;#039;&lt;br /&gt;
	local bsection = frame.args[&amp;#039;section&amp;#039;] or frame.args[&amp;#039;1&amp;#039;] or &amp;#039;&amp;#039;&lt;br /&gt;
	local editlink = frame.args[&amp;#039;edit&amp;#039;] or &amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
	-- Exit early if we are using section transclusion for a different section&lt;br /&gt;
	if( tsection ~= &amp;#039;&amp;#039; and bsection ~= &amp;#039;&amp;#039; ) then&lt;br /&gt;
		if( tsection ~= bsection ) then&lt;br /&gt;
			return &amp;#039;&amp;#039;&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local text = frame.args[&amp;#039;text&amp;#039;] or &amp;#039;&amp;#039;&lt;br /&gt;
	&lt;br /&gt;
	-- Rewrite anchor links&lt;br /&gt;
	local baselink = frame:getParent():getTitle()&lt;br /&gt;
	text = mw.ustring.gsub(text, &amp;#039;(%[%[)(#[^%[%]]*%|)&amp;#039;, &amp;#039;%1&amp;#039; .. baselink .. &amp;#039;%2&amp;#039;)&lt;br /&gt;
	&lt;br /&gt;
	-- Get VTE button text (but only for non-empty text)&lt;br /&gt;
	local VTE_text = &amp;#039;&amp;#039;&lt;br /&gt;
	if (text ~= &amp;#039;&amp;#039; and editlink ~= &amp;#039;&amp;#039;) then&lt;br /&gt;
		VTE_text = frame:expandTemplate{ title = &amp;#039;navbar&amp;#039;, args = { mini=1, style=&amp;#039;float:right&amp;#039;, brackets=1, &amp;#039;:&amp;#039; .. baselink} }&lt;br /&gt;
	end&lt;br /&gt;
	return VTE_text .. text&lt;br /&gt;
end&lt;br /&gt;
 &lt;br /&gt;
return p&lt;/div&gt;</description>
			<pubDate>Thu, 06 Aug 2026 12:12:36 GMT</pubDate>
			<dc:creator>Programmer</dc:creator>
			<comments>https://ziyosfera.uz/ziyo/Modul_munozarasi:Transcludable_section</comments>
		</item>
</channel></rss>