<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://dlwiki.cherrymint.live/index.php?action=history&amp;feed=atom&amp;title=Module%3ASuperimpose</id>
	<title>Module:Superimpose - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://dlwiki.cherrymint.live/index.php?action=history&amp;feed=atom&amp;title=Module%3ASuperimpose"/>
	<link rel="alternate" type="text/html" href="https://dlwiki.cherrymint.live/index.php?title=Module:Superimpose&amp;action=history"/>
	<updated>2026-09-19T02:17:02Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://dlwiki.cherrymint.live/index.php?title=Module:Superimpose&amp;diff=361154&amp;oldid=prev</id>
		<title>&gt;FlareKyn: Copied from the FEHeroes wiki</title>
		<link rel="alternate" type="text/html" href="https://dlwiki.cherrymint.live/index.php?title=Module:Superimpose&amp;diff=361154&amp;oldid=prev"/>
		<updated>2020-04-06T22:34:28Z</updated>

		<summary type="html">&lt;p&gt;Copied from the FEHeroes wiki&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&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 22:34, 6 April 2020&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key dlwiki:diff::1.12:old-361153:rev-361154 --&gt;
&lt;/table&gt;</summary>
		<author><name>&gt;FlareKyn</name></author>
	</entry>
	<entry>
		<id>https://dlwiki.cherrymint.live/index.php?title=Module:Superimpose&amp;diff=361153&amp;oldid=prev</id>
		<title>&gt;FlareKyn: Copied from the FEHeroes wiki</title>
		<link rel="alternate" type="text/html" href="https://dlwiki.cherrymint.live/index.php?title=Module:Superimpose&amp;diff=361153&amp;oldid=prev"/>
		<updated>2020-04-06T22:34:28Z</updated>

		<summary type="html">&lt;p&gt;Copied from the FEHeroes wiki&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&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 22:34, 6 April 2020&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key dlwiki:diff::1.12:old-361152:rev-361153 --&gt;
&lt;/table&gt;</summary>
		<author><name>&gt;FlareKyn</name></author>
	</entry>
	<entry>
		<id>https://dlwiki.cherrymint.live/index.php?title=Module:Superimpose&amp;diff=361152&amp;oldid=prev</id>
		<title>&gt;FlareKyn: Copied from the FEHeroes wiki</title>
		<link rel="alternate" type="text/html" href="https://dlwiki.cherrymint.live/index.php?title=Module:Superimpose&amp;diff=361152&amp;oldid=prev"/>
		<updated>2020-04-06T22:34:28Z</updated>

		<summary type="html">&lt;p&gt;Copied from the FEHeroes wiki&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local main = function (args)&lt;br /&gt;
	local htmlOutput = ''&lt;br /&gt;
	if args['c1'] or args['c2'] then&lt;br /&gt;
		htmlOutput = '&amp;lt;span style=&amp;quot;display:inline-block;position:relative;&amp;quot;&amp;gt;'&lt;br /&gt;
		local i = 2&lt;br /&gt;
		while true do&lt;br /&gt;
			local c, x, y = args['c' .. i], args['x' .. i], args['y' .. i]&lt;br /&gt;
			if c and c ~= '' then&lt;br /&gt;
				htmlOutput = ('%s&amp;lt;span style=&amp;quot;position:absolute;left:%spx;top:%spx;padding:0;&amp;quot;&amp;gt;%s&amp;lt;/span&amp;gt;'):format(&lt;br /&gt;
					htmlOutput, x or 0, y or 0, c)&lt;br /&gt;
			elseif not x and not y and not r then&lt;br /&gt;
				break&lt;br /&gt;
			end&lt;br /&gt;
			i = i + 1&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	htmlOutput = htmlOutput .. (args['c1'] or '') .. '&amp;lt;/span&amp;gt;'&lt;br /&gt;
	return htmlOutput&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local images = function (args)&lt;br /&gt;
	local htmlOutput = ''&lt;br /&gt;
	if args['c1'] or args['c2'] then&lt;br /&gt;
		htmlOutput = '&amp;lt;span style=&amp;quot;display:inline-block;position:relative;line-height:1&amp;quot;&amp;gt;'&lt;br /&gt;
		local i = 2&lt;br /&gt;
		while true do&lt;br /&gt;
			local c, x, y, r = args['c' .. i], args['x' .. i], args['y' .. i], args['r' .. i]&lt;br /&gt;
			if c and c ~= '' then&lt;br /&gt;
				htmlOutput = ('%s&amp;lt;span style=&amp;quot;position:absolute;left:%spx;top:%spx;%spadding:0;&amp;quot;&amp;gt;%s&amp;lt;/span&amp;gt;'):format(&lt;br /&gt;
					htmlOutput, x or 0, y or 0, r and ('clip:rect(%spx);'):format(mw.ustring.gsub(r, ',', 'px,')) or '', c)&lt;br /&gt;
			elseif not x and not y and not r then&lt;br /&gt;
				break&lt;br /&gt;
			end&lt;br /&gt;
			i = i + 1&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	htmlOutput = htmlOutput .. (args['c1'] or '') .. '&amp;lt;/span&amp;gt;'&lt;br /&gt;
	return htmlOutput&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- lua-only, pass arguments like so: div(c1, {c2, x2, y2}, {c3, x3, y3}, ...)&lt;br /&gt;
local div = function (c1, ...)&lt;br /&gt;
	local e = mw.html.create('span'):css('display', 'inline-block'):css('position', 'relative')&lt;br /&gt;
	for _, v in ipairs {...} do&lt;br /&gt;
		local c, x, y = unpack(v)&lt;br /&gt;
		e:tag('span'):css('position', 'absolute'):css('padding', '0')&lt;br /&gt;
			:css('left', ('%dpx'):format(tonumber(x) or 0)):css('top', ('%dpx'):format(tonumber(y) or 0)):wikitext(c)&lt;br /&gt;
	end&lt;br /&gt;
	e:wikitext(c1)&lt;br /&gt;
	return e&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local p = require 'Module:MakeMWModule'.makeMWModule {main = main, images = images}&lt;br /&gt;
p.div = div&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>&gt;FlareKyn</name></author>
	</entry>
</feed>