<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://twentyonewiki.info/index.php?action=history&amp;feed=atom&amp;title=Module%3ASlippymap</id>
	<title>Module:Slippymap - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://twentyonewiki.info/index.php?action=history&amp;feed=atom&amp;title=Module%3ASlippymap"/>
	<link rel="alternate" type="text/html" href="https://twentyonewiki.info/index.php?title=Module:Slippymap&amp;action=history"/>
	<updated>2026-04-12T15:25:18Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>https://twentyonewiki.info/index.php?title=Module:Slippymap&amp;diff=3328&amp;oldid=prev</id>
		<title>Buburka Rinderbuy: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://twentyonewiki.info/index.php?title=Module:Slippymap&amp;diff=3328&amp;oldid=prev"/>
		<updated>2024-02-09T07:46:01Z</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;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 03:46, 9 February 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&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;/table&gt;</summary>
		<author><name>Buburka Rinderbuy</name></author>
	</entry>
	<entry>
		<id>https://twentyonewiki.info/index.php?title=Module:Slippymap&amp;diff=3327&amp;oldid=prev</id>
		<title>module:Slippymap&gt;Minh Nguyen: Added missing fallback for when width is only nominally specified</title>
		<link rel="alternate" type="text/html" href="https://twentyonewiki.info/index.php?title=Module:Slippymap&amp;diff=3327&amp;oldid=prev"/>
		<updated>2023-03-06T16:57:38Z</updated>

		<summary type="html">&lt;p&gt;Added missing fallback for when width is only nominally specified&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
&lt;br /&gt;
-- cleans input of excessive whitespace typically added by linebreaks and spaces&lt;br /&gt;
function clean(input)&lt;br /&gt;
	return input and #input &amp;gt; 0 and mw.text.trim(input) or nil&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.slippymap(frame)&lt;br /&gt;
	local args = (frame:getParent() or frame).args&lt;br /&gt;
	&lt;br /&gt;
	local options = {}&lt;br /&gt;
	options.latitude = tonumber(clean(args.lat), 10) or 51.3432699&lt;br /&gt;
	options.longitude = tonumber(clean(args.lon), 10) or 0.52700328&lt;br /&gt;
	options.height = tonumber(clean(args.height), 10) or 400&lt;br /&gt;
	if clean(args.width) == &amp;quot;full&amp;quot; then&lt;br /&gt;
		options.width = &amp;quot;full&amp;quot;&lt;br /&gt;
	elseif args.width then&lt;br /&gt;
		options.width = tonumber(clean(args.width), 10) or 400&lt;br /&gt;
	else&lt;br /&gt;
		options.width = 400&lt;br /&gt;
	end&lt;br /&gt;
	options.zoom = tonumber(clean(args.zoom), 10) or 12&lt;br /&gt;
	options.align = clean(args.alignment) or &amp;quot;center&amp;quot;&lt;br /&gt;
	options.text = clean(args.text)&lt;br /&gt;
	&lt;br /&gt;
	local content = nil&lt;br /&gt;
	if clean(args.marker) ~= &amp;quot;no&amp;quot; then&lt;br /&gt;
		content = mw.text.jsonEncode {&lt;br /&gt;
			type = &amp;quot;Feature&amp;quot;,&lt;br /&gt;
			geometry = {&lt;br /&gt;
				type = &amp;quot;Point&amp;quot;,&lt;br /&gt;
				coordinates = {&lt;br /&gt;
					[0] = options.longitude,&lt;br /&gt;
					[1] = options.latitude,&lt;br /&gt;
				},&lt;br /&gt;
			},&lt;br /&gt;
		}&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return frame:extensionTag {&lt;br /&gt;
		name = &amp;quot;mapframe&amp;quot;,&lt;br /&gt;
		content = content,&lt;br /&gt;
		args = options,&lt;br /&gt;
	}&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>module:Slippymap&gt;Minh Nguyen</name></author>
	</entry>
</feed>