<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>https://wiki.lemoncraft.su/index.php?action=history&amp;feed=atom&amp;title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C%3A%D0%9F%D1%80%D0%B5%D0%BE%D0%B1%D1%80%D0%B0%D0%B7%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5_%D0%BE%D1%81%D0%BD%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D1%8F</id>
	<title>Модуль:Преобразование основания - История изменений</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.lemoncraft.su/index.php?action=history&amp;feed=atom&amp;title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C%3A%D0%9F%D1%80%D0%B5%D0%BE%D0%B1%D1%80%D0%B0%D0%B7%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5_%D0%BE%D1%81%D0%BD%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D1%8F"/>
	<link rel="alternate" type="text/html" href="https://wiki.lemoncraft.su/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:%D0%9F%D1%80%D0%B5%D0%BE%D0%B1%D1%80%D0%B0%D0%B7%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5_%D0%BE%D1%81%D0%BD%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D1%8F&amp;action=history"/>
	<updated>2026-05-15T07:00:27Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.lemoncraft.su/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:%D0%9F%D1%80%D0%B5%D0%BE%D0%B1%D1%80%D0%B0%D0%B7%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5_%D0%BE%D1%81%D0%BD%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D1%8F&amp;diff=298&amp;oldid=prev</id>
		<title>Spark108: 1 версия импортирована</title>
		<link rel="alternate" type="text/html" href="https://wiki.lemoncraft.su/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:%D0%9F%D1%80%D0%B5%D0%BE%D0%B1%D1%80%D0%B0%D0%B7%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5_%D0%BE%D1%81%D0%BD%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D1%8F&amp;diff=298&amp;oldid=prev"/>
		<updated>2025-03-26T10:42:07Z</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;Версия от 10:42, 26 марта 2025&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>Spark108</name></author>
	</entry>
	<entry>
		<id>https://wiki.lemoncraft.su/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:%D0%9F%D1%80%D0%B5%D0%BE%D0%B1%D1%80%D0%B0%D0%B7%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5_%D0%BE%D1%81%D0%BD%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D1%8F&amp;diff=53&amp;oldid=prev</id>
		<title>Spark108: Новая страница: «local p = {} function p.fromDec( f ) 	local args = f.args or f 	local base = tonumber( args[2] ) or 16 	local dec = tonumber( args[1] ) or 0 	 	if base == 10 or dec == 0 then 		return dec 	elseif base == 16 then 		return string.format( &#039;%X&#039;, dec ) 	else 		local chars = &#039;0123456789ABCDEF&#039; 		local pos 		local out = &#039;&#039; 		while dec &gt; 0 do 			pos = math.mod( dec, base ) + 1 			dec = math.floor( dec / base ) 			out = string.sub( chars, pos, pos ) .. out 		end 		re...»</title>
		<link rel="alternate" type="text/html" href="https://wiki.lemoncraft.su/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:%D0%9F%D1%80%D0%B5%D0%BE%D0%B1%D1%80%D0%B0%D0%B7%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5_%D0%BE%D1%81%D0%BD%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D1%8F&amp;diff=53&amp;oldid=prev"/>
		<updated>2025-03-20T21:35:08Z</updated>

		<summary type="html">&lt;p&gt;Новая страница: «local p = {} function p.fromDec( f ) 	local args = f.args or f 	local base = tonumber( args[2] ) or 16 	local dec = tonumber( args[1] ) or 0 	 	if base == 10 or dec == 0 then 		return dec 	elseif base == 16 then 		return string.format( &amp;#039;%X&amp;#039;, dec ) 	else 		local chars = &amp;#039;0123456789ABCDEF&amp;#039; 		local pos 		local out = &amp;#039;&amp;#039; 		while dec &amp;gt; 0 do 			pos = math.mod( dec, base ) + 1 			dec = math.floor( dec / base ) 			out = string.sub( chars, pos, pos ) .. out 		end 		re...»&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;Версия от 21:35, 20 марта 2025&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>Spark108</name></author>
	</entry>
	<entry>
		<id>https://wiki.lemoncraft.su/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:%D0%9F%D1%80%D0%B5%D0%BE%D0%B1%D1%80%D0%B0%D0%B7%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5_%D0%BE%D1%81%D0%BD%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D1%8F&amp;diff=297&amp;oldid=prev</id>
		<title>minecraftwiki&gt;BabylonAS: BabylonAS переименовал страницу Модуль:Основа конвертации в Модуль:Преобразование основания без оставления перенаправления: исправление перевода</title>
		<link rel="alternate" type="text/html" href="https://wiki.lemoncraft.su/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:%D0%9F%D1%80%D0%B5%D0%BE%D0%B1%D1%80%D0%B0%D0%B7%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5_%D0%BE%D1%81%D0%BD%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D1%8F&amp;diff=297&amp;oldid=prev"/>
		<updated>2024-10-19T17:50:36Z</updated>

		<summary type="html">&lt;p&gt;BabylonAS переименовал страницу &lt;a href=&quot;/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:%D0%9E%D1%81%D0%BD%D0%BE%D0%B2%D0%B0_%D0%BA%D0%BE%D0%BD%D0%B2%D0%B5%D1%80%D1%82%D0%B0%D1%86%D0%B8%D0%B8&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Модуль:Основа конвертации (страница не существует)&quot;&gt;Модуль:Основа конвертации&lt;/a&gt; в &lt;a href=&quot;/w/%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:%D0%9F%D1%80%D0%B5%D0%BE%D0%B1%D1%80%D0%B0%D0%B7%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5_%D0%BE%D1%81%D0%BD%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D1%8F&quot; title=&quot;Модуль:Преобразование основания&quot;&gt;Модуль:Преобразование основания&lt;/a&gt; без оставления перенаправления: исправление перевода&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
function p.fromDec( f )&lt;br /&gt;
	local args = f.args or f&lt;br /&gt;
	local base = tonumber( args[2] ) or 16&lt;br /&gt;
	local dec = tonumber( args[1] ) or 0&lt;br /&gt;
	&lt;br /&gt;
	if base == 10 or dec == 0 then&lt;br /&gt;
		return dec&lt;br /&gt;
	elseif base == 16 then&lt;br /&gt;
		return string.format( &amp;#039;%X&amp;#039;, dec )&lt;br /&gt;
	else&lt;br /&gt;
		local chars = &amp;#039;0123456789ABCDEF&amp;#039;&lt;br /&gt;
		local pos&lt;br /&gt;
		local out = &amp;#039;&amp;#039;&lt;br /&gt;
		while dec &amp;gt; 0 do&lt;br /&gt;
			pos = math.mod( dec, base ) + 1&lt;br /&gt;
			dec = math.floor( dec / base )&lt;br /&gt;
			out = string.sub( chars, pos, pos ) .. out&lt;br /&gt;
		end&lt;br /&gt;
		return out&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.fromBase( f )&lt;br /&gt;
	local args = f.args or f&lt;br /&gt;
	local fromBase = tonumber( args[3] ) or 10&lt;br /&gt;
	local toBase = tonumber( args[2] ) or 16&lt;br /&gt;
	local dec = tonumber( args[1], fromBase ) or 0&lt;br /&gt;
	return p.fromDec{ dec, toBase }&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.fromHex( f )&lt;br /&gt;
	return p.fromBase{ f.args[1], f.args[2], 16 }&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.fromBin( f )&lt;br /&gt;
	return p.fromBase{ f.args[1], f.args[2], 2 }&lt;br /&gt;
end&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>minecraftwiki&gt;BabylonAS</name></author>
	</entry>
</feed>