<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="pl">
		<id>https://wiki.czarnobyl.pl/index.php?action=history&amp;feed=atom&amp;title=Modu%C5%82%3AParameter_names_example</id>
		<title>Moduł:Parameter names example - Historia wersji</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.czarnobyl.pl/index.php?action=history&amp;feed=atom&amp;title=Modu%C5%82%3AParameter_names_example"/>
		<link rel="alternate" type="text/html" href="https://wiki.czarnobyl.pl/index.php?title=Modu%C5%82:Parameter_names_example&amp;action=history"/>
		<updated>2026-04-30T01:17:39Z</updated>
		<subtitle>Historia wersji tej strony wiki</subtitle>
		<generator>MediaWiki 1.28.3</generator>

	<entry>
		<id>https://wiki.czarnobyl.pl/index.php?title=Modu%C5%82:Parameter_names_example&amp;diff=2561&amp;oldid=prev</id>
		<title>Bagration: 1 wersja</title>
		<link rel="alternate" type="text/html" href="https://wiki.czarnobyl.pl/index.php?title=Modu%C5%82:Parameter_names_example&amp;diff=2561&amp;oldid=prev"/>
				<updated>2018-05-09T13:18:36Z</updated>
		
		<summary type="html">&lt;p&gt;1 wersja&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style='vertical-align: top;' lang='pl'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← poprzednia wersja&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Wersja z 13:18, 9 maj 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;' lang='pl'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(Brak różnic)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Bagration</name></author>	</entry>

	<entry>
		<id>https://wiki.czarnobyl.pl/index.php?title=Modu%C5%82:Parameter_names_example&amp;diff=2560&amp;oldid=prev</id>
		<title>MusikAnimal: Protected &quot;Module:Parameter names example&quot;: High-risk Lua module; 1,000+ transclusions ([Edit=Require autoconfirmed or confirmed access] (indefinite))</title>
		<link rel="alternate" type="text/html" href="https://wiki.czarnobyl.pl/index.php?title=Modu%C5%82:Parameter_names_example&amp;diff=2560&amp;oldid=prev"/>
				<updated>2017-10-10T17:47:29Z</updated>
		
		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/index.php?title=Modu%C5%82:Parameter_names_example&quot; title=&quot;Moduł:Parameter names example&quot;&gt;Module:Parameter names example&lt;/a&gt;&amp;quot;: &lt;a href=&quot;/index.php?title=WP:High-risk_templates&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:High-risk templates (strona nie istnieje)&quot;&gt;High-risk Lua module&lt;/a&gt;; 1,000+ transclusions ([Edit=Require autoconfirmed or confirmed access] (indefinite))&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nowa strona&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- This module implements {{parameter names example}}.&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
local function makeParam(s)&lt;br /&gt;
	local lb = '&amp;amp;#123;'&lt;br /&gt;
	local rb = '&amp;amp;#125;'&lt;br /&gt;
	return lb:rep(3) .. s .. rb:rep(3)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function italicize(s)&lt;br /&gt;
	return &amp;quot;''&amp;quot; .. s .. &amp;quot;''&amp;quot;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function plain(s)&lt;br /&gt;
	return s&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._main(args, frame)&lt;br /&gt;
	-- Find how we want to format the arguments to the template.&lt;br /&gt;
	local formatFunc&lt;br /&gt;
	if args._display == 'italics' or args._display == 'italic' then&lt;br /&gt;
		formatFunc = italicize&lt;br /&gt;
	elseif args._display == 'plain' then&lt;br /&gt;
		formatFunc = plain&lt;br /&gt;
	else&lt;br /&gt;
		formatFunc = makeParam&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Build the table of template arguments.&lt;br /&gt;
	local targs = {}&lt;br /&gt;
	for k, v in pairs(args) do&lt;br /&gt;
		if type(k) == 'number' then&lt;br /&gt;
			targs[v] = formatFunc(v)&lt;br /&gt;
		elseif not k:find('^_') then&lt;br /&gt;
			targs[k] = v&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Find the template name.&lt;br /&gt;
	local template&lt;br /&gt;
	if args._template then&lt;br /&gt;
		template = args._template&lt;br /&gt;
	else&lt;br /&gt;
		local currentTitle = mw.title.getCurrentTitle()&lt;br /&gt;
		if currentTitle.prefixedText:find('/sandbox$') then&lt;br /&gt;
			template = currentTitle.prefixedText&lt;br /&gt;
		else&lt;br /&gt;
			template = currentTitle.basePageTitle.prefixedText&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Call the template with the arguments.&lt;br /&gt;
	frame = frame or mw.getCurrentFrame()&lt;br /&gt;
	local success, result = pcall(&lt;br /&gt;
		frame.expandTemplate,&lt;br /&gt;
		frame,&lt;br /&gt;
		{title = template, args = targs}&lt;br /&gt;
	)&lt;br /&gt;
	if success then&lt;br /&gt;
		return result&lt;br /&gt;
	else&lt;br /&gt;
		return ''&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
	local args = require('Module:Arguments').getArgs(frame, {&lt;br /&gt;
		wrappers = 'Template:Parameter names example'&lt;br /&gt;
	})&lt;br /&gt;
	return p._main(args, frame)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>MusikAnimal</name></author>	</entry>

	</feed>