<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://hokutonoken.wiki/en/index.php?action=history&amp;feed=atom&amp;title=Module%3ATlx</id>
	<title>Module:Tlx - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://hokutonoken.wiki/en/index.php?action=history&amp;feed=atom&amp;title=Module%3ATlx"/>
	<link rel="alternate" type="text/html" href="https://hokutonoken.wiki/en/index.php?title=Module:Tlx&amp;action=history"/>
	<updated>2026-04-12T16:20:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://hokutonoken.wiki/en/index.php?title=Module:Tlx&amp;diff=24637&amp;oldid=prev</id>
		<title>New World God: Created page with &quot;local p = {}   -- Credit: Layton Wikia function p.tlx( frame ) 	local a = frame:getParent().args 	local page = a[1] 	if not page then return &#039;&#039; end   	local prefix = a.prefix ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://hokutonoken.wiki/en/index.php?title=Module:Tlx&amp;diff=24637&amp;oldid=prev"/>
		<updated>2016-09-14T08:59:15Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;local p = {}   -- Credit: Layton Wikia function p.tlx( frame ) 	local a = frame:getParent().args 	local page = a[1] 	if not page then return &amp;#039;&amp;#039; end   	local prefix = a.prefix ...&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;
-- Credit: Layton Wikia&lt;br /&gt;
function p.tlx( frame )&lt;br /&gt;
	local a = frame:getParent().args&lt;br /&gt;
	local page = a[1]&lt;br /&gt;
	if not page then return &amp;#039;&amp;#039; end&lt;br /&gt;
 &lt;br /&gt;
	local prefix = a.prefix and a.prefix .. &amp;#039;:&amp;#039; or &amp;#039;&amp;#039;&lt;br /&gt;
	local ns = &amp;#039;Template:&amp;#039; --Default&lt;br /&gt;
 &lt;br /&gt;
	-- Check Namespace&lt;br /&gt;
	if a.prefix == &amp;#039;#invoke&amp;#039; then ns = &amp;#039;Module:&amp;#039;&lt;br /&gt;
	elseif a.subst == &amp;#039;true&amp;#039; then prefix = &amp;#039;subst:&amp;#039;&lt;br /&gt;
	else&lt;br /&gt;
		local pageNs = page:match(&amp;#039;^(.-):&amp;#039;)&lt;br /&gt;
		if pageNs and ( pageNs == &amp;#039;&amp;#039; or mw.site.namespaces[pageNs] ) then&lt;br /&gt;
			ns = &amp;#039;&amp;#039;&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
 &lt;br /&gt;
	-- Build Output&lt;br /&gt;
	local out = { &amp;#039;{{&amp;#039;,prefix,&amp;#039;[[&amp;#039;,ns,page,&amp;#039;|&amp;#039;,page,&amp;#039;]]&amp;#039; }&lt;br /&gt;
 &lt;br /&gt;
	local i = 2&lt;br /&gt;
	while a[i] ~= nil do&lt;br /&gt;
		local arg = a[i]&lt;br /&gt;
		if arg then&lt;br /&gt;
			local f = arg:find(&amp;#039;=&amp;#039;)&lt;br /&gt;
			if f then&lt;br /&gt;
				out[#out+1] = &amp;#039;|&amp;#039; .. arg:sub(0,f) .. &amp;#039;&amp;lt;span style=&amp;quot;color:#999;&amp;quot;&amp;gt;&amp;amp;lt;&amp;#039; .. arg:sub(f+1) .. &amp;#039;&amp;amp;gt;&amp;lt;/span&amp;gt;&amp;#039;&lt;br /&gt;
			else&lt;br /&gt;
				out[#out+1] = &amp;#039;|&amp;lt;span style=&amp;quot;color:#999;&amp;quot;&amp;gt;&amp;amp;lt;&amp;#039; .. arg .. &amp;#039;&amp;amp;gt;&amp;lt;/span&amp;gt;&amp;#039;&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		i = i + 1&lt;br /&gt;
	end&lt;br /&gt;
 &lt;br /&gt;
	out[#out+1] = &amp;#039;}}&amp;#039;&lt;br /&gt;
 &lt;br /&gt;
	if a.style == &amp;#039;code&amp;#039; then&lt;br /&gt;
		out[1] = &amp;#039;&amp;lt;code&amp;gt;{{&amp;#039;&lt;br /&gt;
		out[#out+1] = &amp;#039;&amp;lt;/code&amp;gt;&amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
 &lt;br /&gt;
	return table.concat(out)&lt;br /&gt;
end&lt;br /&gt;
 &lt;br /&gt;
return p&lt;br /&gt;
--[[Category:Lua Modules]]&lt;/div&gt;</summary>
		<author><name>New World God</name></author>
	</entry>
</feed>