Difference between revisions of "Template:Grid/Furnace/doc"

From Industrial-Craft-Wiki
Jump to navigation Jump to search
m (→‎Animated: Fixed output amounts)
m (→‎Static: Fixed/Improved documentation)
 
Line 9: Line 9:


<pre style="width: 175px">{{Grid/Furnace
<pre style="width: 175px">{{Grid/Furnace
|Input=  Sand  |IA= 17
|Input=  Sand
|Output= Glass |OA= 2
|Output= Glass
|Fuel=  Coal   |FA= 3
|Fuel=   Coal
|Break=1
}}
{{Grid/Furnace
|Top= Sand,17
|Output= Glass,2
|Bottom=  Coal,3
}}</pre>
}}</pre>


;produces:
;produces:
{{Grid/Furnace
{{Grid/Furnace
|Input=  Sand       |IA= 17
|Input=  Sand
|Output= Glass       |OA= 2
|Output= Glass
|Fuel=  Coal       |FA= 3
|Fuel=  Coal
|Break=1
}}
{{Grid/Furnace
|Top= Sand,17
|Output= Glass,2
|Bottom=  Coal,3
}}
}}


The IA, OA and FA fields accept 2-99. Using any number lower or leaving it blank will show nothing, using 100 to 109 will only show the last two digits (although this can be utilized to output 01 instead of just 1, for example), using anything higher will only show the last digit.<!-- These are all bugs, it should only go to 64 -->
'''Input''' and '''Fuel''' can be interchanged with '''Top''' and '''Bottom'''. Additional output amounts can be specified by putting a comma then the amount. This number is currently limitless, but it will be limited to 64 as soon as [[User:Chocohead|Chocohead]] gets around to it. '''Break''' is used to not add a new line after the grid, so that they can pack in next to each other.
 
See the [[#Available images|image list]] below for all usable image names.


=== Animated ===
=== Animated ===

Latest revision as of 01:38, 22 February 2015

Template-info.png Documentation

This template uses Lua. In the event of something breaking, script errors, etc, tell Chocohead immediately! It should all be stable however.


This template is used to create a grid that looks similar to the Furnace's GUI screen.

Usage[edit]

Static[edit]

{{Grid/Furnace
|Input=  Sand
|Output= Glass
|Fuel=   Coal
|Break=1
}}
{{Grid/Furnace
|Top=  Sand,17
|Output= Glass,2
|Bottom=   Coal,3
}}
produces
Grid Sand.png
Grid Coal.png
Grid Glass.png
Grid Sand.png

17

Grid Coal.png

3

Grid Glass.png

2


Input and Fuel can be interchanged with Top and Bottom. Additional output amounts can be specified by putting a comma then the amount. This number is currently limitless, but it will be limited to 64 as soon as Chocohead gets around to it. Break is used to not add a new line after the grid, so that they can pack in next to each other.

Animated[edit]

To make the grid animate, you make a list of blocks and objects you want to show, separated by commas.

{{Grid/Furnace
|Input=  Sand,17;Wood,10
|Output= Glass,2;Charcoal,10
|Fuel=   Coal
}}
produces
Grid Sand.png

17

Grid Wood.png

10

Grid Coal.png
Grid Glass.png

2

Grid Charcoal.png

10


See also[edit]

{{Grid/Crafting Table}}

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.