<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://tibiacraft.com/index.php?action=history&amp;feed=atom&amp;title=Module%3ABlock_value</id>
	<title>Module:Block value - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://tibiacraft.com/index.php?action=history&amp;feed=atom&amp;title=Module%3ABlock_value"/>
	<link rel="alternate" type="text/html" href="http://tibiacraft.com/index.php?title=Module:Block_value&amp;action=history"/>
	<updated>2026-07-17T03:57:12Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>http://tibiacraft.com/index.php?title=Module:Block_value&amp;diff=230&amp;oldid=prev</id>
		<title>Root: Created page with &quot;local p = {}  function p.value( f ) 	local args = f 	if f == mw.getCurrentFrame() then  		args = require( &#039;Module:ProcessArgs&#039; ).merge( true ) 	end 	local block = mw.text.trim( args[1] or &#039;&#039; ):lower() 	local argType = args.type 	 	local values = mw.loadData( &#039;Module:&#039; .. argType .. &#039; values&#039; ) 	local value = values[block] 	local category = &#039;&#039; 	if not value then 		value = values[block:gsub( &#039;s$&#039;, &#039;&#039; )] 		 		if not value then 			value = &#039;[[Template:&#039; .. argType .. &#039; values...&quot;</title>
		<link rel="alternate" type="text/html" href="http://tibiacraft.com/index.php?title=Module:Block_value&amp;diff=230&amp;oldid=prev"/>
		<updated>2025-10-04T20:09:25Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;local p = {}  function p.value( f ) 	local args = f 	if f == mw.getCurrentFrame() then  		args = require( &amp;#039;Module:ProcessArgs&amp;#039; ).merge( true ) 	end 	local block = mw.text.trim( args[1] or &amp;#039;&amp;#039; ):lower() 	local argType = args.type 	 	local values = mw.loadData( &amp;#039;Module:&amp;#039; .. argType .. &amp;#039; values&amp;#039; ) 	local value = values[block] 	local category = &amp;#039;&amp;#039; 	if not value then 		value = values[block:gsub( &amp;#039;s$&amp;#039;, &amp;#039;&amp;#039; )] 		 		if not value then 			value = &amp;#039;[[Template:&amp;#039; .. argType .. &amp;#039; values...&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;
function p.value( f )&lt;br /&gt;
	local args = f&lt;br /&gt;
	if f == mw.getCurrentFrame() then &lt;br /&gt;
		args = require( &amp;#039;Module:ProcessArgs&amp;#039; ).merge( true )&lt;br /&gt;
	end&lt;br /&gt;
	local block = mw.text.trim( args[1] or &amp;#039;&amp;#039; ):lower()&lt;br /&gt;
	local argType = args.type&lt;br /&gt;
	&lt;br /&gt;
	local values = mw.loadData( &amp;#039;Module:&amp;#039; .. argType .. &amp;#039; values&amp;#039; )&lt;br /&gt;
	local value = values[block]&lt;br /&gt;
	local category = &amp;#039;&amp;#039;&lt;br /&gt;
	if not value then&lt;br /&gt;
		value = values[block:gsub( &amp;#039;s$&amp;#039;, &amp;#039;&amp;#039; )]&lt;br /&gt;
		&lt;br /&gt;
		if not value then&lt;br /&gt;
			value = &amp;#039;[[Template:&amp;#039; .. argType .. &amp;#039; values#Missing value|?]]&amp;#039;&lt;br /&gt;
			local title = mw.title.getCurrentTitle()&lt;br /&gt;
			if not args.nocat and title.namespace == 0 and not title.isSubpage then&lt;br /&gt;
				category = &amp;#039;[[Category:Missing &amp;#039; .. argType:lower() .. &amp;#039;]]&amp;#039;&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return value .. category&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Root</name></author>
	</entry>
</feed>