<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="uk">
	<id>https://wiki.dnd.in.ua/index.php?action=history&amp;feed=atom&amp;title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C%3AIndex</id>
	<title>Модуль:Index - Історія редагувань</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.dnd.in.ua/index.php?action=history&amp;feed=atom&amp;title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C%3AIndex"/>
	<link rel="alternate" type="text/html" href="https://wiki.dnd.in.ua/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:Index&amp;action=history"/>
	<updated>2026-05-03T13:39:11Z</updated>
	<subtitle>Історія редагувань цієї сторінки в вікі</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://wiki.dnd.in.ua/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:Index&amp;diff=1509&amp;oldid=prev</id>
		<title>587: Створена сторінка: local Index = {} --- imported libraries -- Parses invocation and template parameters, trims whitespace, and removes blanks. local getArgs = require('Dev:Arguments').getArgs -- Output build string and helper variables local header = '' local content = '' local output = '' -- Separator used between items in the in-line list local sep = '&amp;nbsp;&amp;bull; '  -- functions for opening and closing indent blocks local function IndentBlockOpen (str) 	return '&lt;div class...</title>
		<link rel="alternate" type="text/html" href="https://wiki.dnd.in.ua/index.php?title=%D0%9C%D0%BE%D0%B4%D1%83%D0%BB%D1%8C:Index&amp;diff=1509&amp;oldid=prev"/>
		<updated>2023-08-26T09:39:19Z</updated>

		<summary type="html">&lt;p&gt;Створена сторінка: local Index = {} --- imported libraries -- Parses invocation and template parameters, trims whitespace, and removes blanks. local getArgs = require(&amp;#039;Dev:Arguments&amp;#039;).getArgs -- Output build string and helper variables local header = &amp;#039;&amp;#039; local content = &amp;#039;&amp;#039; local output = &amp;#039;&amp;#039; -- Separator used between items in the in-line list local sep = &amp;#039; • &amp;#039;  -- functions for opening and closing indent blocks local function IndentBlockOpen (str) 	return &amp;#039;&amp;lt;div class...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Нова сторінка&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local Index = {}&lt;br /&gt;
--- imported libraries&lt;br /&gt;
-- Parses invocation and template parameters, trims whitespace, and removes blanks.&lt;br /&gt;
local getArgs = require('Dev:Arguments').getArgs&lt;br /&gt;
-- Output build string and helper variables&lt;br /&gt;
local header = ''&lt;br /&gt;
local content = ''&lt;br /&gt;
local output = ''&lt;br /&gt;
-- Separator used between items in the in-line list&lt;br /&gt;
local sep = '&amp;amp;nbsp;&amp;amp;bull; '&lt;br /&gt;
&lt;br /&gt;
-- functions for opening and closing indent blocks&lt;br /&gt;
local function IndentBlockOpen (str)&lt;br /&gt;
	return '&amp;lt;div class=&amp;quot;block-indent&amp;quot;&amp;gt;'..str&lt;br /&gt;
end&lt;br /&gt;
local function IndentBlock (str)&lt;br /&gt;
	return IndentBlockOpen(str)..'&amp;lt;/div&amp;gt;'&lt;br /&gt;
end&lt;br /&gt;
local function DoubleIndentBlock (str)&lt;br /&gt;
	return IndentBlockOpen(IndentBlockOpen(str))&lt;br /&gt;
end&lt;br /&gt;
-- Referenced only header&lt;br /&gt;
local refonly = '&amp;lt;b&amp;gt;'..'Referenced only'..'&amp;lt;/b&amp;gt;'&lt;br /&gt;
-- {{#invoke:Index|IndList}}&lt;br /&gt;
function Index.IndList(frame)&lt;br /&gt;
	  -- interprets parameters&lt;br /&gt;
  local args = getArgs(frame)&lt;br /&gt;
  -- calls the internal function that does most of the work&lt;br /&gt;
  -- sends the result back to the template / article&lt;br /&gt;
  return Index._IndList(args)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function Index._IndList(args)&lt;br /&gt;
	if args['title'] then&lt;br /&gt;
		-- Create div containing title of Index&lt;br /&gt;
		header = IndentBlock('&amp;lt;b&amp;gt;'..args['title']..'&amp;lt;/b&amp;gt;')&lt;br /&gt;
	end&lt;br /&gt;
	if args['index'] then&lt;br /&gt;
		-- Create div containing body of Index (does not close)&lt;br /&gt;
		content = DoubleIndentBlock(args['index']..'&amp;lt;br/&amp;gt;')&lt;br /&gt;
	end&lt;br /&gt;
    if args['ref'] then&lt;br /&gt;
    	-- Create reference material for Index&lt;br /&gt;
    	if not args['index'] then content = DoubleIndentBlock('') end -- Add div if it wasn't created previously&lt;br /&gt;
		content = content..'&amp;lt;small&amp;gt;'..refonly..'&amp;lt;br/&amp;gt;'..args['ref']..'&amp;lt;/small&amp;gt;'&lt;br /&gt;
    end&lt;br /&gt;
	if args['index'] or args['ref'] then&lt;br /&gt;
		-- Close div containing body of Index, if it was opened&lt;br /&gt;
    	content = content..'&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;'&lt;br /&gt;
	end&lt;br /&gt;
	-- Add header and content to output&lt;br /&gt;
	output = header..content&lt;br /&gt;
-- Change all semicolons to the separator character string&lt;br /&gt;
	output = string.gsub(output, ';', sep)&lt;br /&gt;
	return output&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return Index&lt;/div&gt;</summary>
		<author><name>587</name></author>
	</entry>
</feed>