<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>http://ru.ru-skazki.ru/index.php?action=history&amp;feed=atom&amp;title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C%3AParamValue2Value</id>
	<title>Модуль:ParamValue2Value - История изменений</title>
	<link rel="self" type="application/atom+xml" href="http://ru.ru-skazki.ru/index.php?action=history&amp;feed=atom&amp;title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C%3AParamValue2Value"/>
	<link rel="alternate" type="text/html" href="http://ru.ru-skazki.ru/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:ParamValue2Value&amp;action=history"/>
	<updated>2026-04-10T03:47:00Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>http://ru.ru-skazki.ru/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:ParamValue2Value&amp;diff=5437&amp;oldid=prev</id>
		<title>Импортёр: 1 версия импортирована</title>
		<link rel="alternate" type="text/html" href="http://ru.ru-skazki.ru/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:ParamValue2Value&amp;diff=5437&amp;oldid=prev"/>
		<updated>2024-05-01T10:26:49Z</updated>

		<summary type="html">&lt;p&gt;1 версия импортирована&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;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Предыдущая версия&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Версия от 13:26, 1 мая 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Импортёр</name></author>
	</entry>
	<entry>
		<id>http://ru.ru-skazki.ru/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:ParamValue2Value&amp;diff=5436&amp;oldid=prev</id>
		<title>ru&gt;Andras: Новая страница: «local p = {}  --[=[ Helper function that escapes all pattern characters so that they will be treated as plain text. Copied from :en:Module:String. ]=] local function escapePattern(pattern_str) 	return mw.ustring.gsub(pattern_str, &#039;([%(%)%.%%%+%-%*%?%[%^%$%]])&#039;, &#039;%%%1&#039;) end  -- вызов шаблона, при ошибке возвращает пустую строку local function expand(frame, tname, targs) 	local success, result = pcall( 		frame.exp...»</title>
		<link rel="alternate" type="text/html" href="http://ru.ru-skazki.ru/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:ParamValue2Value&amp;diff=5436&amp;oldid=prev"/>
		<updated>2023-06-17T15:54:58Z</updated>

		<summary type="html">&lt;p&gt;Новая страница: «local p = {}  --[=[ Helper function that escapes all pattern characters so that they will be treated as plain text. Copied from &lt;a href=&quot;https://en.ru-skazki.ru/Module:String&quot; class=&quot;extiw&quot; title=&quot;en:Module:String&quot;&gt;en:Module:String&lt;/a&gt;. ]=] local function escapePattern(pattern_str) 	return mw.ustring.gsub(pattern_str, &amp;#039;([%(%)%.%%%+%-%*%?%[%^%$%]])&amp;#039;, &amp;#039;%%%1&amp;#039;) end  -- вызов шаблона, при ошибке возвращает пустую строку local function expand(frame, tname, targs) 	local success, result = pcall( 		frame.exp...»&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;
--[=[&lt;br /&gt;
Helper function that escapes all pattern characters so that they will be treated&lt;br /&gt;
as plain text. Copied from [[:en:Module:String]].&lt;br /&gt;
]=]&lt;br /&gt;
local function escapePattern(pattern_str)&lt;br /&gt;
	return mw.ustring.gsub(pattern_str, &amp;#039;([%(%)%.%%%+%-%*%?%[%^%$%]])&amp;#039;, &amp;#039;%%%1&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- вызов шаблона, при ошибке возвращает пустую строку&lt;br /&gt;
local function expand(frame, tname, targs)&lt;br /&gt;
	local success, result = pcall(&lt;br /&gt;
		frame.expandTemplate,&lt;br /&gt;
		frame,&lt;br /&gt;
		{title = tname, args = targs}&lt;br /&gt;
	)&lt;br /&gt;
	if success then&lt;br /&gt;
		return result&lt;br /&gt;
	else&lt;br /&gt;
		return &amp;#039;&amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function is_exception(arg, exceptions)&lt;br /&gt;
	return mw.ustring.find(exceptions, &amp;#039;/&amp;#039; .. escapePattern(arg) .. &amp;#039;/&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
	if not getArgs then&lt;br /&gt;
		getArgs = require(&amp;#039;Module:Arguments&amp;#039;).getArgs&lt;br /&gt;
	end&lt;br /&gt;
	local args = getArgs(frame, {&lt;br /&gt;
		trim = false,&lt;br /&gt;
		removeBlanks = false&lt;br /&gt;
	})&lt;br /&gt;
	local tname = args._pass_to&lt;br /&gt;
	local exceptions = args._exceptions and &amp;#039;/&amp;#039; .. args._exceptions .. &amp;#039;/&amp;#039; or &amp;#039;&amp;#039;&lt;br /&gt;
	local targs, i = {}, 1&lt;br /&gt;
	for k, v in pairs(args) do&lt;br /&gt;
		if type(k) == &amp;#039;number&amp;#039; then --неименованные параметры&lt;br /&gt;
			targs[i] = v&lt;br /&gt;
			i = i+1&lt;br /&gt;
		elseif not k:find(&amp;#039;^_&amp;#039;) and not is_exception(k, exceptions) then --именованные параметры, исключая настройки вызывающего шаблона&lt;br /&gt;
			targs[i] = k .. &amp;quot;=&amp;quot; .. v&lt;br /&gt;
			i = i+1&lt;br /&gt;
		elseif k ~= &amp;#039;_pass_to&amp;#039; and k ~= &amp;#039;_exceptions&amp;#039; then --настройки вызывающего шаблона&lt;br /&gt;
			targs[k] = v&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return tostring(expand(frame, tname, targs))&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>ru&gt;Andras</name></author>
	</entry>
</feed>