<?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%3ACrafting%2Fdoc</id>
	<title>Module:Crafting/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%3ACrafting%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.perfecttower2.com/w/index.php?title=Module:Crafting/doc&amp;action=history"/>
	<updated>2026-10-07T15:32:29Z</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:Crafting/doc&amp;diff=4331&amp;oldid=prev</id>
		<title>Speedybrain: Documentation</title>
		<link rel="alternate" type="text/html" href="https://wiki.perfecttower2.com/w/index.php?title=Module:Crafting/doc&amp;diff=4331&amp;oldid=prev"/>
		<updated>2026-10-07T01:49:10Z</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;Backs [[Template:Crafting|&amp;lt;nowiki&amp;gt;{{Crafting}}&amp;lt;/nowiki&amp;gt;]], which shows a [[Factory]] crafting recipe as the game&amp;#039;s crafting grid, on [[Factory/Recipes/Crafting]] (and [[Factory/Recipes]], which includes it). Inspired by [https://minecraft.wiki/w/Module:Crafting Minecraft Wiki&amp;#039;s Module:Crafting].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;main(frame)&amp;lt;/code&amp;gt; reads the template&amp;#039;s arguments and passes them to &amp;lt;code&amp;gt;table&amp;lt;/code&amp;gt; in [[Module:Recipe table]], with:&lt;br /&gt;
* &amp;lt;code&amp;gt;uiMethod = &amp;quot;crafting&amp;quot;&amp;lt;/code&amp;gt;: the grid is drawn by &amp;lt;code&amp;gt;crafting&amp;lt;/code&amp;gt; in [[Module:UI]];&lt;br /&gt;
* the 32 input slots &amp;lt;code&amp;gt;A1&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;H4&amp;lt;/code&amp;gt; (columns A to H, rows 1 to 4) and the output slot &amp;lt;code&amp;gt;Output&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Each slot takes an item, optionally followed by a comma and a count, such as &amp;lt;code&amp;gt;Circuit Plate [T3]&amp;lt;/code&amp;gt;; see [[Module:Factory slot]]. The other parameters (&amp;lt;code&amp;gt;cost&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;showName&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;head&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;continue&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;foot&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;class&amp;lt;/code&amp;gt;) are handled by [[Module:Recipe table]] and [[Module:UI]]. Usage is on [[Template:Crafting]].&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>