<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://kryptowiki.eu/index.php?action=history&amp;feed=atom&amp;title=Modul%3ADemoTemplate</id>
	<title>Modul:DemoTemplate - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://kryptowiki.eu/index.php?action=history&amp;feed=atom&amp;title=Modul%3ADemoTemplate"/>
	<link rel="alternate" type="text/html" href="https://kryptowiki.eu/index.php?title=Modul:DemoTemplate&amp;action=history"/>
	<updated>2026-08-27T05:22:53Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Kryptowiki - Die freie Enzyklopädie der Kryptowährungen</subtitle>
	<generator>MediaWiki 1.39.15</generator>
	<entry>
		<id>https://kryptowiki.eu/index.php?title=Modul:DemoTemplate&amp;diff=1330&amp;oldid=prev</id>
		<title>C1ph4: 1 Version importiert</title>
		<link rel="alternate" type="text/html" href="https://kryptowiki.eu/index.php?title=Modul:DemoTemplate&amp;diff=1330&amp;oldid=prev"/>
		<updated>2017-09-30T16:05:31Z</updated>

		<summary type="html">&lt;p&gt;1 Version importiert&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;require('Module:No globals')&lt;br /&gt;
&lt;br /&gt;
local newBuffer = require('Module:OutputBuffer')&lt;br /&gt;
local mt = {}&lt;br /&gt;
&lt;br /&gt;
function mt.__index(t, title)&lt;br /&gt;
	return function(frame)&lt;br /&gt;
		local getBuffer, print, printf = newBuffer()&lt;br /&gt;
		printf('{{%s', title)&lt;br /&gt;
		local ipairsArgs = {}&lt;br /&gt;
		for k,v in ipairs(frame.args) do&lt;br /&gt;
			if string.find(v, '=', 1, true) then&lt;br /&gt;
				break&lt;br /&gt;
			end&lt;br /&gt;
			ipairsArgs[k] = true&lt;br /&gt;
			printf('|%s', v)&lt;br /&gt;
		end&lt;br /&gt;
		for k,v in pairs(frame.args) do&lt;br /&gt;
			if not ipairsArgs[k] then&lt;br /&gt;
				printf('|%s=%s', string.gsub(k, '=', '{{=}}'), v)&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		print('}}')&lt;br /&gt;
		local buffer = getBuffer()&lt;br /&gt;
		-- rather than calling expandTemplate with the title and args we have, call preprocess, so that our code example will always match our output, even in the cases of pipes or other things we should have escaped but didn't&lt;br /&gt;
		return string.format('&amp;lt;code&amp;gt;%s&amp;lt;/code&amp;gt; &amp;amp;rarr; %s', mw.text.nowiki(buffer), frame:preprocess(buffer))&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return setmetatable({}, mt)&lt;/div&gt;</summary>
		<author><name>C1ph4</name></author>
	</entry>
</feed>