<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://misery.wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3ACraft_Usage</id>
	<title>Module:Craft Usage - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://misery.wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3ACraft_Usage"/>
	<link rel="alternate" type="text/html" href="https://misery.wiki/index.php?title=Module:Craft_Usage&amp;action=history"/>
	<updated>2026-08-05T08:50:07Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://misery.wiki/index.php?title=Module:Craft_Usage&amp;diff=2599&amp;oldid=prev</id>
		<title>Toster234 at 23:56, 28 June 2026</title>
		<link rel="alternate" type="text/html" href="https://misery.wiki/index.php?title=Module:Craft_Usage&amp;diff=2599&amp;oldid=prev"/>
		<updated>2026-06-28T23:56:11Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://misery.wiki/index.php?title=Module:Craft_Usage&amp;amp;diff=2599&amp;amp;oldid=2572&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Toster234</name></author>
	</entry>
	<entry>
		<id>https://misery.wiki/index.php?title=Module:Craft_Usage&amp;diff=2572&amp;oldid=prev</id>
		<title>Toster234 at 23:29, 28 June 2026</title>
		<link rel="alternate" type="text/html" href="https://misery.wiki/index.php?title=Module:Craft_Usage&amp;diff=2572&amp;oldid=prev"/>
		<updated>2026-06-28T23:29:06Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://misery.wiki/index.php?title=Module:Craft_Usage&amp;amp;diff=2572&amp;amp;oldid=2569&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Toster234</name></author>
	</entry>
	<entry>
		<id>https://misery.wiki/index.php?title=Module:Craft_Usage&amp;diff=2569&amp;oldid=prev</id>
		<title>Toster234: Created page with &quot;local p = {} local recipeParams = {   station = &#039;station&#039;,   time = &#039;time&#039;,   output = &#039;output&#039;,   yield = &#039;yield&#039;, }  local labels = { 	craftTitle = &#039;Crafting&#039;, 	craftInputText = &#039;The item can be used in the following craft recipes&#039;, 	craftOutputText = &#039;The item can be created in the following craft recipes&#039;, 	incineratorTitle = &#039;Incinerator&#039;, 	incineratorInputText = &#039;The item can be used in the following incinerator recipes&#039;, 	incineratorOutputText = &#039;The item can be c...&quot;</title>
		<link rel="alternate" type="text/html" href="https://misery.wiki/index.php?title=Module:Craft_Usage&amp;diff=2569&amp;oldid=prev"/>
		<updated>2026-06-28T23:15:41Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;local p = {} local recipeParams = {   station = &amp;#039;station&amp;#039;,   time = &amp;#039;time&amp;#039;,   output = &amp;#039;output&amp;#039;,   yield = &amp;#039;yield&amp;#039;, }  local labels = { 	craftTitle = &amp;#039;Crafting&amp;#039;, 	craftInputText = &amp;#039;The item can be used in the following craft recipes&amp;#039;, 	craftOutputText = &amp;#039;The item can be created in the following craft recipes&amp;#039;, 	incineratorTitle = &amp;#039;Incinerator&amp;#039;, 	incineratorInputText = &amp;#039;The item can be used in the following incinerator recipes&amp;#039;, 	incineratorOutputText = &amp;#039;The item can be c...&amp;quot;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 23:15, 28 June 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key mediawiki:diff:1.41:old-2575:rev-2569 --&gt;
&lt;/table&gt;</summary>
		<author><name>Toster234</name></author>
	</entry>
	<entry>
		<id>https://misery.wiki/index.php?title=Module:Craft_Usage&amp;diff=2575&amp;oldid=prev</id>
		<title>imported&gt;JarlHiemas at 14:37, 23 May 2026</title>
		<link rel="alternate" type="text/html" href="https://misery.wiki/index.php?title=Module:Craft_Usage&amp;diff=2575&amp;oldid=prev"/>
		<updated>2026-05-23T14:37:11Z</updated>

		<summary type="html">&lt;p&gt;&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;
local recipeParams = {&lt;br /&gt;
  station = &amp;#039;station&amp;#039;,&lt;br /&gt;
  time = &amp;#039;time&amp;#039;,&lt;br /&gt;
  output = &amp;#039;output&amp;#039;,&lt;br /&gt;
  yield = &amp;#039;yield&amp;#039;,&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
local labels = {&lt;br /&gt;
	craftTitle = &amp;#039;Crafting&amp;#039;,&lt;br /&gt;
	craftInputText = &amp;#039;The item can be used in the following craft recipes&amp;#039;,&lt;br /&gt;
	craftOutputText = &amp;#039;The item can be created in the following craft recipes&amp;#039;,&lt;br /&gt;
	incineratorTitle = &amp;#039;Incinerator&amp;#039;,&lt;br /&gt;
	incineratorInputText = &amp;#039;The item can be used in the following incinerator recipes&amp;#039;,&lt;br /&gt;
	incineratorOutputText = &amp;#039;The item can be created in the following incinerator recipes&amp;#039;,&lt;br /&gt;
	cookingTitle = &amp;#039;Cooking&amp;#039;,&lt;br /&gt;
	cookingInputText = &amp;#039;The item can be used in the following cooking recipes&amp;#039;,&lt;br /&gt;
	cookingOutputText = &amp;#039;The item can be created in the following cooking recipes&amp;#039;,&lt;br /&gt;
	farmingTitle = &amp;#039;Farming&amp;#039;,&lt;br /&gt;
	farmingInputText = &amp;#039;The item can be used to farm the following items&amp;#039;,&lt;br /&gt;
	farmingOutputText = &amp;#039;The item can be grown from the following items&amp;#039;,&lt;br /&gt;
	waterTitle = &amp;#039;Water Source&amp;#039;,&lt;br /&gt;
	waterInputText = &amp;#039;The item can be used at a water source to gain the following items&amp;#039;,&lt;br /&gt;
	waterOutputText = &amp;#039;The item can be gained at a water source by using the following items the following items&amp;#039;,&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function split(str, delimiter)&lt;br /&gt;
    local returnTable = {}&lt;br /&gt;
    for k, v in string.gmatch(str, &amp;quot;([^&amp;quot; .. delimiter .. &amp;quot;]+)&amp;quot;) &lt;br /&gt;
    do&lt;br /&gt;
        returnTable[#returnTable+1] = k&lt;br /&gt;
    end&lt;br /&gt;
    return returnTable&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
	local args = require(&amp;#039;Module:Arguments&amp;#039;).getArgs(frame, {&lt;br /&gt;
		parentFirst = true,&lt;br /&gt;
		wrapper = { &amp;#039;Template:Craft_Usage&amp;#039; }&lt;br /&gt;
	})&lt;br /&gt;
&lt;br /&gt;
	if not args.item then&lt;br /&gt;
		args.item = mw.title.getCurrentTitle().text	&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local title = mw.title.new(&amp;#039;Recipes&amp;#039;)	&lt;br /&gt;
	local content = title:getContent()&lt;br /&gt;
&lt;br /&gt;
	local recipeStringResult = &amp;#039;&amp;#039;&lt;br /&gt;
	for recipe in content:gmatch(&amp;#039;{{Recipe|[^}]*}}&amp;#039;) do&lt;br /&gt;
		recipeStringResult = recipeStringResult..recipe&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local recipes = {&lt;br /&gt;
		craftRecipes = {},&lt;br /&gt;
		incineratorRecipes = {},&lt;br /&gt;
		cookingRecipes = {},&lt;br /&gt;
		farmingRecipes = {},&lt;br /&gt;
		waterRecipes = {}&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	for recipeKey, recipe in pairs(split(recipeStringResult, &amp;#039;}}{{&amp;#039;)) do&lt;br /&gt;
		local typeKey = &amp;#039;craftRecipes&amp;#039;&lt;br /&gt;
		local recipeTable = {}&lt;br /&gt;
		local inputText = &amp;#039;&amp;#039;&lt;br /&gt;
		local inputs = {}&lt;br /&gt;
		local outputs = {}&lt;br /&gt;
		for propertyStringKey, propertyString in pairs(split(recipe, &amp;#039;|&amp;#039;)) do&lt;br /&gt;
			if not (propertyString  == &amp;#039;Recipe&amp;#039;) then&lt;br /&gt;
				local propertySplitTable = split(propertyString, &amp;#039;=&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
				if not recipeParams[propertySplitTable[1]] then&lt;br /&gt;
					inputText = inputText..&amp;#039;[[&amp;#039;..propertySplitTable[1]..&amp;#039;]]&amp;#039;..&amp;#039; x &amp;#039;..propertySplitTable[2]..&amp;#039;&amp;lt;/br&amp;gt;&amp;#039;&lt;br /&gt;
					inputs[propertySplitTable[1]] = true&lt;br /&gt;
				else&lt;br /&gt;
					recipeTable[propertySplitTable[1]] = propertySplitTable[2]&lt;br /&gt;
					&lt;br /&gt;
					if propertySplitTable[1] == &amp;#039;output&amp;#039; then&lt;br /&gt;
						outputs[propertySplitTable[2]] = true&lt;br /&gt;
					elseif propertySplitTable[1] == &amp;#039;station&amp;#039; then&lt;br /&gt;
						inputs[propertySplitTable[2]] = true&lt;br /&gt;
					end&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		recipeTable[&amp;#039;inputText&amp;#039;] = inputText&lt;br /&gt;
		&lt;br /&gt;
		if recipeTable.station == &amp;#039;Incinerator&amp;#039; then&lt;br /&gt;
			typeKey = &amp;#039;incineratorRecipes&amp;#039;&lt;br /&gt;
		elseif recipeTable.station == &amp;#039;Cooking&amp;#039; then&lt;br /&gt;
			typeKey = &amp;#039;cookingRecipes&amp;#039;&lt;br /&gt;
		elseif recipeTable.station == &amp;#039;Farming&amp;#039; then&lt;br /&gt;
			typeKey = &amp;#039;farmingRecipes&amp;#039;&lt;br /&gt;
		elseif recipeTable.station == &amp;#039;Water Source&amp;#039; then&lt;br /&gt;
			typeKey = &amp;#039;waterRecipes&amp;#039;&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		if (args.mode == &amp;#039;input&amp;#039; and inputs[args.item]) or (args.mode == &amp;#039;output&amp;#039; and outputs[args.item]) then&lt;br /&gt;
			table.insert(recipes[typeKey], recipeTable)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local wrapper = mw.html.create(&amp;#039;div&amp;#039;)&lt;br /&gt;
	&lt;br /&gt;
	if recipes.craftRecipes[1] then&lt;br /&gt;
		local craftWrapper = wrapper:tag(&amp;#039;div&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
		local craftTitleWrapper = craftWrapper:tag(&amp;#039;h3&amp;#039;)&lt;br /&gt;
		local craftTitle = craftTitleWrapper:tag(&amp;#039;span&amp;#039;):addClass(&amp;#039;mw-headline&amp;#039;):wikitext(labels.craftTitle)&lt;br /&gt;
		&lt;br /&gt;
		local craftTextLabel = &amp;#039;&amp;#039;&lt;br /&gt;
		if args.mode == &amp;#039;input&amp;#039; then&lt;br /&gt;
			craftTextLabel = labels.craftInputText&lt;br /&gt;
		elseif args.mode == &amp;#039;output&amp;#039; then&lt;br /&gt;
			craftTextLabel = labels.craftOutputText&lt;br /&gt;
		end&lt;br /&gt;
	&lt;br /&gt;
		local craftText = craftWrapper:tag(&amp;#039;p&amp;#039;):wikitext(craftTextLabel)&lt;br /&gt;
		&lt;br /&gt;
		local _table = craftWrapper:tag(&amp;#039;table&amp;#039;):addClass(&amp;#039;fandom-table article-table sortable alternating-colors-table&amp;#039;)&lt;br /&gt;
		local tr = _table:tag(&amp;#039;tr&amp;#039;)&lt;br /&gt;
		tr:tag(&amp;#039;th&amp;#039;):wikitext(&amp;#039;Ingredients&amp;#039;)&lt;br /&gt;
		tr:tag(&amp;#039;th&amp;#039;):wikitext(&amp;#039;Station&amp;#039;)&lt;br /&gt;
		tr:tag(&amp;#039;th&amp;#039;):wikitext(&amp;#039;Time&amp;#039;)&lt;br /&gt;
		tr:tag(&amp;#039;th&amp;#039;):wikitext(&amp;#039;Output&amp;#039;)&lt;br /&gt;
	&lt;br /&gt;
		for recipeKey, recipe in pairs(recipes.craftRecipes) do&lt;br /&gt;
			if recipe.output then&lt;br /&gt;
				local tr = _table:tag(&amp;#039;tr&amp;#039;)&lt;br /&gt;
				tr:tag(&amp;#039;td&amp;#039;):wikitext(recipe.inputText or &amp;quot; - &amp;quot;)&lt;br /&gt;
		&lt;br /&gt;
				tr:tag(&amp;#039;td&amp;#039;):wikitext(recipe.station and &amp;#039;[[&amp;#039;..recipe.station..&amp;#039;]]&amp;#039; or &amp;quot; - &amp;quot;)&lt;br /&gt;
		&lt;br /&gt;
				tr:tag(&amp;#039;td&amp;#039;):wikitext(recipe.time or &amp;quot; - &amp;quot;)&lt;br /&gt;
		&lt;br /&gt;
				tr:tag(&amp;#039;td&amp;#039;):wikitext(&amp;#039;[[&amp;#039;..recipe.output..&amp;#039;]]&amp;#039;..&amp;quot; x &amp;quot;..(recipe.yield or 1))&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if recipes.incineratorRecipes[1] then&lt;br /&gt;
		local incineratorWrapper = wrapper:tag(&amp;#039;div&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
		local incineratorTitleWrapper = incineratorWrapper:tag(&amp;#039;h3&amp;#039;)&lt;br /&gt;
		local incineratorTitle = incineratorTitleWrapper:tag(&amp;#039;span&amp;#039;):addClass(&amp;#039;mw-headline&amp;#039;):wikitext(labels.incineratorTitle)&lt;br /&gt;
		&lt;br /&gt;
		local incineratorTextLabel = &amp;#039;&amp;#039;&lt;br /&gt;
		if args.mode == &amp;#039;input&amp;#039; then&lt;br /&gt;
			incineratorTextLabel = labels.incineratorInputText&lt;br /&gt;
		elseif args.mode == &amp;#039;output&amp;#039; then&lt;br /&gt;
			incineratorTextLabel = labels.incineratorOutputText&lt;br /&gt;
		end&lt;br /&gt;
	&lt;br /&gt;
		local incineratorText = incineratorWrapper:tag(&amp;#039;p&amp;#039;):wikitext(incineratorTextLabel)&lt;br /&gt;
		&lt;br /&gt;
		local _table = incineratorWrapper:tag(&amp;#039;table&amp;#039;):addClass(&amp;#039;fandom-table article-table sortable alternating-colors-table&amp;#039;)&lt;br /&gt;
		local tr = _table:tag(&amp;#039;tr&amp;#039;)&lt;br /&gt;
		tr:tag(&amp;#039;th&amp;#039;):wikitext(&amp;#039;Ingredients&amp;#039;)&lt;br /&gt;
		tr:tag(&amp;#039;th&amp;#039;):wikitext(&amp;#039;Output&amp;#039;)&lt;br /&gt;
	&lt;br /&gt;
		for recipeKey, recipe in pairs(recipes.incineratorRecipes) do&lt;br /&gt;
			if recipe.output then&lt;br /&gt;
				local tr = _table:tag(&amp;#039;tr&amp;#039;)&lt;br /&gt;
				tr:tag(&amp;#039;td&amp;#039;):wikitext(recipe.inputText or &amp;quot; - &amp;quot;)&lt;br /&gt;
		&lt;br /&gt;
				tr:tag(&amp;#039;td&amp;#039;):wikitext(&amp;#039;[[&amp;#039;..recipe.output..&amp;#039;]]&amp;#039;..&amp;quot; x &amp;quot;..(recipe.yield or 1))&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if recipes.cookingRecipes[1] then&lt;br /&gt;
		local cookingWrapper = wrapper:tag(&amp;#039;div&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
		local cookingTitleWrapper = cookingWrapper:tag(&amp;#039;h3&amp;#039;)&lt;br /&gt;
		local cookingTitle = cookingTitleWrapper:tag(&amp;#039;span&amp;#039;):addClass(&amp;#039;mw-headline&amp;#039;):wikitext(labels.cookingTitle)&lt;br /&gt;
		&lt;br /&gt;
		local cookingTextLabel = &amp;#039;&amp;#039;&lt;br /&gt;
		if args.mode == &amp;#039;input&amp;#039; then&lt;br /&gt;
			cookingTextLabel = labels.cookingInputText&lt;br /&gt;
		elseif args.mode == &amp;#039;output&amp;#039; then&lt;br /&gt;
			cookingTextLabel = labels.cookingOutputText&lt;br /&gt;
		end&lt;br /&gt;
	&lt;br /&gt;
		local cookingText = cookingWrapper:tag(&amp;#039;p&amp;#039;):wikitext(cookingTextLabel)&lt;br /&gt;
		&lt;br /&gt;
		local _table = cookingWrapper:tag(&amp;#039;table&amp;#039;):addClass(&amp;#039;fandom-table article-table sortable alternating-colors-table&amp;#039;)&lt;br /&gt;
		local tr = _table:tag(&amp;#039;tr&amp;#039;)&lt;br /&gt;
		tr:tag(&amp;#039;th&amp;#039;):wikitext(&amp;#039;Ingredients&amp;#039;)&lt;br /&gt;
		tr:tag(&amp;#039;th&amp;#039;):wikitext(&amp;#039;Output&amp;#039;)&lt;br /&gt;
	&lt;br /&gt;
		for recipeKey, recipe in pairs(recipes.cookingRecipes) do&lt;br /&gt;
			if recipe.output then&lt;br /&gt;
				local tr = _table:tag(&amp;#039;tr&amp;#039;)&lt;br /&gt;
				tr:tag(&amp;#039;td&amp;#039;):wikitext(recipe.inputText or &amp;quot; - &amp;quot;)&lt;br /&gt;
		&lt;br /&gt;
				tr:tag(&amp;#039;td&amp;#039;):wikitext(&amp;#039;[[&amp;#039;..recipe.output..&amp;#039;]]&amp;#039;..&amp;quot; x &amp;quot;..(recipe.yield or 1))&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if recipes.farmingRecipes[1] then&lt;br /&gt;
		local farmingWrapper = wrapper:tag(&amp;#039;div&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
		local farmingTitleWrapper = farmingWrapper:tag(&amp;#039;h3&amp;#039;)&lt;br /&gt;
		local farmingTitle = farmingTitleWrapper:tag(&amp;#039;span&amp;#039;):addClass(&amp;#039;mw-headline&amp;#039;):wikitext(labels.farmingTitle)&lt;br /&gt;
		&lt;br /&gt;
		local farmingTextLabel = &amp;#039;&amp;#039;&lt;br /&gt;
		if args.mode == &amp;#039;input&amp;#039; then&lt;br /&gt;
			farmingTextLabel = labels.farmingInputText&lt;br /&gt;
		elseif args.mode == &amp;#039;output&amp;#039; then&lt;br /&gt;
			farmingTextLabel = labels.farmingOutputText&lt;br /&gt;
		end&lt;br /&gt;
	&lt;br /&gt;
		local farmingText = farmingWrapper:tag(&amp;#039;p&amp;#039;):wikitext(farmingTextLabel)&lt;br /&gt;
		&lt;br /&gt;
		local _table = farmingWrapper:tag(&amp;#039;table&amp;#039;):addClass(&amp;#039;fandom-table article-table sortable alternating-colors-table&amp;#039;)&lt;br /&gt;
		local tr = _table:tag(&amp;#039;tr&amp;#039;)&lt;br /&gt;
		tr:tag(&amp;#039;th&amp;#039;):wikitext(&amp;#039;Ingredients&amp;#039;)&lt;br /&gt;
		tr:tag(&amp;#039;th&amp;#039;):wikitext(&amp;#039;Output&amp;#039;)&lt;br /&gt;
	&lt;br /&gt;
		for recipeKey, recipe in pairs(recipes.farmingRecipes) do&lt;br /&gt;
			if recipe.output then&lt;br /&gt;
				local tr = _table:tag(&amp;#039;tr&amp;#039;)&lt;br /&gt;
				tr:tag(&amp;#039;td&amp;#039;):wikitext(recipe.inputText or &amp;quot; - &amp;quot;)&lt;br /&gt;
		&lt;br /&gt;
				tr:tag(&amp;#039;td&amp;#039;):wikitext(&amp;#039;[[&amp;#039;..recipe.output..&amp;#039;]]&amp;#039;..&amp;quot; x &amp;quot;..(recipe.yield or 1))&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if recipes.waterRecipes[1] then&lt;br /&gt;
		local waterWrapper = wrapper:tag(&amp;#039;div&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
		local waterTitleWrapper = waterWrapper:tag(&amp;#039;h3&amp;#039;)&lt;br /&gt;
		local waterTitle = waterTitleWrapper:tag(&amp;#039;span&amp;#039;):addClass(&amp;#039;mw-headline&amp;#039;):wikitext(labels.waterTitle)&lt;br /&gt;
		&lt;br /&gt;
		local waterTextLabel = &amp;#039;&amp;#039;&lt;br /&gt;
		if args.mode == &amp;#039;input&amp;#039; then&lt;br /&gt;
			waterTextLabel = labels.waterInputText&lt;br /&gt;
		elseif args.mode == &amp;#039;output&amp;#039; then&lt;br /&gt;
			waterTextLabel = labels.waterOutputText&lt;br /&gt;
		end&lt;br /&gt;
	&lt;br /&gt;
		local waterText = waterWrapper:tag(&amp;#039;p&amp;#039;):wikitext(waterTextLabel)&lt;br /&gt;
		&lt;br /&gt;
		local _table = waterWrapper:tag(&amp;#039;table&amp;#039;):addClass(&amp;#039;fandom-table article-table sortable alternating-colors-table&amp;#039;)&lt;br /&gt;
		local tr = _table:tag(&amp;#039;tr&amp;#039;)&lt;br /&gt;
		tr:tag(&amp;#039;th&amp;#039;):wikitext(&amp;#039;Ingredients&amp;#039;)&lt;br /&gt;
		tr:tag(&amp;#039;th&amp;#039;):wikitext(&amp;#039;Output&amp;#039;)&lt;br /&gt;
	&lt;br /&gt;
		for recipeKey, recipe in pairs(recipes.waterRecipes) do&lt;br /&gt;
			if recipe.output then&lt;br /&gt;
				local tr = _table:tag(&amp;#039;tr&amp;#039;)&lt;br /&gt;
				tr:tag(&amp;#039;td&amp;#039;):wikitext(recipe.inputText or &amp;quot; - &amp;quot;)&lt;br /&gt;
		&lt;br /&gt;
				tr:tag(&amp;#039;td&amp;#039;):wikitext(&amp;#039;[[&amp;#039;..recipe.output..&amp;#039;]]&amp;#039;..&amp;quot; x &amp;quot;..(recipe.yield or 1))&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	return wrapper&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>imported&gt;JarlHiemas</name></author>
	</entry>
</feed>