<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://horizonwiki.lol/index.php?action=history&amp;feed=atom&amp;title=Module%3AMbox</id>
	<title>Module:Mbox - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://horizonwiki.lol/index.php?action=history&amp;feed=atom&amp;title=Module%3AMbox"/>
	<link rel="alternate" type="text/html" href="http://horizonwiki.lol/index.php?title=Module:Mbox&amp;action=history"/>
	<updated>2026-05-02T09:26:55Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>http://horizonwiki.lol/index.php?title=Module:Mbox&amp;diff=141160&amp;oldid=prev</id>
		<title>imported&gt;Hugin at 19:02, 30 May 2023</title>
		<link rel="alternate" type="text/html" href="http://horizonwiki.lol/index.php?title=Module:Mbox&amp;diff=141160&amp;oldid=prev"/>
		<updated>2023-05-30T19:02:37Z</updated>

		<summary type="html">&lt;p&gt;&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 19:02, 30 May 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;-- &amp;lt;nowiki&amp;gt;&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;-- &amp;lt;nowiki&amp;gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;local Mbox = {}&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;local Mbox = {}&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;local getArgs = require(&#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Dev&lt;/del&gt;:Arguments&#039;).getArgs&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;local getArgs = require(&#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Module&lt;/ins&gt;:Arguments&#039;).getArgs&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;local i18n = require(&#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Dev&lt;/del&gt;:I18n&#039;).loadMessages(&#039;Mbox&#039;)&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;local i18n = require(&#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Module&lt;/ins&gt;:I18n&#039;).loadMessages(&#039;Mbox&#039;)&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;function Mbox.main(frame)&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;function Mbox.main(frame)&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Hugin</name></author>
	</entry>
	<entry>
		<id>http://horizonwiki.lol/index.php?title=Module:Mbox&amp;diff=141159&amp;oldid=prev</id>
		<title>imported&gt;Hugin: Created page with &quot;-- &lt;nowiki&gt; local Mbox = {} local getArgs = require(&#039;Dev:Arguments&#039;).getArgs local i18n = require(&#039;Dev:I18n&#039;).loadMessages(&#039;Mbox&#039;)  function Mbox.main(frame)     local args = getArgs(frame)      -- styles     local styles = {}     styles[&#039;border-left-color&#039;] = i18n:parameter(&#039;bordercolor&#039;, args)     styles[&#039;background-color&#039;] = i18n:parameter(&#039;bgcolor&#039;, args)      -- images     local image = i18n:parameter(&#039;image&#039;, args) or &#039;&#039;     local imageadjust = &#039;&#039;     if args.image...&quot;</title>
		<link rel="alternate" type="text/html" href="http://horizonwiki.lol/index.php?title=Module:Mbox&amp;diff=141159&amp;oldid=prev"/>
		<updated>2023-05-30T19:02:09Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;-- &amp;lt;nowiki&amp;gt; local Mbox = {} local getArgs = require(&amp;#039;Dev:Arguments&amp;#039;).getArgs local i18n = require(&amp;#039;Dev:I18n&amp;#039;).loadMessages(&amp;#039;Mbox&amp;#039;)  function Mbox.main(frame)     local args = getArgs(frame)      -- styles     local styles = {}     styles[&amp;#039;border-left-color&amp;#039;] = i18n:parameter(&amp;#039;bordercolor&amp;#039;, args)     styles[&amp;#039;background-color&amp;#039;] = i18n:parameter(&amp;#039;bgcolor&amp;#039;, args)      -- images     local image = i18n:parameter(&amp;#039;image&amp;#039;, args) or &amp;#039;&amp;#039;     local imageadjust = &amp;#039;&amp;#039;     if args.image...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- &amp;lt;nowiki&amp;gt;&lt;br /&gt;
local Mbox = {}&lt;br /&gt;
local getArgs = require(&amp;#039;Dev:Arguments&amp;#039;).getArgs&lt;br /&gt;
local i18n = require(&amp;#039;Dev:I18n&amp;#039;).loadMessages(&amp;#039;Mbox&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
function Mbox.main(frame)&lt;br /&gt;
    local args = getArgs(frame)&lt;br /&gt;
&lt;br /&gt;
    -- styles&lt;br /&gt;
    local styles = {}&lt;br /&gt;
    styles[&amp;#039;border-left-color&amp;#039;] = i18n:parameter(&amp;#039;bordercolor&amp;#039;, args)&lt;br /&gt;
    styles[&amp;#039;background-color&amp;#039;] = i18n:parameter(&amp;#039;bgcolor&amp;#039;, args)&lt;br /&gt;
&lt;br /&gt;
    -- images&lt;br /&gt;
    local image = i18n:parameter(&amp;#039;image&amp;#039;, args) or &amp;#039;&amp;#039;&lt;br /&gt;
    local imageadjust = &amp;#039;&amp;#039;&lt;br /&gt;
    if args.imageadjust then&lt;br /&gt;
        imageadjust = &amp;#039;|&amp;#039; .. args.imageadjust&lt;br /&gt;
    end&lt;br /&gt;
    local imagewidth = i18n:parameter(&amp;#039;imagewidth&amp;#039;, args) or &amp;#039;80px&amp;#039;&lt;br /&gt;
    local imagelink = &amp;#039;|link=&amp;#039;&lt;br /&gt;
    local imagelinkarg = i18n:parameter(&amp;#039;imagelink&amp;#039;, args)&lt;br /&gt;
    if imagelinkarg then&lt;br /&gt;
        imagelink = imagelink .. imagelinkarg&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    local imagewikitext = &amp;#039;[[File:&amp;#039; .. image .. &amp;#039;|&amp;#039; .. imagewidth  .. imageadjust .. imagelink .. &amp;#039;]]&amp;#039;&lt;br /&gt;
&lt;br /&gt;
    -- id for closure&lt;br /&gt;
    local id = i18n:parameter(&amp;#039;id&amp;#039;, args) or &amp;#039;mbox&amp;#039;&lt;br /&gt;
    local typeclass = i18n:parameter(&amp;#039;type&amp;#039;, args)&lt;br /&gt;
&lt;br /&gt;
    local container = mw.html.create(&amp;#039;div&amp;#039;)&lt;br /&gt;
        :addClass(&amp;#039;mbox&amp;#039;)&lt;br /&gt;
        :addClass(typeclass and (&amp;#039;mbox-type-&amp;#039; .. typeclass))&lt;br /&gt;
        :addClass(i18n:parameter(&amp;#039;class&amp;#039;, args))&lt;br /&gt;
        :css(styles)&lt;br /&gt;
        :cssText(i18n:parameter(&amp;#039;style&amp;#039;, args))&lt;br /&gt;
&lt;br /&gt;
    local content = container:tag(&amp;#039;div&amp;#039;)&lt;br /&gt;
        :addClass(&amp;#039;mbox__content&amp;#039;)&lt;br /&gt;
    local collapsed = i18n:parameter(&amp;#039;collapsed&amp;#039;, args)&lt;br /&gt;
&lt;br /&gt;
    if image ~= &amp;#039;&amp;#039; then&lt;br /&gt;
        local image = content:tag(&amp;#039;div&amp;#039;)&lt;br /&gt;
            :addClass(&amp;#039;mbox__content__image&amp;#039;)&lt;br /&gt;
            :addClass(&amp;#039;mw-collapsible&amp;#039;)&lt;br /&gt;
            :attr(&amp;#039;id&amp;#039;, &amp;#039;mw-customcollapsible-&amp;#039; .. id)&lt;br /&gt;
            :wikitext(imagewikitext)&lt;br /&gt;
            if collapsed then&lt;br /&gt;
                image:addClass(&amp;#039;mw-collapsed&amp;#039;)&lt;br /&gt;
            end&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    local contentwrapper = content:tag(&amp;#039;div&amp;#039;)&lt;br /&gt;
        :addClass(&amp;#039;mbox__content__wrapper&amp;#039;)&lt;br /&gt;
    local header = i18n:parameter(&amp;#039;header&amp;#039;, args)&lt;br /&gt;
&lt;br /&gt;
    if header then&lt;br /&gt;
        contentwrapper:tag(&amp;#039;div&amp;#039;)&lt;br /&gt;
            :addClass(&amp;#039;mbox__content__header&amp;#039;)&lt;br /&gt;
            :wikitext(header)&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    local textarg = i18n:parameter(&amp;#039;text&amp;#039;, args)&lt;br /&gt;
    if textarg then&lt;br /&gt;
        local text = contentwrapper:tag(&amp;#039;div&amp;#039;)&lt;br /&gt;
            :addClass(&amp;#039;mbox__content__text&amp;#039;)&lt;br /&gt;
            :addClass(&amp;#039;mw-collapsible&amp;#039;)&lt;br /&gt;
            :attr(&amp;#039;id&amp;#039;, &amp;#039;mw-customcollapsible-&amp;#039; .. id)&lt;br /&gt;
            :wikitext(textarg)&lt;br /&gt;
            if collapsed then&lt;br /&gt;
                text:addClass(&amp;#039;mw-collapsed&amp;#039;)&lt;br /&gt;
            end&lt;br /&gt;
&lt;br /&gt;
        local comment = i18n:parameter(&amp;#039;comment&amp;#039;, args)&lt;br /&gt;
        if comment then&lt;br /&gt;
            text:tag(&amp;#039;div&amp;#039;)&lt;br /&gt;
                :addClass(&amp;#039;mbox__content__text__comment&amp;#039;)&lt;br /&gt;
                :wikitext(comment)&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    contentwrapper:tag(&amp;#039;span&amp;#039;)&lt;br /&gt;
        :addClass(&amp;#039;mbox__close&amp;#039;)&lt;br /&gt;
        :addClass(&amp;#039;mw-customtoggle-&amp;#039; .. id)&lt;br /&gt;
        :attr(&amp;#039;title&amp;#039;, i18n:msg(&amp;#039;dismiss&amp;#039;))&lt;br /&gt;
&lt;br /&gt;
    local asidearg = i18n:parameter(&amp;#039;aside&amp;#039;, args)&lt;br /&gt;
    if asidearg then&lt;br /&gt;
        local aside = content:tag(&amp;#039;div&amp;#039;)&lt;br /&gt;
            :addClass(&amp;#039;mbox__content__aside&amp;#039;)&lt;br /&gt;
            :addClass(&amp;#039;mw-collapsible&amp;#039;)&lt;br /&gt;
            :attr(&amp;#039;id&amp;#039;, &amp;#039;mw-customcollapsible-&amp;#039; .. id)&lt;br /&gt;
            :wikitext(asidearg)&lt;br /&gt;
            if collapsed then&lt;br /&gt;
                aside:addClass(&amp;#039;mw-collapsed&amp;#039;)&lt;br /&gt;
            end&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
    return container&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return Mbox&lt;/div&gt;</summary>
		<author><name>imported&gt;Hugin</name></author>
	</entry>
</feed>