<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mywikibiz.com/index.php?action=history&amp;feed=atom&amp;title=Module%3ATranscludable_section</id>
	<title>Module:Transcludable section - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mywikibiz.com/index.php?action=history&amp;feed=atom&amp;title=Module%3ATranscludable_section"/>
	<link rel="alternate" type="text/html" href="https://mywikibiz.com/index.php?title=Module:Transcludable_section&amp;action=history"/>
	<updated>2026-06-13T21:10:30Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.3</generator>
	<entry>
		<id>https://mywikibiz.com/index.php?title=Module:Transcludable_section&amp;diff=479800&amp;oldid=prev</id>
		<title>Zoran: Pywikibot 6.4.0</title>
		<link rel="alternate" type="text/html" href="https://mywikibiz.com/index.php?title=Module:Transcludable_section&amp;diff=479800&amp;oldid=prev"/>
		<updated>2021-07-16T07:40:53Z</updated>

		<summary type="html">&lt;p&gt;Pywikibot 6.4.0&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&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('Module:No globals')&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['transcludesection'] or ''&lt;br /&gt;
	local bsection = frame.args['section'] or frame.args['1'] or ''&lt;br /&gt;
	local editlink = frame.args['edit'] or ''&lt;br /&gt;
&lt;br /&gt;
	-- Exit early if we are using section transclusion for a different section&lt;br /&gt;
	if( tsection ~= '' and bsection ~= '' ) then&lt;br /&gt;
		if( tsection ~= bsection ) then&lt;br /&gt;
			return ''&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local text = frame.args['text'] or ''&lt;br /&gt;
	&lt;br /&gt;
	-- Get VTE button text (but only for non-empty text)&lt;br /&gt;
	local VTE_text = ''&lt;br /&gt;
	if (text ~= '' and editlink ~= '') then&lt;br /&gt;
		VTE_text = frame:expandTemplate{ title = 'navbar', args = { mini=1, style='float:right', brackets=1, editlink} }&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;</summary>
		<author><name>Zoran</name></author>
	</entry>
</feed>