<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://bitcrush.io/laserwiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=86.135.248.121</id>
	<title>Laserwiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://bitcrush.io/laserwiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=86.135.248.121"/>
	<link rel="alternate" type="text/html" href="https://bitcrush.io/laserwiki/index.php?title=Special:Contributions/86.135.248.121"/>
	<updated>2026-04-13T09:59:21Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://bitcrush.io/laserwiki/index.php?title=Module:Br_separated_entries&amp;diff=4399</id>
		<title>Module:Br separated entries</title>
		<link rel="alternate" type="text/html" href="https://bitcrush.io/laserwiki/index.php?title=Module:Br_separated_entries&amp;diff=4399"/>
		<updated>2014-04-06T12:19:57Z</updated>

		<summary type="html">&lt;p&gt;86.135.248.121: Created page with &amp;quot;local p = {}   local function _main( args )     local sep = &amp;#039;&amp;lt;br /&amp;gt;&amp;#039;     local lastsep     local t = {}     for i, v in ipairs( args ) do         table.insert( t, v )...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;local p = {}&lt;br /&gt;
 &lt;br /&gt;
local function _main( args )&lt;br /&gt;
    local sep = &#039;&amp;lt;br /&amp;gt;&#039;&lt;br /&gt;
    local lastsep&lt;br /&gt;
    local t = {}&lt;br /&gt;
    for i, v in ipairs( args ) do&lt;br /&gt;
        table.insert( t, v )&lt;br /&gt;
        if mw.ustring.match( v, &#039;%S&#039; ) then&lt;br /&gt;
            table.insert( t, sep )&lt;br /&gt;
            lastsep = #t&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
    if lastsep then&lt;br /&gt;
        table.remove( t, lastsep )&lt;br /&gt;
    end&lt;br /&gt;
    return table.concat( t )&lt;br /&gt;
end&lt;br /&gt;
 &lt;br /&gt;
function p.main( frame )&lt;br /&gt;
    local origArgs&lt;br /&gt;
    if frame == mw.getCurrentFrame() then&lt;br /&gt;
        -- We&#039;re being called via #invoke. If the invoking template passed any arguments,&lt;br /&gt;
        -- use them. Otherwise, use the arguments that were passed into the template.&lt;br /&gt;
        origArgs = frame:getParent().args&lt;br /&gt;
        for k, v in pairs( frame.args ) do&lt;br /&gt;
            origArgs = frame.args&lt;br /&gt;
            break&lt;br /&gt;
        end&lt;br /&gt;
    else        &lt;br /&gt;
        -- We&#039;re being called from another module or from the debug console, so assume&lt;br /&gt;
        -- the arguments are passed in directly.&lt;br /&gt;
        origArgs = frame&lt;br /&gt;
    end&lt;br /&gt;
 &lt;br /&gt;
    -- Use integer args only, and allow for explicit positional arguments&lt;br /&gt;
    -- that are specified out of order, e.g. {{br separated entries|3=entry3}}.&lt;br /&gt;
    -- After processing, the args can be accessed accurately from ipairs.&lt;br /&gt;
    local args = {}&lt;br /&gt;
    for k, v in pairs( origArgs ) do&lt;br /&gt;
        if type( k ) == &#039;number&#039; and k &amp;gt;= 1 and math.floor( k ) == k then&lt;br /&gt;
            table.insert( args, k )&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
    table.sort( args )&lt;br /&gt;
    for i,v in ipairs( args ) do&lt;br /&gt;
        args[ i ] = origArgs[ v ]&lt;br /&gt;
    end&lt;br /&gt;
 &lt;br /&gt;
    return _main( args )&lt;br /&gt;
end&lt;br /&gt;
 &lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>86.135.248.121</name></author>
	</entry>
</feed>