<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3ASandbox%2FErutuon%2FTemplate_syntax</id>
	<title>Module:Sandbox/Erutuon/Template syntax - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3ASandbox%2FErutuon%2FTemplate_syntax"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/Erutuon/Template_syntax&amp;action=history"/>
	<updated>2026-05-17T18:22:59Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://stockhub.co/index.php?title=Module:Sandbox/Erutuon/Template_syntax&amp;diff=145386&amp;oldid=prev</id>
		<title>imported&gt;Erutuon: fix language error</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/Erutuon/Template_syntax&amp;diff=145386&amp;oldid=prev"/>
		<updated>2016-09-30T20:34:32Z</updated>

		<summary type="html">&lt;p&gt;fix language error&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;f = {}&lt;br /&gt;
&lt;br /&gt;
function f.format(frame)&lt;br /&gt;
	template = frame.args[1]&lt;br /&gt;
	language = mw.language.new(&amp;quot;en&amp;quot;)&lt;br /&gt;
	date = language:formatDate(&amp;quot;j F Y&amp;quot;)&lt;br /&gt;
	template = mw.text.nowiki(template)&lt;br /&gt;
	&lt;br /&gt;
	local accessdate = string.find(template, &amp;quot;access%-?date ?= ?&amp;quot;)&lt;br /&gt;
	if accessdate ~= nil then&lt;br /&gt;
		local datePosition = accessdate[2]&lt;br /&gt;
		local beforeDate = string.sub(template, 1, datePosition)&lt;br /&gt;
		local afterDate = string.sub(template, datePosition + 1, -1)&lt;br /&gt;
	end&lt;br /&gt;
	if beforeDate and afterDate then&lt;br /&gt;
		return beforeDate .. date .. afterDate&lt;br /&gt;
	else&lt;br /&gt;
		return template&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return f&lt;/div&gt;</summary>
		<author><name>imported&gt;Erutuon</name></author>
	</entry>
</feed>