<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.runerealm.org/index.php?action=history&amp;feed=atom&amp;title=Module%3ALevel_up_table</id>
	<title>Module:Level up table - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.runerealm.org/index.php?action=history&amp;feed=atom&amp;title=Module%3ALevel_up_table"/>
	<link rel="alternate" type="text/html" href="https://wiki.runerealm.org/index.php?title=Module:Level_up_table&amp;action=history"/>
	<updated>2026-04-30T23:37:00Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://wiki.runerealm.org/index.php?title=Module:Level_up_table&amp;diff=34200&amp;oldid=prev</id>
		<title>Alex: Created page with &quot;-- -- Implements Template:Level up table --  local p = {}  local params = require(&#039;Module:Paramtest&#039;)  function p._make_table(args) 	local max_level = 99  	local ret = mw.html.create(&#039;table&#039;) 				:addClass(&#039;wikitable&#039;) 				:addClass(&#039;level-up-table&#039;) 				:css( &#039;width&#039;, &#039;100%&#039; ) 			:tag(&#039;tr&#039;) 				:tag(&#039;th&#039;) 					:wikitext(&#039;Level&#039;) 					:done() 				:tag(&#039;th&#039;) 					:attr(&#039;colspan&#039;,&#039;2&#039;) 					:wikitext(&#039;New abilities&#039;) 					:done() 			:done() 	:done()  	local has_freeplay...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.runerealm.org/index.php?title=Module:Level_up_table&amp;diff=34200&amp;oldid=prev"/>
		<updated>2024-10-15T23:28:07Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;-- -- Implements &lt;a href=&quot;/w/Template:Level_up_table&quot; title=&quot;Template:Level up table&quot;&gt;Template:Level up table&lt;/a&gt; --  local p = {}  local params = require(&amp;#039;Module:Paramtest&amp;#039;)  function p._make_table(args) 	local max_level = 99  	local ret = mw.html.create(&amp;#039;table&amp;#039;) 				:addClass(&amp;#039;wikitable&amp;#039;) 				:addClass(&amp;#039;level-up-table&amp;#039;) 				:css( &amp;#039;width&amp;#039;, &amp;#039;100%&amp;#039; ) 			:tag(&amp;#039;tr&amp;#039;) 				:tag(&amp;#039;th&amp;#039;) 					:wikitext(&amp;#039;Level&amp;#039;) 					:done() 				:tag(&amp;#039;th&amp;#039;) 					:attr(&amp;#039;colspan&amp;#039;,&amp;#039;2&amp;#039;) 					:wikitext(&amp;#039;New abilities&amp;#039;) 					:done() 			:done() 	:done()  	local has_freeplay...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;--&lt;br /&gt;
-- Implements [[Template:Level up table]]&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
local params = require(&amp;#039;Module:Paramtest&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
function p._make_table(args)&lt;br /&gt;
	local max_level = 99&lt;br /&gt;
&lt;br /&gt;
	local ret = mw.html.create(&amp;#039;table&amp;#039;)&lt;br /&gt;
				:addClass(&amp;#039;wikitable&amp;#039;)&lt;br /&gt;
				:addClass(&amp;#039;level-up-table&amp;#039;)&lt;br /&gt;
				:css( &amp;#039;width&amp;#039;, &amp;#039;100%&amp;#039; )&lt;br /&gt;
			:tag(&amp;#039;tr&amp;#039;)&lt;br /&gt;
				:tag(&amp;#039;th&amp;#039;)&lt;br /&gt;
					:wikitext(&amp;#039;Level&amp;#039;)&lt;br /&gt;
					:done()&lt;br /&gt;
				:tag(&amp;#039;th&amp;#039;)&lt;br /&gt;
					:attr(&amp;#039;colspan&amp;#039;,&amp;#039;2&amp;#039;)&lt;br /&gt;
					:wikitext(&amp;#039;New abilities&amp;#039;)&lt;br /&gt;
					:done()&lt;br /&gt;
			:done()&lt;br /&gt;
	:done()&lt;br /&gt;
&lt;br /&gt;
	local has_freeplayall = params.has_content(args.freeplayall)&lt;br /&gt;
	local has_membersall = params.has_content(args.membersall)&lt;br /&gt;
&lt;br /&gt;
	if has_membersall or has_freeplayall then&lt;br /&gt;
		local row = ret:tag(&amp;#039;tr&amp;#039;)&lt;br /&gt;
		local th = row:tag(&amp;#039;th&amp;#039;):wikitext(&amp;#039;Each level&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
		if has_freeplayall then&lt;br /&gt;
			row:tag(&amp;#039;td&amp;#039;)&lt;br /&gt;
				:addClass(&amp;#039;lvlupfree&amp;#039;)&lt;br /&gt;
				:wikitext(&amp;#039;[[File:Free-to-play icon.png|center|link=Free-to-play]]&amp;#039;)&lt;br /&gt;
				:done()&lt;br /&gt;
			:tag(&amp;#039;td&amp;#039;)&lt;br /&gt;
				:wikitext(&amp;#039;\n&amp;#039;..args.freeplayall..&amp;#039;\n&amp;#039;)&lt;br /&gt;
				:done()&lt;br /&gt;
			:done()&lt;br /&gt;
		end&lt;br /&gt;
		if has_membersall and has_freeplayall then&lt;br /&gt;
			th:attr(&amp;#039;rowspan&amp;#039;, &amp;#039;2&amp;#039;)&lt;br /&gt;
			row = ret:tag(&amp;#039;tr&amp;#039;)&lt;br /&gt;
		end&lt;br /&gt;
		if has_membersall then&lt;br /&gt;
			row:tag(&amp;#039;td&amp;#039;)&lt;br /&gt;
				:addClass(&amp;#039;lvlupmem&amp;#039;)&lt;br /&gt;
				:wikitext(&amp;#039;[[File:Member icon.png|center|link=Members]]&amp;#039;)&lt;br /&gt;
				:done()&lt;br /&gt;
			:tag(&amp;#039;td&amp;#039;)&lt;br /&gt;
				:wikitext(&amp;#039;\n&amp;#039;..args.membersall..&amp;#039;\n&amp;#039;)&lt;br /&gt;
				:done()&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	for i=1,max_level,1 do&lt;br /&gt;
		local free_level_arg = &amp;#039;freeplay&amp;#039;..i&lt;br /&gt;
		local mems_level_arg = &amp;#039;members&amp;#039;..i&lt;br /&gt;
		local has_cur_free = params.has_content(args[free_level_arg])&lt;br /&gt;
		local has_cur_mems = params.has_content(args[mems_level_arg])&lt;br /&gt;
&lt;br /&gt;
		local row = ret:tag(&amp;#039;tr&amp;#039;)&lt;br /&gt;
		local th = row:tag(&amp;#039;th&amp;#039;):wikitext(i):attr(&amp;#039;id&amp;#039;,i)&lt;br /&gt;
&lt;br /&gt;
		if has_cur_free then&lt;br /&gt;
			row:tag(&amp;#039;td&amp;#039;)&lt;br /&gt;
				:addClass(&amp;#039;lvlupfree&amp;#039;)&lt;br /&gt;
				:wikitext(&amp;#039;[[File:Free-to-play icon.png|center|link=Free-to-play]]&amp;#039;)&lt;br /&gt;
				:done()&lt;br /&gt;
			:tag(&amp;#039;td&amp;#039;)&lt;br /&gt;
				:wikitext(&amp;#039;\n&amp;#039;..args[free_level_arg]..&amp;#039;\n&amp;#039;)&lt;br /&gt;
		end&lt;br /&gt;
		if has_cur_free and has_cur_mems then&lt;br /&gt;
			th:attr(&amp;#039;rowspan&amp;#039;, &amp;#039;2&amp;#039;)&lt;br /&gt;
			row = ret:tag(&amp;#039;tr&amp;#039;)&lt;br /&gt;
		end&lt;br /&gt;
		if has_cur_mems then&lt;br /&gt;
			row:tag(&amp;#039;td&amp;#039;)&lt;br /&gt;
				:addClass(&amp;#039;lvlupmem&amp;#039;)&lt;br /&gt;
				:wikitext(&amp;#039;[[File:Member icon.png|center|link=Members]]&amp;#039;)&lt;br /&gt;
				:done()&lt;br /&gt;
			:tag(&amp;#039;td&amp;#039;)&lt;br /&gt;
				:wikitext(&amp;#039;\n&amp;#039;..args[mems_level_arg]..&amp;#039;\n&amp;#039;)&lt;br /&gt;
		end&lt;br /&gt;
		if not has_cur_free and not has_cur_mems then&lt;br /&gt;
			row:tag(&amp;#039;td&amp;#039;)&lt;br /&gt;
				:attr(&amp;#039;colspan&amp;#039;,&amp;#039;2&amp;#039;)&lt;br /&gt;
				:addClass(&amp;#039;table-na&amp;#039;)&lt;br /&gt;
				:wikitext(&amp;#039;No new abilities unlocked&amp;#039;)&lt;br /&gt;
				:done()&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return ret&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.make_table(frame)&lt;br /&gt;
	return p._make_table(frame:getParent().args)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Alex</name></author>
	</entry>
</feed>