<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.filipefonseca.pt/index.php?action=history&amp;feed=atom&amp;title=Module%3AInt</id>
	<title>Module:Int - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.filipefonseca.pt/index.php?action=history&amp;feed=atom&amp;title=Module%3AInt"/>
	<link rel="alternate" type="text/html" href="http://wiki.filipefonseca.pt/index.php?title=Module:Int&amp;action=history"/>
	<updated>2026-04-21T09:34:34Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.36.1</generator>
	<entry>
		<id>http://wiki.filipefonseca.pt/index.php?title=Module:Int&amp;diff=7140&amp;oldid=prev</id>
		<title>FilipeFonseca: Created page with &quot;-- This is a helper module for Template:int local this = {} local templateTranslation = require 'Module:Template translation'  function this.renderIntMessage(frame)     local...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.filipefonseca.pt/index.php?title=Module:Int&amp;diff=7140&amp;oldid=prev"/>
		<updated>2021-07-10T10:32:03Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;-- This is a helper module for Template:int local this = {} local templateTranslation = require &amp;#039;Module:Template translation&amp;#039;  function this.renderIntMessage(frame)     local...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- This is a helper module for Template:int&lt;br /&gt;
local this = {}&lt;br /&gt;
local templateTranslation = require 'Module:Template translation'&lt;br /&gt;
&lt;br /&gt;
function this.renderIntMessage(frame)&lt;br /&gt;
    local args = frame.args&lt;br /&gt;
    local pargs = (frame:getParent() or {}).args&lt;br /&gt;
    local arguments = {}&lt;br /&gt;
    for k, v in pairs(pargs) do&lt;br /&gt;
        local n = tonumber(k) or 0&lt;br /&gt;
        if (n &amp;gt;= 2) then&lt;br /&gt;
            arguments[n - 1] = mw.text.trim(v)&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    local msg = mw.message.new(mw.text.trim(args[1]), arguments)&lt;br /&gt;
    local lang&lt;br /&gt;
    if args.lang and args.lang ~= '' and mw.language.isValidCode(args.lang) then&lt;br /&gt;
    	lang = args.lang&lt;br /&gt;
    else&lt;br /&gt;
    	lang = templateTranslation.getLanguage()&lt;br /&gt;
    end&lt;br /&gt;
    if (msg:exists() and not msg:isDisabled()) then&lt;br /&gt;
        local msgstr = msg:inLanguage(lang):plain()&lt;br /&gt;
        return frame:preprocess(msgstr)&lt;br /&gt;
    else&lt;br /&gt;
        return '⧼' .. args[1] .. '⧽'&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return this&lt;/div&gt;</summary>
		<author><name>FilipeFonseca</name></author>
	</entry>
</feed>