<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://hna.wiki/Module:Ref?action=history&amp;feed=atom</id>
	<title>Module:Ref - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://hna.wiki/Module:Ref?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://hna.wiki/Module:Ref?action=history"/>
	<updated>2026-07-15T03:14:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://hna.wiki/Module:Ref?diff=4041&amp;oldid=prev</id>
		<title>Sparda0 at 15:24, 20 September 2025</title>
		<link rel="alternate" type="text/html" href="https://hna.wiki/Module:Ref?diff=4041&amp;oldid=prev"/>
		<updated>2025-09-20T15:24:34Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&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 15:24, 20 September 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l60&quot;&gt;Line 60:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 60:&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;	&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;	&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;	return out&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;	return out&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;end	&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;	&lt;/del&gt;&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;end&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;return p&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;return p&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:1.41:old-4030:rev-4041:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Sparda0</name></author>
	</entry>
	<entry>
		<id>https://hna.wiki/Module:Ref?diff=4030&amp;oldid=prev</id>
		<title>Sparda0: Created page with &quot;local p = {}  local SOURCES = { 	loading_screens = &#039;Module:Ref/LoadingScreens&#039;, }  function getSourceData(source) 	local sourcePath = SOURCES[source] 	assert(sourcePath, &#039;Unknown source type&#039;) 	return mw.loadData(sourcePath) end  function p.findPage(frame) 	return p._findPage(frame.args.source or frame.args[1], frame.args.name or frame.args[2]) end  function p._findPage(source, name) 	local sourceData = getSourceData(source) 	return sourceData[name:gsub(&#039;—&#039;, &#039;&amp;mdash;&#039;)...&quot;</title>
		<link rel="alternate" type="text/html" href="https://hna.wiki/Module:Ref?diff=4030&amp;oldid=prev"/>
		<updated>2025-09-20T14:42:47Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;local p = {}  local SOURCES = { 	loading_screens = &amp;#039;Module:Ref/LoadingScreens&amp;#039;, }  function getSourceData(source) 	local sourcePath = SOURCES[source] 	assert(sourcePath, &amp;#039;Unknown source type&amp;#039;) 	return mw.loadData(sourcePath) end  function p.findPage(frame) 	return p._findPage(frame.args.source or frame.args[1], frame.args.name or frame.args[2]) end  function p._findPage(source, name) 	local sourceData = getSourceData(source) 	return sourceData[name:gsub(&amp;#039;—&amp;#039;, &amp;#039;—&amp;#039;)...&amp;quot;&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;
local SOURCES = {&lt;br /&gt;
	loading_screens = &amp;#039;Module:Ref/LoadingScreens&amp;#039;,&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function getSourceData(source)&lt;br /&gt;
	local sourcePath = SOURCES[source]&lt;br /&gt;
	assert(sourcePath, &amp;#039;Unknown source type&amp;#039;)&lt;br /&gt;
	return mw.loadData(sourcePath)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.findPage(frame)&lt;br /&gt;
	return p._findPage(frame.args.source or frame.args[1], frame.args.name or frame.args[2])&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._findPage(source, name)&lt;br /&gt;
	local sourceData = getSourceData(source)&lt;br /&gt;
	return sourceData[name:gsub(&amp;#039;—&amp;#039;, &amp;#039;&amp;amp;mdash;&amp;#039;)]&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local NUMERALS = {&amp;#039;I&amp;#039;, &amp;#039;II&amp;#039;, &amp;#039;III&amp;#039;, &amp;#039;IV&amp;#039;, &amp;#039;V&amp;#039;, &amp;#039;VI&amp;#039;, &amp;#039;VII&amp;#039;, &amp;#039;VIII&amp;#039;, &amp;#039;IX&amp;#039;, &amp;#039;X&amp;#039;}&lt;br /&gt;
&lt;br /&gt;
function secretKey(name, part)&lt;br /&gt;
	return name .. (part and (&amp;#039;/&amp;#039; .. part) or &amp;#039;&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.applyCommonArgs(out, args)&lt;br /&gt;
	if (args.note ~= nil) then&lt;br /&gt;
		out:wikitext(&amp;#039; (&amp;#039;, args.note, &amp;#039;)&amp;#039;)&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if (args.quote ~= nil or args.q ~= nil) then&lt;br /&gt;
		out:wikitext(&amp;quot;&amp;lt;br /&amp;gt;&amp;#039;&amp;#039;&amp;quot;, args.quote or args.q, &amp;quot;&amp;#039;&amp;#039;&amp;quot;)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.loadingScreen(frame)&lt;br /&gt;
	local args = require(&amp;#039;Module:Arguments&amp;#039;).getArgs(frame, {&lt;br /&gt;
		parentFirst = true,&lt;br /&gt;
		wrappers = {&amp;#039;Template:Ref/Loading Screen&amp;#039;}&lt;br /&gt;
	})&lt;br /&gt;
	return p._loadingScreen(args)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._loadingScreen(args)&lt;br /&gt;
	local data = getSourceData(&amp;#039;loading_screens&amp;#039;)&lt;br /&gt;
	local name = args.name or args[1]&lt;br /&gt;
	local page = tostring(data[name])&lt;br /&gt;
	&lt;br /&gt;
	local out = mw.html.create()&lt;br /&gt;
	&lt;br /&gt;
	if (page ~= nil) then&lt;br /&gt;
		out:wikitext(&amp;#039;Loading Screen: [[&amp;#039;, page, &amp;#039;#&amp;#039;, name, &amp;#039;|&amp;#039;, name, &amp;#039;]]&amp;#039;)&lt;br /&gt;
	else&lt;br /&gt;
		return out:tag(&amp;#039;span&amp;#039;):addClass(&amp;#039;text-error&amp;#039;):wikitext(&amp;#039;Unknown Loading Screen. Make sure [[Module:Ref/LoadingScreens]] is up to date. [[Category:Pages with Reference Errors]]&amp;#039;)&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	p.applyCommonArgs(out, args)&lt;br /&gt;
	&lt;br /&gt;
	return out&lt;br /&gt;
end		&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Sparda0</name></author>
	</entry>
</feed>