<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="hr">
	<id>https://enciklopedija.cc/index.php?action=history&amp;feed=atom&amp;title=Modul%3ATelevizijske_serije_po_godini_po%C4%8Detka</id>
	<title>Modul:Televizijske serije po godini početka - Povijest promjena</title>
	<link rel="self" type="application/atom+xml" href="https://enciklopedija.cc/index.php?action=history&amp;feed=atom&amp;title=Modul%3ATelevizijske_serije_po_godini_po%C4%8Detka"/>
	<link rel="alternate" type="text/html" href="https://enciklopedija.cc/index.php?title=Modul:Televizijske_serije_po_godini_po%C4%8Detka&amp;action=history"/>
	<updated>2026-09-04T22:42:38Z</updated>
	<subtitle>Povijest promjena ove stranice na wikiju</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://enciklopedija.cc/index.php?title=Modul:Televizijske_serije_po_godini_po%C4%8Detka&amp;diff=757958&amp;oldid=prev</id>
		<title>Suradnik10: preuzeto s hr.wikipedije</title>
		<link rel="alternate" type="text/html" href="https://enciklopedija.cc/index.php?title=Modul:Televizijske_serije_po_godini_po%C4%8Detka&amp;diff=757958&amp;oldid=prev"/>
		<updated>2026-04-19T04:17:52Z</updated>

		<summary type="html">&lt;p&gt;preuzeto s hr.wikipedije&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nova stranica&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}  -- Initialize the table for the module functions&lt;br /&gt;
&lt;br /&gt;
function p.generateTimeline(frame)&lt;br /&gt;
    -- Get the current page year from the title&lt;br /&gt;
    local title = mw.title.getCurrentTitle().text&lt;br /&gt;
    local currentYear = tonumber(title:match(&amp;quot;(%d%d%d%d)&amp;quot;))&lt;br /&gt;
    &lt;br /&gt;
    -- Check if year extraction was successful&lt;br /&gt;
    if not currentYear then&lt;br /&gt;
        return &amp;quot;Error: Unable to extract year from the title.&amp;quot;&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    -- Define the range of years (5 before and 5 after)&lt;br /&gt;
    local startYear = currentYear - 5&lt;br /&gt;
    local endYear = currentYear + 5&lt;br /&gt;
    &lt;br /&gt;
    -- Create a list of years with links where applicable&lt;br /&gt;
    local years = {}&lt;br /&gt;
    &lt;br /&gt;
    for year = startYear, endYear do&lt;br /&gt;
        local categoryTitle = &amp;quot;Kategorija:Televizijske serije koje su počele &amp;quot; .. year .. &amp;quot;.&amp;quot;&lt;br /&gt;
        -- Check if the category exists&lt;br /&gt;
        local category = mw.title.new(categoryTitle)&lt;br /&gt;
        &lt;br /&gt;
        -- If the category exists, link it, otherwise display it as plain text&lt;br /&gt;
        if category.exists then&lt;br /&gt;
            -- Include the colon in the link to prevent page categorization and ensure correct link format&lt;br /&gt;
            table.insert(years, string.format(&amp;quot;[[:%s|%d.]]&amp;quot;, categoryTitle, year))&lt;br /&gt;
        else&lt;br /&gt;
            -- Display year with dot if category does not exist&lt;br /&gt;
            table.insert(years, string.format(&amp;quot;%d.&amp;quot;, year))&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
    &lt;br /&gt;
    -- Join the years into a single string with &amp;quot; · &amp;quot; as separator&lt;br /&gt;
    return table.concat(years, &amp;quot; · &amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.timeline(frame)&lt;br /&gt;
    return p.generateTimeline(frame)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p  -- Return the table of functions&lt;/div&gt;</summary>
		<author><name>Suradnik10</name></author>
	</entry>
</feed>