<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="pl">
	<id>https://ekajpopedia.szprink.xyz/w/index.php?action=history&amp;feed=atom&amp;title=Modu%C5%82%3ATmpl</id>
	<title>Moduł:Tmpl - Historia wersji</title>
	<link rel="self" type="application/atom+xml" href="https://ekajpopedia.szprink.xyz/w/index.php?action=history&amp;feed=atom&amp;title=Modu%C5%82%3ATmpl"/>
	<link rel="alternate" type="text/html" href="https://ekajpopedia.szprink.xyz/w/index.php?title=Modu%C5%82:Tmpl&amp;action=history"/>
	<updated>2026-07-10T19:34:20Z</updated>
	<subtitle>Historia wersji tej strony wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://ekajpopedia.szprink.xyz/w/index.php?title=Modu%C5%82:Tmpl&amp;diff=220&amp;oldid=prev</id>
		<title>Szprink: 1 wersja</title>
		<link rel="alternate" type="text/html" href="https://ekajpopedia.szprink.xyz/w/index.php?title=Modu%C5%82:Tmpl&amp;diff=220&amp;oldid=prev"/>
		<updated>2022-08-14T15:29:48Z</updated>

		<summary type="html">&lt;p&gt;1 wersja&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;pl&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← poprzednia wersja&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Wersja z 17:29, 14 sie 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;pl&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(Brak różnic)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key ekajpopedia-mw_:diff:1.41:old-219:rev-220 --&gt;
&lt;/table&gt;</summary>
		<author><name>Szprink</name></author>
	</entry>
	<entry>
		<id>https://ekajpopedia.szprink.xyz/w/index.php?title=Modu%C5%82:Tmpl&amp;diff=219&amp;oldid=prev</id>
		<title>mw&gt;ExE Boss: Prevent exponential expansion by performing all replacements during a single pass; goes from O(2ⁿ) to O(n)</title>
		<link rel="alternate" type="text/html" href="https://ekajpopedia.szprink.xyz/w/index.php?title=Modu%C5%82:Tmpl&amp;diff=219&amp;oldid=prev"/>
		<updated>2021-08-18T13:48:19Z</updated>

		<summary type="html">&lt;p&gt;Prevent exponential expansion by performing all replacements during a single pass; &lt;a href=&quot;/w/index.php?title=W:Big_O_notation&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;W:Big O notation (strona nie istnieje)&quot;&gt;goes from O(2ⁿ) to O(n)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nowa strona&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- This is a helper module for {{tmpl}}&lt;br /&gt;
require(&amp;#039;Module:No globals&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
-- The trailing `[^0-9]?` ensures that `$10` doesn&amp;#039;t potentially change&lt;br /&gt;
-- from being treated as `${1}0` to being treated as `${10}`&lt;br /&gt;
-- if the number of supported parameters is ever expanded:&lt;br /&gt;
local PATTERN = &amp;quot;%$([1-9])[^0-9]?&amp;quot;&lt;br /&gt;
&lt;br /&gt;
local this = {}&lt;br /&gt;
&lt;br /&gt;
function this.renderTmpl(frame)&lt;br /&gt;
	local args = frame.args&lt;br /&gt;
	local pargs = (frame:getParent() or {}).args&lt;br /&gt;
	local input = pargs[0] or &amp;#039;&amp;#039;&lt;br /&gt;
	local result = {}&lt;br /&gt;
&lt;br /&gt;
	local prevPos = 1&lt;br /&gt;
	do&lt;br /&gt;
		local startPos, _, k&lt;br /&gt;
		while true do&lt;br /&gt;
			startPos, _, k = string.find(input, PATTERN, prevPos)&lt;br /&gt;
			if (not startPos) then break end&lt;br /&gt;
			table.insert(result, string.sub(input, prevPos, startPos - 1))&lt;br /&gt;
&lt;br /&gt;
			local n = tonumber(k)&lt;br /&gt;
			local r = pargs[n]&lt;br /&gt;
			if (r) then&lt;br /&gt;
				table.insert(result, r)&lt;br /&gt;
			else&lt;br /&gt;
				table.insert(result, &amp;#039;$&amp;#039; .. n)&lt;br /&gt;
			end&lt;br /&gt;
&lt;br /&gt;
			prevPos = startPos + #k + 1&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	table.insert(result, string.sub(input, prevPos))&lt;br /&gt;
	return table.concat(result)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return this&lt;/div&gt;</summary>
		<author><name>mw&gt;ExE Boss</name></author>
	</entry>
</feed>