<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://telupedia.w.kmwc.org/index.php?action=history&amp;feed=atom&amp;title=Module%3AIn5</id>
	<title>Module:In5 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://telupedia.w.kmwc.org/index.php?action=history&amp;feed=atom&amp;title=Module%3AIn5"/>
	<link rel="alternate" type="text/html" href="https://telupedia.w.kmwc.org/index.php?title=Module:In5&amp;action=history"/>
	<updated>2026-04-06T20:17:00Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://telupedia.w.kmwc.org/index.php?title=Module:In5&amp;diff=5531&amp;oldid=prev</id>
		<title>Maxisnt: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://telupedia.w.kmwc.org/index.php?title=Module:In5&amp;diff=5531&amp;oldid=prev"/>
		<updated>2025-10-30T13:38:51Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&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;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:38, 30 October 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key telupedia:diff:1.41:old-5530:rev-5531 --&gt;
&lt;/table&gt;</summary>
		<author><name>Maxisnt</name></author>
	</entry>
	<entry>
		<id>https://telupedia.w.kmwc.org/index.php?title=Module:In5&amp;diff=5530&amp;oldid=prev</id>
		<title>Templatewiki&gt;Rob Kam: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://telupedia.w.kmwc.org/index.php?title=Module:In5&amp;diff=5530&amp;oldid=prev"/>
		<updated>2018-02-15T18:04:56Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- This module implements {{in5}}.&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
function p.in5(frame)&lt;br /&gt;
    local indent = frame.args[1]&lt;br /&gt;
    -- Trim whitespace and convert to number. Default to 5 if not present,&lt;br /&gt;
    -- as per the template title.&lt;br /&gt;
    indent = tonumber( mw.text.trim(indent) ) or 5&lt;br /&gt;
    -- Round down to nearest integer. Decimal values produce funky results&lt;br /&gt;
    -- from the original template, but there&amp;#039;s no need for us to replicate that.&lt;br /&gt;
    indent = math.floor( indent )&lt;br /&gt;
    -- Don&amp;#039;t output anything for zero or less. Again, there was some funky output&lt;br /&gt;
    -- here for negatives, but now we&amp;#039;re in Lua we should use sane defaults.&lt;br /&gt;
    if indent &amp;lt;= 0 then&lt;br /&gt;
        return&lt;br /&gt;
    end&lt;br /&gt;
    &lt;br /&gt;
    local base = &amp;#039;&amp;amp;nbsp; &amp;#039;&lt;br /&gt;
    local modulo = &amp;#039;&amp;amp;nbsp;&amp;#039;&lt;br /&gt;
 &lt;br /&gt;
--[[&lt;br /&gt;
    Indent values and the corresponding values for base and modulo:&lt;br /&gt;
&lt;br /&gt;
    indent  base    modulo&lt;br /&gt;
    1       0       1&lt;br /&gt;
    2       0       2&lt;br /&gt;
    3       1       1&lt;br /&gt;
    4       1       2&lt;br /&gt;
    5       2       1&lt;br /&gt;
    6       2       2&lt;br /&gt;
    7       3       1&lt;br /&gt;
    8       3       2&lt;br /&gt;
    9       4       1&lt;br /&gt;
    10      4       2&lt;br /&gt;
]]&lt;br /&gt;
    &lt;br /&gt;
    local baseNum = math.floor( (indent - 1) / 2 )&lt;br /&gt;
    local modNum = math.fmod( indent - 1 , 2 ) + 1&lt;br /&gt;
    &lt;br /&gt;
    return mw.ustring.rep( base, baseNum) .. mw.ustring.rep( modulo, modNum )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Templatewiki&gt;Rob Kam</name></author>
	</entry>
</feed>