<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ro">
	<id>https://enciclopedia.md/index.php?action=history&amp;feed=atom&amp;title=Modul%3AMainArticle</id>
	<title>Modul:MainArticle - Revizia istoricului</title>
	<link rel="self" type="application/atom+xml" href="https://enciclopedia.md/index.php?action=history&amp;feed=atom&amp;title=Modul%3AMainArticle"/>
	<link rel="alternate" type="text/html" href="https://enciclopedia.md/index.php?title=Modul:MainArticle&amp;action=history"/>
	<updated>2026-06-06T18:27:40Z</updated>
	<subtitle>Istoricul versiunilor pentru această pagină din wiki</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://enciclopedia.md/index.php?title=Modul:MainArticle&amp;diff=754&amp;oldid=prev</id>
		<title>Ana Vornic: Pagină nouă: local getArgs = require(&#039;Modul:Arguments&#039;).getArgs local hatnote = require(&#039;Modul:Hatnote&#039;)._hatnote local join = require(&#039;Modul:Separated entries&#039;)._main local length = require(&#039;Modul:TableTools&#039;).size local p = {}  p._mainArticle = function(args) 	local mains = {} 	for _idx, element in ipairs(args) do 		if mw.text.trim(element) ~= &#039;&#039; then 			mains[_idx] = &#039;&#039; .. mw.text.trim(element) .. &#039;&#039; 		end 	end 	if length(mains) == 0 then return &#039;&#039; end 	mains.separator = &#039;, &#039; 	main...</title>
		<link rel="alternate" type="text/html" href="https://enciclopedia.md/index.php?title=Modul:MainArticle&amp;diff=754&amp;oldid=prev"/>
		<updated>2024-07-23T12:47:12Z</updated>

		<summary type="html">&lt;p&gt;Pagină nouă: local getArgs = require(&amp;#039;Modul:Arguments&amp;#039;).getArgs local hatnote = require(&amp;#039;Modul:Hatnote&amp;#039;)._hatnote local join = require(&amp;#039;Modul:Separated entries&amp;#039;)._main local length = require(&amp;#039;Modul:TableTools&amp;#039;).size local p = {}  p._mainArticle = function(args) 	local mains = {} 	for _idx, element in ipairs(args) do 		if mw.text.trim(element) ~= &amp;#039;&amp;#039; then 			mains[_idx] = &amp;#039;&lt;a href=&quot;/index.php?title=%27_.._mw.text.trim(element)_.._%27&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;&amp;#039; .. mw.text.trim(element) .. &amp;#039; (pagină inexistentă)&quot;&gt;&amp;#039; .. mw.text.trim(element) .. &amp;#039;&lt;/a&gt;&amp;#039; 		end 	end 	if length(mains) == 0 then return &amp;#039;&amp;#039; end 	mains.separator = &amp;#039;, &amp;#039; 	main...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Pagină nouă&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local getArgs = require(&amp;#039;Modul:Arguments&amp;#039;).getArgs&lt;br /&gt;
local hatnote = require(&amp;#039;Modul:Hatnote&amp;#039;)._hatnote&lt;br /&gt;
local join = require(&amp;#039;Modul:Separated entries&amp;#039;)._main&lt;br /&gt;
local length = require(&amp;#039;Modul:TableTools&amp;#039;).size&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
p._mainArticle = function(args)&lt;br /&gt;
	local mains = {}&lt;br /&gt;
	for _idx, element in ipairs(args) do&lt;br /&gt;
		if mw.text.trim(element) ~= &amp;#039;&amp;#039; then&lt;br /&gt;
			mains[_idx] = &amp;#039;[[&amp;#039; .. mw.text.trim(element) .. &amp;#039;]]&amp;#039;&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	if length(mains) == 0 then return &amp;#039;&amp;#039; end&lt;br /&gt;
	mains.separator = &amp;#039;, &amp;#039;&lt;br /&gt;
	mains.conjunction = &amp;#039; și &amp;#039;&lt;br /&gt;
	local textToDisplay = (#mains &amp;lt;= 1 and &amp;#039;Articol principal: &amp;#039; or &amp;#039;Articole principale: &amp;#039;) .. join(mains) .. &amp;#039;.&amp;#039;&lt;br /&gt;
	return hatnote(textToDisplay, { extraclasses = &amp;#039;rellink boilerplate seealso&amp;#039;})&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
p.mainArticle = function(frame)&lt;br /&gt;
	local args = getArgs(frame)&lt;br /&gt;
	return p._mainArticle(args)&lt;br /&gt;
end&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Ana Vornic</name></author>
	</entry>
</feed>