<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.perfecttower2.com/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AInfobox%2Fdoc</id>
	<title>Module:Infobox/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.perfecttower2.com/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AInfobox%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.perfecttower2.com/w/index.php?title=Module:Infobox/doc&amp;action=history"/>
	<updated>2026-10-07T15:30:49Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://wiki.perfecttower2.com/w/index.php?title=Module:Infobox/doc&amp;diff=4328&amp;oldid=prev</id>
		<title>Speedybrain: Documentation</title>
		<link rel="alternate" type="text/html" href="https://wiki.perfecttower2.com/w/index.php?title=Module:Infobox/doc&amp;diff=4328&amp;oldid=prev"/>
		<updated>2026-10-07T01:49:02Z</updated>

		<summary type="html">&lt;p&gt;Documentation&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Draws the infoboxes of [[Template:Building|&amp;lt;nowiki&amp;gt;{{Building}}&amp;lt;/nowiki&amp;gt;]] (the 12 town buildings) and [[Template:Infobox region|&amp;lt;nowiki&amp;gt;{{Infobox region}}&amp;lt;/nowiki&amp;gt;]], in the brand kit&amp;#039;s &amp;lt;code&amp;gt;.tpt-infobox&amp;lt;/code&amp;gt; style. [[Template:Infobox/styles.css]] (TemplateStyles) places the box beside the article.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;building(frame)&amp;lt;/code&amp;gt;: reads &amp;lt;code&amp;gt;Tier&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;ConversionRate&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Color&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;Image&amp;lt;/code&amp;gt; from the template; &amp;lt;code&amp;gt;ColorCode&amp;lt;/code&amp;gt; is ignored. The title is the page name. On the 12 building pages the page name also sets the building&amp;#039;s color (&amp;lt;code&amp;gt;tpt-fac-*&amp;lt;/code&amp;gt;), and the hexagon shows the max tier as a Roman numeral (tiers 1 to 39). Rows, each only when given: Max. tier, Conversion (&amp;lt;code&amp;gt;rate:1&amp;lt;/code&amp;gt;) and Resource. Adds [[:Category:Buildings]] in the main namespace.&lt;br /&gt;
* &amp;lt;code&amp;gt;region(frame)&amp;lt;/code&amp;gt;: reads &amp;lt;code&amp;gt;image&amp;lt;/code&amp;gt; (default &amp;lt;code&amp;gt;Image missing.png&amp;lt;/code&amp;gt;), &amp;lt;code&amp;gt;lanes&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;enemies&amp;lt;/code&amp;gt; and the difficulty modifiers &amp;lt;code&amp;gt;easy&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;medium&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;hard&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;insane&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;nightmare&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;impossible&amp;lt;/code&amp;gt;, which show as percentages through [[Template:Number|&amp;lt;nowiki&amp;gt;{{Number}}&amp;lt;/nowiki&amp;gt;]]. Empty values show [[Template:Unknown|&amp;lt;nowiki&amp;gt;{{Unknown}}&amp;lt;/nowiki&amp;gt;]]. Adds [[:Category:Regions]] in the main namespace.&lt;br /&gt;
* &amp;lt;code&amp;gt;build(spec)&amp;lt;/code&amp;gt;: the box itself, for other modules; returns an &amp;lt;code&amp;gt;mw.html&amp;lt;/code&amp;gt; object. &amp;lt;code&amp;gt;spec&amp;lt;/code&amp;gt; has &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;label&amp;lt;/code&amp;gt; (the small line under the title), &amp;lt;code&amp;gt;facility&amp;lt;/code&amp;gt; (a brand kit facility id such as &amp;lt;code&amp;gt;trading-post&amp;lt;/code&amp;gt;), &amp;lt;code&amp;gt;mark&amp;lt;/code&amp;gt; (text in the hexagon), &amp;lt;code&amp;gt;image&amp;lt;/code&amp;gt; (wikitext), &amp;lt;code&amp;gt;rows&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;{ { label, value }, … }&amp;lt;/code&amp;gt;) and &amp;lt;code&amp;gt;sections&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;{ { heading, rows }, … }&amp;lt;/code&amp;gt;). All fields except &amp;lt;code&amp;gt;title&amp;lt;/code&amp;gt; are optional.&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- Categories below this line --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Module documentation pages]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Speedybrain</name></author>
	</entry>
</feed>