<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="nb">
	<id>https://www.wikisida.no/index.php?action=history&amp;feed=atom&amp;title=Modul%3AFlaggIOC</id>
	<title>Modul:FlaggIOC - Sideversjonshistorikk</title>
	<link rel="self" type="application/atom+xml" href="https://www.wikisida.no/index.php?action=history&amp;feed=atom&amp;title=Modul%3AFlaggIOC"/>
	<link rel="alternate" type="text/html" href="https://www.wikisida.no/index.php?title=Modul:FlaggIOC&amp;action=history"/>
	<updated>2026-04-15T20:50:45Z</updated>
	<subtitle>Versjonshistorikk for denne siden på wikien</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://www.wikisida.no/index.php?title=Modul:FlaggIOC&amp;diff=8374&amp;oldid=prev</id>
		<title>Wikisida: Én sideversjon ble importert</title>
		<link rel="alternate" type="text/html" href="https://www.wikisida.no/index.php?title=Modul:FlaggIOC&amp;diff=8374&amp;oldid=prev"/>
		<updated>2026-02-09T12:38:21Z</updated>

		<summary type="html">&lt;p&gt;Én sideversjon ble importert&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;nb&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Eldre sideversjon&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Sideversjonen fra 9. feb. 2026 kl. 12:38&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;nb&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(Ingen forskjell)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key c1wiki:diff:1.41:old-8373:rev-8374 --&gt;
&lt;/table&gt;</summary>
		<author><name>Wikisida</name></author>
	</entry>
	<entry>
		<id>https://www.wikisida.no/index.php?title=Modul:FlaggIOC&amp;diff=8373&amp;oldid=prev</id>
		<title>nb&gt;Knuteinar2309: pirk, + vinter-ol 2030</title>
		<link rel="alternate" type="text/html" href="https://www.wikisida.no/index.php?title=Modul:FlaggIOC&amp;diff=8373&amp;oldid=prev"/>
		<updated>2026-01-24T03:05:21Z</updated>

		<summary type="html">&lt;p&gt;pirk, + vinter-ol 2030&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Ny side&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
 &lt;br /&gt;
local lang = mw.getContentLanguage()&lt;br /&gt;
local ccode = require(&amp;#039;Modul:Land/alfa3&amp;#039;)&lt;br /&gt;
local cname = require(&amp;#039;Modul:Land/alfa3(2)&amp;#039;)&lt;br /&gt;
 &lt;br /&gt;
function p.flagname(frame)&lt;br /&gt;
    local countrycode = lang:uc(frame.args.kode)&lt;br /&gt;
    if countrycode == &amp;quot;BRN&amp;quot; then&lt;br /&gt;
    	countrycode = &amp;quot;BHR&amp;quot;&lt;br /&gt;
	else&lt;br /&gt;
		countrycode = countrycode&lt;br /&gt;
	end&lt;br /&gt;
    if ccode[countrycode] == nil then&lt;br /&gt;
    	country = frame.args.kode&lt;br /&gt;
	else&lt;br /&gt;
		country = ccode[countrycode]&lt;br /&gt;
 	end&lt;br /&gt;
 &lt;br /&gt;
    -- Kode angitt og er riktig?&lt;br /&gt;
    if country == &amp;quot;&amp;quot; then&lt;br /&gt;
        return &amp;quot;&amp;#039;&amp;#039;Feil i kode&amp;#039;&amp;#039;[[Kategori:Sider med feil i FlaggIOC-mal]]&amp;quot;&lt;br /&gt;
    end&lt;br /&gt;
 &lt;br /&gt;
    return country&lt;br /&gt;
end&lt;br /&gt;
 &lt;br /&gt;
function p.countryname( frame )&lt;br /&gt;
    local countrycode;&lt;br /&gt;
    if lang:uc(frame.args.kode) == &amp;#039;EUA&amp;#039; then&lt;br /&gt;
        countrycode = &amp;#039;GER&amp;#039;&lt;br /&gt;
    elseif lang:uc(frame.args.kode) == &amp;#039;BRN&amp;#039; then&lt;br /&gt;
    	countrycode = &amp;#039;BHR&amp;#039;&lt;br /&gt;
	else&lt;br /&gt;
        countrycode = lang:uc(frame.args.kode)&lt;br /&gt;
	end&lt;br /&gt;
 &lt;br /&gt;
    local country = ccode[countrycode]&lt;br /&gt;
 &lt;br /&gt;
    if country ~= nil then&lt;br /&gt;
        return country&lt;br /&gt;
    elseif country ~= nil then&lt;br /&gt;
        return &amp;#039;[[Kategori:Sider med feil i FlaggIOC-mal]]&amp;#039;&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
 &lt;br /&gt;
function p.year( frame )&lt;br /&gt;
    local year_out&lt;br /&gt;
    local year = tostring(lang:lc(frame.args.leker))&lt;br /&gt;
    local countrycode = tostring(lang:uc(frame.args.kode))&lt;br /&gt;
    if countrycode == &amp;#039;EUN&amp;#039; or countrycode == &amp;#039;OAR&amp;#039; or countrycode == &amp;#039;ROT&amp;#039; or countrycode == &amp;#039;ROC&amp;#039; or countrycode == &amp;#039;SUS&amp;#039; then&lt;br /&gt;
	    year_out = &amp;#039;OL&amp;#039;&lt;br /&gt;
	    return year_out&lt;br /&gt;
    end&lt;br /&gt;
    if year == &amp;#039;sommer-ol 1896&amp;#039; then&lt;br /&gt;
    		year_out = &amp;#039;1896&amp;#039;&lt;br /&gt;
    elseif year == &amp;#039;sommer-ol 1900&amp;#039; then&lt;br /&gt;
        if countrycode == &amp;#039;CUB&amp;#039; or countrycode == &amp;#039;IRI&amp;#039; or countrycode == &amp;#039;NOR&amp;#039; then&lt;br /&gt;
            year_out = &amp;#039;OL-1900&amp;#039;&lt;br /&gt;
        else&lt;br /&gt;
            year_out = &amp;#039;1900&amp;#039;&lt;br /&gt;
        end&lt;br /&gt;
    elseif year == &amp;#039;sommer-ol 1904&amp;#039; then&lt;br /&gt;
            year_out = &amp;#039;1904&amp;#039;&lt;br /&gt;
    elseif year == &amp;#039;sommer-ol 1908&amp;#039; then&lt;br /&gt;
        if countrycode == &amp;#039;TUR&amp;#039; then&lt;br /&gt;
            year_out = &amp;#039;OL-1908&amp;#039;&lt;br /&gt;
        else &lt;br /&gt;
            year_out = &amp;#039;1908&amp;#039;&lt;br /&gt;
        end&lt;br /&gt;
    elseif year == &amp;#039;sommer-ol 1912&amp;#039; then&lt;br /&gt;
        if countrycode == &amp;#039;BOH&amp;#039; or countrycode == &amp;#039;RSA&amp;#039; or countrycode == &amp;#039;TUR&amp;#039; then&lt;br /&gt;
            year_out = &amp;#039;OL-1912&amp;#039;&lt;br /&gt;
        else&lt;br /&gt;
            year_out = &amp;#039;1912&amp;#039;&lt;br /&gt;
        end&lt;br /&gt;
    elseif year == &amp;#039;sommer-ol 1920&amp;#039; then&lt;br /&gt;
            year_out = &amp;#039;1920&amp;#039;&lt;br /&gt;
    elseif year == &amp;#039;sommer-ol 1924&amp;#039; or year == &amp;#039;vinter-ol 1924&amp;#039; then&lt;br /&gt;
        if countrycode == &amp;#039;HUN&amp;#039; then&lt;br /&gt;
            year_out = &amp;#039;OL-1924&amp;#039;&lt;br /&gt;
        else&lt;br /&gt;
            year_out = &amp;#039;1924&amp;#039;&lt;br /&gt;
        end&lt;br /&gt;
    elseif year == &amp;#039;sommer-ol 1928&amp;#039; or year == &amp;#039;vinter-ol 1928&amp;#039; then&lt;br /&gt;
        if countrycode == &amp;#039;HUN&amp;#039; or countrycode == &amp;#039;RSA&amp;#039; then&lt;br /&gt;
            year_out = &amp;#039;OL-1928&amp;#039;&lt;br /&gt;
        else&lt;br /&gt;
            year_out = &amp;#039;1928&amp;#039;&lt;br /&gt;
        end&lt;br /&gt;
    elseif year == &amp;#039;sommer-ol 1932&amp;#039; or year == &amp;#039;vinter-ol 1932&amp;#039; then&lt;br /&gt;
        if countrycode == &amp;#039;HUN&amp;#039; or countrycode == &amp;#039;TPE&amp;#039; then&lt;br /&gt;
            year_out = &amp;#039;OL-1932&amp;#039;&lt;br /&gt;
        else&lt;br /&gt;
            year_out = &amp;#039;1932&amp;#039;&lt;br /&gt;
        end&lt;br /&gt;
    elseif year == &amp;#039;sommer-ol 1936&amp;#039; then&lt;br /&gt;
    	if countrycode == &amp;#039;CAN&amp;#039; or countrycode == &amp;#039;HUN&amp;#039; or countrycode == &amp;#039;IND&amp;#039; or countrycode == &amp;#039;LIE&amp;#039; or countrycode == &amp;#039;PHI&amp;#039; or countrycode == &amp;#039;TPE&amp;#039; then&lt;br /&gt;
            year_out = &amp;#039;OL-1936&amp;#039;&lt;br /&gt;
        else&lt;br /&gt;
            year_out = &amp;#039;1936&amp;#039;&lt;br /&gt;
        end&lt;br /&gt;
    elseif year == &amp;#039;vinter-ol 1936&amp;#039; then&lt;br /&gt;
        if countrycode == &amp;#039;HUN&amp;#039; then&lt;br /&gt;
            year_out = &amp;#039;OL-1936&amp;#039;&lt;br /&gt;
        else&lt;br /&gt;
            year_out = &amp;#039;1936&amp;#039;&lt;br /&gt;
        end&lt;br /&gt;
    elseif year == &amp;#039;sommer-ol 1948&amp;#039; or year == &amp;#039;vinter-ol 1948&amp;#039; then&lt;br /&gt;
        if countrycode == &amp;#039;BIR&amp;#039; or countrycode == &amp;#039;CEY&amp;#039; or countrycode == &amp;#039;MLT&amp;#039; or countrycode == &amp;#039;PUR&amp;#039; or countrycode == &amp;#039;ROU&amp;#039; or countrycode == &amp;#039;TPE&amp;#039; then&lt;br /&gt;
            year_out = &amp;#039;OL-1948&amp;#039;&lt;br /&gt;
        else&lt;br /&gt;
            year_out = &amp;#039;1948&amp;#039;&lt;br /&gt;
        end&lt;br /&gt;
    elseif year == &amp;#039;sommer-ol 1952&amp;#039; then&lt;br /&gt;
        if countrycode == &amp;#039;PUR&amp;#039; then&lt;br /&gt;
            year_out = &amp;#039;OL-1952&amp;#039;&lt;br /&gt;
        else&lt;br /&gt;
            year_out = &amp;#039;1952&amp;#039;&lt;br /&gt;
        end&lt;br /&gt;
    elseif year == &amp;#039;vinter-ol 1952&amp;#039; then&lt;br /&gt;
    	if countrycode == &amp;#039;AUS&amp;#039; then&lt;br /&gt;
    		year_out = &amp;#039;OL-1952&amp;#039;&lt;br /&gt;
		else&lt;br /&gt;
            year_out = &amp;#039;1952&amp;#039;&lt;br /&gt;
        end&lt;br /&gt;
    elseif year == &amp;#039;sommer-ol 1956&amp;#039; or year == &amp;#039;vinter-ol 1956&amp;#039; then&lt;br /&gt;
        if countrycode == &amp;#039;EUA&amp;#039; or countrycode == &amp;#039;HUN&amp;#039; or countrycode == &amp;#039;PUR&amp;#039; or countrycode == &amp;#039;TPE&amp;#039; then&lt;br /&gt;
            year_out = &amp;#039;OL-1956&amp;#039;&lt;br /&gt;
        else&lt;br /&gt;
            year_out = &amp;#039;1956&amp;#039;&lt;br /&gt;
        end&lt;br /&gt;
    elseif year == &amp;#039;vinter-ol 1960&amp;#039; then&lt;br /&gt;
            year_out = &amp;#039;1960&amp;#039;&lt;br /&gt;
    elseif year == &amp;#039;sommer-ol 1960&amp;#039; then&lt;br /&gt;
        if countrycode == &amp;#039;BRA&amp;#039; or countrycode == &amp;#039;TPE&amp;#039; or countrycode == &amp;#039;USA&amp;#039; then&lt;br /&gt;
            year_out = &amp;#039;OL-1960&amp;#039;&lt;br /&gt;
        else&lt;br /&gt;
            year_out = &amp;#039;1960&amp;#039;&lt;br /&gt;
        end&lt;br /&gt;
    elseif year == &amp;#039;sommer-ol 1964&amp;#039; then&lt;br /&gt;
        if countrycode == &amp;#039;BAH&amp;#039; or countrycode == &amp;#039;IRI&amp;#039; or countrycode == &amp;#039;TAN&amp;#039; or countrycode == &amp;#039;TPE&amp;#039; then&lt;br /&gt;
            year_out = &amp;#039;OL-1964&amp;#039;&lt;br /&gt;
        else&lt;br /&gt;
            year_out = &amp;#039;1964&amp;#039;&lt;br /&gt;
        end&lt;br /&gt;
    elseif year == &amp;#039;vinter-ol 1964&amp;#039; then&lt;br /&gt;
            year_out = &amp;#039;1964&amp;#039;&lt;br /&gt;
    elseif year == &amp;#039;sommer-ol 1968&amp;#039; or year == &amp;#039;vinter-ol 1968&amp;#039; then&lt;br /&gt;
        if countrycode == &amp;#039;BRA&amp;#039; or countrycode == &amp;#039;FRG&amp;#039; or countrycode == &amp;#039;GDR&amp;#039; or countrycode == &amp;#039;MEX&amp;#039; or countrycode == &amp;#039;TPE&amp;#039; then&lt;br /&gt;
            year_out = &amp;#039;OL-1968&amp;#039;&lt;br /&gt;
        else&lt;br /&gt;
            year_out = &amp;#039;1968&amp;#039;&lt;br /&gt;
        end&lt;br /&gt;
    elseif year == &amp;#039;sommer-ol 1972&amp;#039; or year == &amp;#039;vinter-ol 1972&amp;#039; then&lt;br /&gt;
        if countrycode == &amp;#039;EGY&amp;#039; or countrycode == &amp;#039;SYR&amp;#039; or countrycode == &amp;#039;TPE&amp;#039; then&lt;br /&gt;
            year_out = &amp;#039;OL-1972&amp;#039;&lt;br /&gt;
        else&lt;br /&gt;
            year_out = &amp;#039;1972&amp;#039;&lt;br /&gt;
        end&lt;br /&gt;
    elseif year == &amp;#039;sommer-ol 1976&amp;#039; then&lt;br /&gt;
    	if countrycode == &amp;#039;AND&amp;#039; or countrycode == &amp;#039;TPE&amp;#039; then&lt;br /&gt;
    		year_out = &amp;#039;OL-1976&amp;#039;&lt;br /&gt;
    		else&lt;br /&gt;
    			year_out = &amp;#039;1976&amp;#039;&lt;br /&gt;
    	end&lt;br /&gt;
    	elseif year == &amp;#039;vinter-ol 1976&amp;#039; then&lt;br /&gt;
        if countrycode == &amp;#039;GRE&amp;#039; or countrycode == &amp;#039;TPE&amp;#039; then&lt;br /&gt;
            year_out = &amp;#039;OL-1976&amp;#039;&lt;br /&gt;
        else&lt;br /&gt;
            year_out = &amp;#039;1976&amp;#039;&lt;br /&gt;
        end&lt;br /&gt;
    elseif year == &amp;#039;vinter-ol 1976&amp;#039; then&lt;br /&gt;
        if countrycode == &amp;#039;AND&amp;#039; then&lt;br /&gt;
            year_out = &amp;#039;Vinter-OL 1976&amp;#039;&lt;br /&gt;
        else&lt;br /&gt;
            year_out = &amp;#039;1976&amp;#039;&lt;br /&gt;
        end&lt;br /&gt;
    elseif year == &amp;#039;sommer-ol 1980&amp;#039; then&lt;br /&gt;
        if countrycode == &amp;#039;AND&amp;#039; or countrycode == &amp;#039;AFG&amp;#039; or countrycode == &amp;#039;AUS&amp;#039; or countrycode == &amp;#039;BEL&amp;#039; or countrycode == &amp;#039;DEN&amp;#039; or countrycode == &amp;#039;FRA&amp;#039; or countrycode == &amp;#039;GBR&amp;#039; or countrycode == &amp;#039;IRL&amp;#039; or countrycode == &amp;#039;ITA&amp;#039; or countrycode&lt;br /&gt;
    == &amp;#039;LUX&amp;#039; or countrycode == &amp;#039;NED&amp;#039; or countrycode == &amp;#039;NZL&amp;#039; or countrycode == &amp;#039;POL&amp;#039; or countrycode == &amp;#039;POR&amp;#039; or countrycode == &amp;#039;PUR&amp;#039; or countrycode == &amp;#039;SMR&amp;#039; or countrycode == &amp;#039;SYR&amp;#039; or countrycode == &amp;#039;ESP&amp;#039; or countrycode == &amp;#039;SUI&amp;#039; then&lt;br /&gt;
            year_out = &amp;#039;OL-1980&amp;#039;&lt;br /&gt;
        else&lt;br /&gt;
            year_out = &amp;#039;1980&amp;#039;&lt;br /&gt;
        end&lt;br /&gt;
    elseif year == &amp;#039;vinter-ol 1980&amp;#039; then&lt;br /&gt;
    	if countrycode == &amp;#039;POL&amp;#039; then&lt;br /&gt;
    		year_out = &amp;#039;OL-1980&amp;#039;&lt;br /&gt;
    	else&lt;br /&gt;
            year_out = &amp;#039;1980&amp;#039;&lt;br /&gt;
        end&lt;br /&gt;
    elseif year == &amp;#039;sommer-ol 1984&amp;#039; or year == &amp;#039;vinter-ol 1984&amp;#039; then&lt;br /&gt;
        	year_out = &amp;#039;1984&amp;#039;&lt;br /&gt;
    elseif year == &amp;#039;sommer-ol 1988&amp;#039; or year == &amp;#039;vinter-ol 1988&amp;#039; then&lt;br /&gt;
            year_out = &amp;#039;1988&amp;#039;&lt;br /&gt;
    elseif year == &amp;#039;sommer-ol 1992&amp;#039; then&lt;br /&gt;
        if countrycode == &amp;#039;ALB&amp;#039; or countrycode == &amp;#039;BIH&amp;#039; or countrycode == &amp;#039;BRA&amp;#039; or countrycode == &amp;#039;ETH&amp;#039; or countrycode == &amp;#039;MGL&amp;#039; or countrycode == &amp;#039;PRK&amp;#039; or countrycode == &amp;#039;RSA&amp;#039; then&lt;br /&gt;
            year_out = &amp;#039;OL-1992&amp;#039;&lt;br /&gt;
        elseif countrycode == &amp;#039;EUN&amp;#039; then&lt;br /&gt;
            year_out = &amp;#039;OL&amp;#039;&lt;br /&gt;
        else&lt;br /&gt;
        	year_out = &amp;#039;1992&amp;#039;&lt;br /&gt;
        end&lt;br /&gt;
    elseif year == &amp;#039;vinter-ol 1992&amp;#039; then&lt;br /&gt;
        if countrycode == &amp;#039;EUN&amp;#039; or countrycode == &amp;#039;PRK&amp;#039; then&lt;br /&gt;
            year_out = &amp;#039;OL&amp;#039;&lt;br /&gt;
        else&lt;br /&gt;
        	year_out = &amp;#039;1992&amp;#039;&lt;br /&gt;
        end&lt;br /&gt;
    elseif year == &amp;#039;vinter-ol 1994&amp;#039; then&lt;br /&gt;
        if countrycode == &amp;#039;RSA&amp;#039; then&lt;br /&gt;
            year_out = &amp;#039;OL-1994&amp;#039;&lt;br /&gt;
        else&lt;br /&gt;
            year_out = &amp;#039;1994&amp;#039;&lt;br /&gt;
        end&lt;br /&gt;
    elseif year == &amp;#039;sommer-ol 1996&amp;#039; then&lt;br /&gt;
        if countrycode == &amp;#039;ETH&amp;#039; or countrycode == &amp;#039;SEY&amp;#039; or countrycode == &amp;#039;ZAM&amp;#039; then&lt;br /&gt;
            year_out = &amp;#039;OL-1996&amp;#039;&lt;br /&gt;
        else&lt;br /&gt;
            year_out = &amp;#039;1996&amp;#039;&lt;br /&gt;
        end&lt;br /&gt;
    elseif year == &amp;#039;vinter-ol 1998&amp;#039; then&lt;br /&gt;
        if countrycode == &amp;#039;BIH&amp;#039; then&lt;br /&gt;
            year_out = &amp;#039;OL-1998&amp;#039;&lt;br /&gt;
        else&lt;br /&gt;
            year_out = &amp;#039;1998&amp;#039;&lt;br /&gt;
        end&lt;br /&gt;
    elseif year == &amp;#039;sommer-ol 2000&amp;#039; then&lt;br /&gt;
        if countrycode == &amp;#039;CAY&amp;#039; then&lt;br /&gt;
            year_out = &amp;#039;OL-2000&amp;#039;&lt;br /&gt;
        else&lt;br /&gt;
            year_out = &amp;#039;2000&amp;#039;&lt;br /&gt;
        end&lt;br /&gt;
    elseif year == &amp;#039;vinter-ol 2002&amp;#039; then&lt;br /&gt;
        if countrycode == &amp;#039;CAY&amp;#039; then&lt;br /&gt;
            year_out = &amp;#039;OL-2002&amp;#039;&lt;br /&gt;
        else&lt;br /&gt;
            year_out = &amp;#039;2002&amp;#039;&lt;br /&gt;
        end&lt;br /&gt;
    elseif year == &amp;#039;sommer-ol 2004&amp;#039; then&lt;br /&gt;
        if  countrycode == &amp;#039;CAY&amp;#039; or countrycode == &amp;#039;GEO&amp;#039; or countrycode == &amp;#039;LTU&amp;#039; or countrycode == &amp;#039;IRQ&amp;#039; then&lt;br /&gt;
            year_out = &amp;#039;OL-2004&amp;#039;&lt;br /&gt;
        else&lt;br /&gt;
            year_out = &amp;#039;2004&amp;#039;&lt;br /&gt;
        end&lt;br /&gt;
    elseif year == &amp;#039;vinter-ol 2006&amp;#039; then&lt;br /&gt;
        if countrycode == &amp;#039;CAY&amp;#039; then&lt;br /&gt;
            year_out = &amp;#039;OL-2006&amp;#039;&lt;br /&gt;
        else&lt;br /&gt;
            year_out = &amp;#039;2006&amp;#039;&lt;br /&gt;
        end&lt;br /&gt;
    elseif year == &amp;#039;sommer-ol 2008&amp;#039; then&lt;br /&gt;
        if countrycode == &amp;#039;CAY&amp;#039; or countrycode == &amp;#039;IRQ&amp;#039; then&lt;br /&gt;
            year_out = &amp;#039;OL-2008&amp;#039;&lt;br /&gt;
        else&lt;br /&gt;
            year_out = &amp;#039;2008&amp;#039;&lt;br /&gt;
        end&lt;br /&gt;
    elseif year == &amp;#039;vinter-ol 2010&amp;#039; then&lt;br /&gt;
        if countrycode == &amp;#039;CAY&amp;#039; then&lt;br /&gt;
            year_out = &amp;#039;OL-2010&amp;#039;&lt;br /&gt;
        else&lt;br /&gt;
            year_out = &amp;#039;2010&amp;#039;&lt;br /&gt;
        end&lt;br /&gt;
    elseif year == &amp;#039;sommer-ol 2012&amp;#039; then&lt;br /&gt;
        if countrycode == &amp;#039;CAY&amp;#039; then&lt;br /&gt;
            year_out = &amp;#039;OL-2012&amp;#039;&lt;br /&gt;
        else&lt;br /&gt;
            year_out = &amp;#039;2012&amp;#039;&lt;br /&gt;
        end&lt;br /&gt;
    elseif year == &amp;#039;vinter-ol 2014&amp;#039; then&lt;br /&gt;
    	if countrycode == &amp;#039;CAY&amp;#039; then&lt;br /&gt;
    		year_out = &amp;#039;OL-2014&amp;#039;&lt;br /&gt;
    	else&lt;br /&gt;
            year_out = &amp;#039;2014&amp;#039;&lt;br /&gt;
        end&lt;br /&gt;
    	elseif year == &amp;#039;sommer-ol 2016&amp;#039; then&lt;br /&gt;
		if countrycode == &amp;#039;CAY&amp;#039; then&lt;br /&gt;
			year_out= &amp;#039;OL-2016&amp;#039;&lt;br /&gt;
		else&lt;br /&gt;
           year_out = &amp;#039;2016&amp;#039;&lt;br /&gt;
       end&lt;br /&gt;
    elseif year == &amp;#039;vinter-ol 2018&amp;#039; then&lt;br /&gt;
        if countrycode == &amp;#039;COR&amp;#039; then&lt;br /&gt;
	       year_out = &amp;#039;OL-2018&amp;#039;&lt;br /&gt;
		elseif countrycode == &amp;#039;OAR&amp;#039; then&lt;br /&gt;
            year_out = &amp;#039;OL&amp;#039;&lt;br /&gt;
        else&lt;br /&gt;
	       year_out = &amp;#039;2018&amp;#039;&lt;br /&gt;
        end&lt;br /&gt;
    elseif year == &amp;#039;sommer-ol 2020&amp;#039; then&lt;br /&gt;
    	if countrycode == &amp;#039;ROC&amp;#039; then&lt;br /&gt;
	       year_out = &amp;#039;OL&amp;#039;&lt;br /&gt;
       elseif countrycode == &amp;#039;CAY&amp;#039; or countrycode == &amp;#039;RUS&amp;#039; or countrycode == &amp;#039;VEN&amp;#039; then&lt;br /&gt;
            year_out = &amp;#039;OL-2020&amp;#039;&lt;br /&gt;
	    else&lt;br /&gt;
            year_out = &amp;#039;2020&amp;#039;&lt;br /&gt;
        end&lt;br /&gt;
    elseif year == &amp;#039;vinter-ol 2022&amp;#039; then&lt;br /&gt;
		if countrycode == &amp;#039;ROC&amp;#039; then&lt;br /&gt;
	       year_out = &amp;#039;OL&amp;#039;&lt;br /&gt;
      elseif countrycode == &amp;#039;RUS&amp;#039; then&lt;br /&gt;
            year_out = &amp;#039;OL-2022&amp;#039;&lt;br /&gt;
	    else&lt;br /&gt;
        	year_out = &amp;#039;2022&amp;#039;&lt;br /&gt;
    	end&lt;br /&gt;
    elseif year == &amp;#039;sommer-ol 2024&amp;#039; then&lt;br /&gt;
    	if countrycode == &amp;#039;AFG&amp;#039; then&lt;br /&gt;
    		year_out = &amp;#039;OL-2024&amp;#039;&lt;br /&gt;
		else&lt;br /&gt;
			year_out = &amp;#039;2024&amp;#039;&lt;br /&gt;
		end&lt;br /&gt;
	elseif year == &amp;#039;vinter-ol 2026&amp;#039; then&lt;br /&gt;
           year_out = &amp;#039;2026&amp;#039;&lt;br /&gt;
	elseif year == &amp;#039;sommer-ol 2028&amp;#039; then&lt;br /&gt;
    		year_out = &amp;#039;2028&amp;#039;&lt;br /&gt;
	elseif year == &amp;#039;vinter-ol 2030&amp;#039; then&lt;br /&gt;
			year_out = &amp;#039;2030&amp;#039;&lt;br /&gt;
	elseif year == &amp;#039;sommer-ol 2032&amp;#039; then&lt;br /&gt;
			year_out = &amp;#039;2032&amp;#039;&lt;br /&gt;
    else&lt;br /&gt;
        year_out = &amp;#039;&amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
    &lt;br /&gt;
    return year_out&lt;br /&gt;
end&lt;br /&gt;
 &lt;br /&gt;
function p.location( frame )&lt;br /&gt;
    local place;&lt;br /&gt;
    local games = tostring(lang:lc(frame.args.leker))&lt;br /&gt;
    if games == &amp;#039;sommer-ol 1896&amp;#039; or games == &amp;#039;sommer-ol 1906&amp;#039; or games == &amp;#039;sommer-ol 2004&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[Athen]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;sommer-ol 1900&amp;#039; or games == &amp;#039;sommer-ol 1924&amp;#039; or games == &amp;#039;sommer-ol 2024&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[Paris]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;sommer-ol 1904&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[St. Louis]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;sommer-ol 1908&amp;#039; or games == &amp;#039;sommer-ol 1948&amp;#039; or games == &amp;#039;sommer-ol 2012&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[London]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;sommer-ol 1912&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[Stockholm]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;sommer-ol 1920&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[Antwerpen]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;sommer-ol 1928&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[Amsterdam]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;sommer-ol 1932&amp;#039; or games == &amp;#039;sommer-ol 1984&amp;#039; or games == &amp;#039;sommer-ol 2028&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[Los Angeles]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;sommer-ol 1936&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[Berlin]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;sommer-ol 1952&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[Helsingfors]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;sommer-ol 1956&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[Melbourne]]/[[Stockholm]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;sommer-ol 1960&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[Roma]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;sommer-ol 1964&amp;#039; or games == &amp;#039;sommer-ol 2020&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[Tokyo]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;sommer-ol 1968&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[Mexico by]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;sommer-ol 1972&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[München]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;sommer-ol 1976&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[Montréal]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;sommer-ol 1980&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[Moskva]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;sommer-ol 1988&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[Seoul]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;sommer-ol 1992&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[Barcelona]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;sommer-ol 1996&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[Atlanta]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;sommer-ol 2000&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[Sydney]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;sommer-ol 2008&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[Beijing]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;sommer-ol 2016&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[Rio de Janeiro]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;sommer-ol 2032&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[Brisbane]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;vinter-ol 1924&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[Chamonix]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;vinter-ol 1928&amp;#039; or games == &amp;#039;vinter-ol 1948&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[St. Moritz]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;vinter-ol 1932&amp;#039; or games == &amp;#039;vinter-ol 1980&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[Lake Placid (New York)|Lake Placid]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;vinter-ol 1936&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[Garmisch-Partenkirchen]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;vinter-ol 1952&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[Oslo]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;vinter-ol 1956&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[Cortina d’Ampezzo|Cortina]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;vinter-ol 1960&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[Squaw Valley Ski Resort|Squaw Valley]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;vinter-ol 1964&amp;#039; or games == &amp;#039;vinter-ol 1976&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[Innsbruck]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;vinter-ol 1968&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[Grenoble]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;vinter-ol 1972&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[Sapporo]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;vinter-ol 1984&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[Sarajevo]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;vinter-ol 1988&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[Calgary]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;vinter-ol 1992&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[Albertville]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;vinter-ol 1994&amp;#039; then&lt;br /&gt;
        place = &amp;#039;på [[Lillehammer]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;vinter-ol 1998&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[Nagano]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;vinter-ol 2002&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[Salt Lake City]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;vinter-ol 2006&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[Torino]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;vinter-ol 2010&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[Vancouver]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;vinter-ol 2014&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[Sotsji]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;vinter-ol 2018&amp;#039; then&lt;br /&gt;
        place = &amp;#039;i [[Pyeongchang]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;vinter-ol 2022&amp;#039; then&lt;br /&gt;
    	place = &amp;#039;i [[Beijing]]&amp;#039;&lt;br /&gt;
	elseif games == &amp;#039;vinter-ol 2026&amp;#039; then&lt;br /&gt;
    	place = &amp;#039;i [[Milano]] [[Cortina d’Ampezzo|Cortina]]&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;vinter-ol 2030&amp;#039; then&lt;br /&gt;
    	place = &amp;#039;i [[De franske Alpene]]&amp;#039;&lt;br /&gt;
    else&lt;br /&gt;
        place = &amp;#039;&amp;#039;&lt;br /&gt;
    end&lt;br /&gt;
 &lt;br /&gt;
    return place&lt;br /&gt;
end&lt;br /&gt;
 &lt;br /&gt;
function p.link( frame )&lt;br /&gt;
    local countrycode = lang:uc(frame.args.kode)&lt;br /&gt;
    if countrycode == &amp;quot;BRN&amp;quot; then&lt;br /&gt;
    	countrycode = &amp;quot;BHR&amp;quot;&lt;br /&gt;
	else&lt;br /&gt;
		countrycode = countrycode&lt;br /&gt;
	end&lt;br /&gt;
    if ccode[countrycode] == nil then&lt;br /&gt;
    	country = frame.args.kode&lt;br /&gt;
	else&lt;br /&gt;
		country = ccode[countrycode]&lt;br /&gt;
	end&lt;br /&gt;
    local games_out;&lt;br /&gt;
    local games = tostring(lang:lc(frame.args.leker))&lt;br /&gt;
    if games == &amp;#039;sommer&amp;#039; then&lt;br /&gt;
        games_out = &amp;#039;Sommer-OL&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;vinter&amp;#039; then&lt;br /&gt;
        games_out = &amp;#039;Vinter-OL&amp;#039;&lt;br /&gt;
    elseif games == &amp;#039;&amp;#039; then&lt;br /&gt;
        games_out = &amp;#039;OL&amp;#039;&lt;br /&gt;
    else&lt;br /&gt;
        games_out = frame.args.leker&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
	if country == nil then&lt;br /&gt;
		link_out = tostring(frame.args.kode .. &amp;#039;&amp;amp;nbsp;under&amp;amp;nbsp;&amp;#039; .. games_out)&lt;br /&gt;
	else&lt;br /&gt;
		link_out = tostring(country .. &amp;#039;&amp;amp;nbsp;under&amp;amp;nbsp;&amp;#039; .. games_out)&lt;br /&gt;
 	end&lt;br /&gt;
 &lt;br /&gt;
    if link_out ~= nil then&lt;br /&gt;
        return link_out&lt;br /&gt;
    elseif link_out == nil then&lt;br /&gt;
        return &amp;#039;[[Kategori:Sider med feil i FlaggIOC-mal]]&amp;#039;&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
 &lt;br /&gt;
function p.linktext( frame )&lt;br /&gt;
    local countrycode = lang:uc(frame.args.kode)&lt;br /&gt;
    if countrycode == &amp;quot;BRN&amp;quot; then&lt;br /&gt;
    	countrycode = &amp;quot;BHR&amp;quot;&lt;br /&gt;
	else&lt;br /&gt;
		countrycode = countrycode&lt;br /&gt;
	end&lt;br /&gt;
    local country = ccode[countrycode]&lt;br /&gt;
    local linktext_out = tostring(country)&lt;br /&gt;
    if linktext_out == &amp;quot;nil&amp;quot; then&lt;br /&gt;
    	linktext_out = tostring(frame.args.kode)&lt;br /&gt;
	else&lt;br /&gt;
		linktext_out = linktext_out&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
    return linktext_out&lt;br /&gt;
end&lt;br /&gt;
 &lt;br /&gt;
function p.athlete( frame )&lt;br /&gt;
    local p_athlete = tostring(frame.args.utover)&lt;br /&gt;
    local athlete_out;&lt;br /&gt;
    if p_athlete ~= &amp;#039;&amp;#039; then&lt;br /&gt;
        athlete_out = p_athlete&lt;br /&gt;
    else&lt;br /&gt;
        athlete_out = &amp;#039;&amp;#039;&lt;br /&gt;
    end&lt;br /&gt;
 &lt;br /&gt;
    if athlete_out ~= nil then&lt;br /&gt;
        return athlete_out&lt;br /&gt;
    elseif athlete_out == nil then&lt;br /&gt;
        return &amp;#039;&amp;#039;&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
 &lt;br /&gt;
function p.partisipants( frame )&lt;br /&gt;
    local p_partisipants = tonumber(frame.args.antall)&lt;br /&gt;
    if p_partisipants ~= nil then&lt;br /&gt;
       return &amp;#039;&amp;amp;nbsp;&amp;lt;span style=&amp;quot;font-size:90%;&amp;quot;&amp;gt;(&amp;#039; .. frame.args.antall .. &amp;#039;)&amp;lt;/span&amp;gt;&amp;#039;&lt;br /&gt;
    elseif p_partisipants == nil then&lt;br /&gt;
       return &amp;#039;&amp;#039;&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
 &lt;br /&gt;
function p.IOCcode( frame )&lt;br /&gt;
	local countrycode = frame.args.kode&lt;br /&gt;
	&lt;br /&gt;
	if cname[countrycode] ~=nil then&lt;br /&gt;
		country = cname[countrycode]&lt;br /&gt;
	else&lt;br /&gt;
		country = frame.args.kode&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
    if countrycode == &amp;quot;BRN&amp;quot; then&lt;br /&gt;
    	country = &amp;quot;BHR&amp;quot;&lt;br /&gt;
	else&lt;br /&gt;
		country = country&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Kode angitt og er riktig?&lt;br /&gt;
    if country == &amp;quot;&amp;quot; then&lt;br /&gt;
        return &amp;quot;&amp;#039;&amp;#039;Feil i kode&amp;#039;&amp;#039;[[Kategori:Sider med feil i FlaggIOC-mal]]&amp;quot;&lt;br /&gt;
    end&lt;br /&gt;
 &lt;br /&gt;
    return &amp;#039;&amp;amp;nbsp;&amp;lt;span style=&amp;quot;font-size:90%;&amp;quot;&amp;gt;(&amp;#039; .. country .. &amp;#039;)&amp;lt;/span&amp;gt;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
end&lt;br /&gt;
 &lt;br /&gt;
function p.NameToCode( frame )&lt;br /&gt;
	local countrycode = frame.args.kode&lt;br /&gt;
	&lt;br /&gt;
	if cname[countrycode] ~=nil then&lt;br /&gt;
		country = cname[countrycode]&lt;br /&gt;
	else&lt;br /&gt;
		country = frame.args.kode&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
    if countrycode == &amp;quot;BRN&amp;quot; then&lt;br /&gt;
    	country = &amp;quot;BHR&amp;quot;&lt;br /&gt;
	else&lt;br /&gt;
		country = country&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Kode angitt og er riktig?&lt;br /&gt;
    if country == &amp;quot;&amp;quot; then&lt;br /&gt;
        return &amp;quot;&amp;#039;&amp;#039;Feil i kode&amp;#039;&amp;#039;[[Kategori:Sider med feil i FlaggIOC-mal]]&amp;quot;&lt;br /&gt;
    end&lt;br /&gt;
 &lt;br /&gt;
    return  country&lt;br /&gt;
&lt;br /&gt;
end&lt;br /&gt;
 &lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>nb&gt;Knuteinar2309</name></author>
	</entry>
</feed>